Function at 0x516850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x4c
call fcn.00476080
xor eax, eax
mov dword [esp + 0x44], 0
push ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov edx, dword [ebp]
push esi
xor esi, esi
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 8], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], esi
cmp edx, dword [eax]
je 0x5168da
push 0x9f
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004c6f60
add esp, 0x14
xor eax, eax
pop esi
pop ebp
add esp, 0x4c
ret
push ebx
mov ebx, dword [esp + 0x68]
push edi
mov edi, dword [esp + 0x68]
test edi, edi
jne 0x5168fe
test ebx, ebx
jne 0x5168fe
push eax
push ebp
call fcn.004ef2a0
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x4c
ret
xor ecx, ecx
test ebx, ebx
je 0x516914
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x51696a
inc ecx
cmp ecx, ebx
jb 0x516904
cmp dword [esp + 0x78], esi
jne 0x51692f
call fcn.004dd360
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], eax
test eax, eax
je 0x516ce3
test edi, edi
je 0x516a27
push ebp
call fcn.004bc700
mov ecx, eax
add esp, 4
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x51698f
push 0xb7
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call fcn.004c6f60
add esp, 0x14
jmp 0x516ce3
push 0xa9
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004c6f60
add esp, 0x14
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x4c
ret
mov ebx, dword [ebp + 0x60]
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x516a10
cmp dword [ebx + 8], esi
je 0x516a10
mov eax, dword [ebx + 0x10]
push dword [esp + 0x78]
push dword [eax]
push ecx
push ebp
call fcn.004eebe0
add esp, 0x10
test eax, eax
jne 0x516a10
mov esi, dword [ebx + 4]
push edi
mov dword [esp + 0x30], esi
call fcn.004bd090
xor edx, edx
mov ecx, dword [ebx + 0xc]
div esi
mov edx, dword [ebx + 8]
add esp, 4
lea esi, [eax + 1]
mov eax, 1
cmp esi, edx
cmova esi, edx
dec ecx
shl eax, cl
imul edx, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x4c], eax
cmp dword [ebx + 0x14], edx
je 0x516a23
push 0xd3
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004c6f60
add esp, 0x14
jmp 0x516ce3
mov esi, 1
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0x6c]
lea eax, [esi + ebx]
push 0xe1
lea esi, [eax*4]
mov dword [esp + 0x1c], eax
push str.....openssl_1.1.0fcryptoecec_mult.c
push esi
call fcn.004b9970
push 0xe2
push str.....openssl_1.1.0fcryptoecec_mult.c
push esi
mov dword [esp + 0x34], eax
call fcn.004b9970
push 0xe3
lea ecx, [esi + 4]
mov dword [esp + 0x3c], eax
push str.....openssl_1.1.0fcryptoecec_mult.c
push ecx
call fcn.004b9970
push 0xe5
mov ebx, eax
push str.....openssl_1.1.0fcryptoecec_mult.c
push esi
mov dword [esp + 0x58], ebx
call fcn.004b9970
add esp, 0x30
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x516a97
mov dword [ebx], 0
cmp dword [esp + 0x1c], 0
je 0x51728f
cmp dword [esp + 0x20], 0
je 0x51728f
test ebx, ebx
je 0x51728f
test eax, eax
je 0x51728f
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x3c], 0
lea edx, [eax + ecx]
mov dword [esp + 0x38], edx
test edx, edx
je 0x516bca
mov edx, dword [esp + 0x1c]
mov edi, edx
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
sub eax, edx
mov dword [esp + 0x48], eax
sub esi, edx
mov eax, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x58], eax
cmp ebx, ecx
jae 0x516b0b
push dword [esi + edi]
jmp 0x516b0f
push dword [esp + 0x68]
call fcn.004bd090
add esp, 4
cmp eax, 0x7d0
jb 0x516b25
mov ecx, 6
jmp 0x516b55
cmp eax, 0x320
jb 0x516b33
mov ecx, 5
jmp 0x516b55
cmp eax, 0x12c
jb 0x516b41
mov ecx, 4
jmp 0x516b55
cmp eax, 0x46
jb 0x516b4d
mov ecx, 3
jmp 0x516b55
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [edi], ecx
mov eax, 1
dec ecx
shl eax, cl
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov dword [eax + edi + 4], 0
cmp ebx, dword [esp + 0x6c]
jae 0x516b7a
mov eax, dword [esi + edi]
jmp 0x516b7e
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.004df110
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x516ce3
mov ecx, dword [esp + 0x24]
cmp dword [esi], ecx
cmova ecx, dword [esi]
inc ebx
mov esi, dword [esp + 0x74]
add edi, 4
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x6c]
cmp ebx, dword [esp + 0x38]
jb 0x516b02
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x10], 0
je 0x516f39
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x516c06
cmp eax, 1
je 0x516f39
push 0x10a
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004c6f60
add esp, 0x14
jmp 0x516ce3
mov dword [esp + 0x30], 0
test eax, eax
je 0x516c32
push 0x113
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004c6f60
add esp, 0x14
jmp 0x516ce3
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
mov dword [edx + ecx*4], eax
lea ecx, [esp + 0x30]
push ecx
push eax
push edi
call fcn.004df110
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x516ce3
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x24]
ja 0x516c93
mov edx, dword [esp + 0x6c]
lea eax, [edx + 1]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [eax + edx*4], ebx
mov dword [eax + edx*4 + 4], 0
mov eax, dword [esp + 0x20]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov dword [ecx + edx*4], eax
jmp 0x516f39
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
imul eax, edi
cmp ecx, eax
jae 0x516dc2
lea eax, [edi - 1]
xor edx, edx
add eax, ecx
div edi
cmp eax, dword [esi + 8]
jbe 0x516db6
push 0x13e
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004c6f60
push 0x13f
push str.....openssl_1.1.0fcryptoecec_mult.c
push ebx
call fcn.004b99a0
add esp, 0x20
xor ebx, ebx
xor ebp, ebp
push dword [esp + 0x54]
call fcn.004dd2c0
push dword [esp + 0x48]
call fcn.004eed30
push 0x1e8
push str.....openssl_1.1.0fcryptoecec_mult.c
push dword [esp + 0x2c]
call fcn.004b99a0
push 0x1e9
push str.....openssl_1.1.0fcryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.004b99a0
mov edi, dword [esp + 0x48]
add esp, 0x20
test edi, edi
je 0x516d62
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x516d4f
push 0x1ee
push str.....openssl_1.1.0fcryptoecec_mult.c
push eax
call fcn.004b99a0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 0xc
test eax, eax
jne 0x516d32
push 0x1f0
push str.....openssl_1.1.0fcryptoecec_mult.c
push edi
call fcn.004b99a0
add esp, 0xc
test ebx, ebx
je 0x516d96
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x516d83
nop
push eax
call fcn.004eeba0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x516d70
push 0x1f6
push str.....openssl_1.1.0fcryptoecec_mult.c
push ebx
call fcn.004b99a0
add esp, 0xc
push 0x1f8
push str.....openssl_1.1.0fcryptoecec_mult.c
push dword [esp + 0x1c]
call fcn.004b99a0
add esp, 0xc
mov eax, ebp
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x4c
ret
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x18], eax
jmp 0x516dca
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov edi, edx
mov ebx, dword [esi + 0x10]
cmp edx, eax
jae 0x516f23
mov ebp, dword [esp + 0x20]
lea esi, [edx*4]
mov edx, dword [esp + 0x28]
add esi, ebp
mov eax, dword [esp + 0x14]
sub edx, ebp
sub eax, ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], eax
nop dword [eax]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x60]
dec eax
cmp edi, eax
jae 0x516e23
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
cmp ecx, eax
jb 0x516ea2
sub ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x516e25
mov dword [esi], ecx
push 0x15a
mov dword [edx + esi + 4], 0
push str.....openssl_1.1.0fcryptoecec_mult.c
push dword [esi]
call fcn.004b9970
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x516ef8
push dword [esi]
push dword [esp + 0x14]
push eax
call fcn.0048c610
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [esi], ecx
cmova ecx, dword [esi]
cmp dword [ebx], 0
mov dword [esp + 0x24], ecx
je 0x516ecd
mov eax, dword [esp + 0x58]
inc edi
mov dword [eax + esi], ebx
add esi, 4
mov eax, dword [esp + 0x4c]
lea ebx, [ebx + eax*4]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp edi, dword [esp + 0x18]
jae 0x516f23
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
jmp 0x516e00
push 0x14d
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004c6f60
push 0x14e
push str.....openssl_1.1.0fcryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x516cdb
push 0x165
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004c6f60
push 0x166
push str.....openssl_1.1.0fcryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x516cdb
push 0x15c
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004c6f60
push 0x15d
push str.....openssl_1.1.0fcryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x516cdb
push 0x16d
push str.....openssl_1.1.0fcryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.004b99a0
add esp, 0xc
mov ebx, dword [esp + 0x3c]
push 0x177
push str.....openssl_1.1.0fcryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.004b9970
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x516f85
push 0x179
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004c6f60
add esp, 0x14
mov ebx, dword [esp + 0x10]
jmp 0x516ce5
mov edi, dword [esp + 0x38]
lea eax, [ecx + ebx*4]
xor edx, edx
mov dword [esp + 0x48], eax
mov dword [eax], 0
mov esi, ecx
mov dword [esp + 0x4c], edx
test edi, edi
je 0x517000
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
sub eax, ebx
mov dword [esp + 0x58], eax
mov dword [eax + ebx], esi
xor edi, edi
mov ecx, dword [ebx]
mov eax, 1
dec ecx
shl eax, cl
test eax, eax
je 0x516fe8
push ebp
call fcn.004ef040
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x516f7c
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x516fc3
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x58]
add ebx, 4
mov dword [esp + 0x4c], edx
cmp edx, edi
jb 0x516fb0
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x517015
push 0x18a
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x44
jmp 0x516f6d
push ebp
call fcn.004ef040
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
je 0x516f7c
xor ebx, ebx
test edi, edi
je 0x5170fc
mov ecx, dword [esp + 0x14]
mov edi, ecx
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x1c]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x34], esi
nop
cmp ebx, dword [esp + 0x6c]
jae 0x51705b
push dword [eax + edi]
jmp 0x51705f
push dword [esp + 0x50]
mov eax, dword [edi]
push dword [eax]
call fcn.004eec50
add esp, 8
test eax, eax
je 0x516f7c
cmp dword [esi + edi], 1
jbe 0x5170ea
mov eax, dword [edi]
push dword [esp + 0x78]
push dword [eax]
push dword [esp + 0x4c]
push ebp
call fcn.004eecc0
add esp, 0x10
test eax, eax
je 0x516f7c
mov ecx, dword [esp + 0x34]
mov esi, 1
mov eax, esi
mov ecx, dword [ecx + edi]
dec ecx
shl eax, cl
cmp eax, esi
jbe 0x5170e6
nop dword [eax + eax]
push dword [esp + 0x78]
mov eax, dword [edi]
push dword [esp + 0x48]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebp
call fcn.004eeb20
add esp, 0x14
test eax, eax
je 0x516f7c
mov eax, dword [esp + 0x34]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x5170b0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x70]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x38]
jb 0x517050
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x10]
push edi
push ebx
push dword [esp + 0x44]
push ebp
call fcn.004ef300
add esp, 0x10
test eax, eax
je 0x516ce5
mov ecx, dword [esp + 0x24]
mov ebx, 1
sub ecx, ebx
mov dword [esp + 0x24], ecx
js 0x51726c
jmp 0x517136
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test ebx, ebx
jne 0x517156
push edi
push esi
push esi
push ebp
call fcn.004eecc0
add esp, 0x10
test eax, eax
je 0x516f7c
mov ecx, dword [esp + 0x24]
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jbe 0x517241
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
sub edx, eax
mov edi, dword [esp + 0x14]
sub eax, edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], eax
nop word [eax + eax]
add eax, edi
cmp dword [eax + edx], ecx
jbe 0x51722b
mov eax, dword [eax]
movsx ecx, byte [ecx + eax]
test ecx, ecx
je 0x517227
mov eax, ecx
mov esi, ecx
shr eax, 0x1f
neg esi
test eax, eax
cmove esi, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
je 0x5171de
test ebx, ebx
jne 0x5171d3
push dword [esp + 0x78]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.004eee40
add esp, 0xc
test eax, eax
je 0x516f7c
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x40], eax
mov eax, dword [edi]
sar esi, 1
test ebx, ebx
je 0x517202
push dword [eax + esi*4]
mov esi, dword [esp + 0x68]
push esi
call fcn.004eec50
add esp, 8
test eax, eax
je 0x516f7c
xor ebx, ebx
jmp 0x517223
push dword [esp + 0x78]
push dword [eax + esi*4]
mov esi, dword [esp + 0x6c]
push esi
push esi
push dword [esp + 0x70]
call fcn.004eeb20
add esp, 0x14
test eax, eax
je 0x516f7c
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x18]
jb 0x517180
mov edi, dword [esp + 0x78]
sub ecx, 1
mov dword [esp + 0x24], ecx
jns 0x517132
test ebx, ebx
jne 0x517268
cmp dword [esp + 0x40], ebx
je 0x517281
push edi
push esi
push dword [esp + 0x68]
call fcn.004eee40
add esp, 0xc
jmp 0x517279
mov ebp, dword [esp + 0x60]
push dword [esp + 0x64]
push ebp
call fcn.004ef2a0
add esp, 8
test eax, eax
je 0x516f7c
mov ebx, dword [esp + 0x10]
mov ebp, 1
jmp 0x516ce7
push 0xec
push str.....openssl_1.1.0fcryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004c6f60
add esp, 0x14
jmp 0x516ce3