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

Disassembly:
mov eax, 0x50
call fcn.004ed940
xor eax, eax
mov dword [esp + 0x40], 0
push ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [ebp]
push esi
xor esi, esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
cmp edx, dword [eax]
je 0x5200ee
push 0x16c
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004f0540
add esp, 0x14
xor eax, eax
pop esi
pop ebp
add esp, 0x50
ret
push ebx
mov ebx, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x6c]
test edi, edi
jne 0x520112
test ebx, ebx
jne 0x520112
push eax
push ebp
call fcn.00505e50
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x50
ret
xor ecx, ecx
test ebx, ebx
je 0x520130
nop dword [eax + eax]
mov eax, dword [esp + 0x74]
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x520188
inc ecx
cmp ecx, ebx
jb 0x520120
cmp dword [esp + 0x7c], esi
jne 0x52014b
call fcn.0051f250
mov dword [esp + 0x50], eax
mov dword [esp + 0x7c], eax
test eax, eax
je 0x5206ed
test edi, edi
je 0x520250
push ebp
call fcn.00505170
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
test esi, esi
jne 0x5201ad
push 0x184
push str..cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call fcn.004f0540
add esp, 0x14
xor ebx, ebx
jmp 0x520647
push 0x176
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004f0540
add esp, 0x14
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x50
ret
push 0x51fed0
push fcn.0051ff70
push 0x51ff40
push dword [ebp + 0x44]
call fcn.00504a80
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x40], ebx
test ebx, ebx
je 0x520239
cmp dword [ebx + 8], 0
je 0x520239
mov ecx, dword [ebx + 0x10]
push dword [esp + 0x7c]
push dword [ecx]
push esi
push ebp
call fcn.00505720
add esp, 0x10
test eax, eax
jne 0x520239
mov esi, dword [ebx + 4]
push edi
mov dword [esp + 0x1c], esi
call fcn.00508e90
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 + 0x14], esi
mov dword [esp + 0x48], eax
cmp dword [ebx + 0x14], edx
je 0x52024c
push 0x1a3
push str..cryptoecec_mult.c
push 0x44
jmp 0x520172
mov esi, 1
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esi
mov ebx, dword [esp + 0x70]
lea eax, [esi + ebx]
push 0x1b1
lea esi, [eax*4]
mov dword [esp + 0x30], eax
push str..cryptoecec_mult.c
push esi
call fcn.004f60a0
push 0x1b2
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x3c], eax
call fcn.004f60a0
push 0x1b3
lea ecx, [esi + 4]
mov dword [esp + 0x38], eax
push str..cryptoecec_mult.c
push ecx
call fcn.004f60a0
push 0x1b5
mov ebx, eax
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x40], ebx
call fcn.004f60a0
add esp, 0x30
mov dword [esp + 0x20], eax
test ebx, ebx
je 0x5202c0
mov dword [ebx], 0
cmp dword [esp + 0x24], 0
je 0x520a32
cmp dword [esp + 0x1c], 0
je 0x520a32
test ebx, ebx
je 0x520a32
test eax, eax
je 0x520a32
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x38], 0
lea edx, [eax + ecx]
mov dword [esp + 0x34], edx
test edx, edx
je 0x5203f8
mov edx, dword [esp + 0x24]
mov edi, edx
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x78]
sub eax, edx
mov dword [esp + 0x44], eax
sub esi, edx
mov eax, dword [esp + 0x1c]
sub eax, edx
mov dword [esp + 0x78], esi
mov dword [esp + 0x58], eax
nop dword [eax + eax]
cmp ebx, ecx
jae 0x520339
push dword [esi + edi]
jmp 0x52033d
push dword [esp + 0x6c]
call fcn.00508e90
add esp, 4
cmp eax, 0x7d0
jb 0x520353
mov ecx, 6
jmp 0x520383
cmp eax, 0x320
jb 0x520361
mov ecx, 5
jmp 0x520383
cmp eax, 0x12c
jb 0x52036f
mov ecx, 4
jmp 0x520383
cmp eax, 0x46
jb 0x52037b
mov ecx, 3
jmp 0x520383
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [edi], ecx
mov eax, 1
dec ecx
shl eax, cl
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [eax + edi + 4], 0
cmp ebx, dword [esp + 0x70]
jae 0x5203a8
mov eax, dword [esi + edi]
jmp 0x5203ac
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.0051fcf0
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x520643
mov ecx, dword [esp + 0x28]
cmp dword [esi], ecx
cmova ecx, dword [esi]
inc ebx
mov esi, dword [esp + 0x78]
add edi, 4
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x70]
cmp ebx, dword [esp + 0x34]
jb 0x520330
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x5205d0
mov ebx, dword [esp + 0x40]
test ebx, ebx
jne 0x520435
cmp eax, 1
je 0x5205d0
push 0x1da
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004f0540
add esp, 0x14
jmp 0x520643
mov dword [esp + 0x44], 0
test eax, eax
je 0x520448
push 0x1e3
jmp 0x52041a
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0xc]
mov dword [edx + ecx*4], eax
lea ecx, [esp + 0x44]
push ecx
push eax
push edi
call fcn.0051fcf0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x520643
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x28]
ja 0x5204a9
mov esi, dword [esp + 0x70]
lea eax, [esi + 1]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [eax + esi*4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + esi*4 + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [eax + esi*4], edi
mov eax, dword [ebx + 0x10]
mov dword [ecx + esi*4], eax
jmp 0x5205d0
mov eax, dword [esp + 0x18]
imul esi, eax
cmp edi, esi
jae 0x5204d9
dec eax
xor edx, edx
add eax, edi
div dword [esp + 0x18]
cmp eax, dword [ebx + 8]
jbe 0x5204cc
push 0x210
jmp 0x52041a
mov esi, dword [esp + 0x70]
lea edx, [eax + esi]
mov dword [esp + 0x2c], edx
jmp 0x5204e1
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x10]
mov ebx, esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
cmp esi, edx
jae 0x5205c7
mov eax, dword [esp + 0x1c]
dec edx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x14], ecx
lea esi, [eax + esi*4]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
nop dword [eax]
cmp ebx, edx
jae 0x520532
mov dword [esi], eax
cmp edi, eax
jb 0x5205b9
sub edi, eax
jmp 0x520534
mov dword [esi], edi
push 0x22a
mov dword [ecx + esi + 4], 0
push str..cryptoecec_mult.c
push dword [esi]
call fcn.004f60a0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x5206f9
push dword [esi]
push dword [esp + 0x44]
push eax
call fcn.0048cb50
mov ecx, dword [esp + 0x34]
add esp, 0xc
cmp dword [esi], ecx
mov eax, dword [esp + 0x44]
cmova ecx, dword [esi]
mov dword [esp + 0x28], ecx
cmp dword [eax], 0
je 0x52061f
mov ecx, dword [esp + 0x58]
inc ebx
mov dword [ecx + esi], eax
add esi, 4
mov ecx, dword [esp + 0x48]
lea eax, [eax + ecx*4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x40], eax
cmp ebx, dword [esp + 0x2c]
jae 0x5205c3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
jmp 0x520520
push 0x21e
jmp 0x52041a
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004f5ec0
add esp, 4
mov ebx, dword [esp + 0x38]
push 0x247
push str..cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.004f60a0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x52070a
push 0x249
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004f0540
mov ebx, dword [esp + 0x24]
add esp, 0x14
xor esi, esi
jmp 0x52064b
push 0x235
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004f0540
push dword [esp + 0x44]
call fcn.004f5ec0
add esp, 0x18
mov ebx, dword [esp + 0x10]
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x50]
test eax, eax
je 0x52065c
push eax
call fcn.0051f190
add esp, 4
test esi, esi
je 0x520669
push esi
call fcn.005058c0
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x52067a
push eax
call fcn.004f5ec0
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x52068b
push eax
call fcn.004f5ec0
add esp, 4
test ebx, ebx
je 0x5206b3
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x5206aa
push eax
call fcn.004f5ec0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x520697
push ebx
call fcn.004f5ec0
add esp, 4
test edi, edi
je 0x5206dc
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x5206d3
nop
push eax
call fcn.005056e0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x5206c0
push edi
call fcn.004f5ec0
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5206ed
push eax
call fcn.004f5ec0
add esp, 4
mov eax, dword [esp + 0x54]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x50
ret
push 0x22c
push str..cryptoecec_mult.c
push 0x41
jmp 0x52062b
lea eax, [edi + ebx*4]
mov esi, edi
xor edx, edx
mov dword [eax], 0
mov edi, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], edx
test edi, edi
je 0x520789
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
sub eax, ebx
mov dword [esp + 0x5c], 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 0x520771
push ebp
call fcn.00505c50
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x520a5f
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x520748
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
inc edx
mov eax, dword [esp + 0x5c]
add ebx, 4
mov dword [esp + 0x48], edx
cmp edx, edi
jb 0x520735
mov eax, dword [esp + 0x58]
cmp esi, eax
je 0x5207b7
push 0x25a
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004f0540
mov ebx, dword [esp + 0x24]
add esp, 0x14
mov edi, dword [esp + 0x14]
xor esi, esi
jmp 0x52064b
push ebp
call fcn.00505c50
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x520a6e
xor ebx, ebx
test edi, edi
je 0x52089c
mov ecx, dword [esp + 0x20]
mov edi, ecx
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x24]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x30], esi
cmp ebx, dword [esp + 0x70]
jae 0x5207fb
push dword [eax + edi]
jmp 0x5207ff
push dword [esp + 0x4c]
mov eax, dword [edi]
push dword [eax]
call fcn.00505790
add esp, 8
test eax, eax
je 0x520a21
cmp dword [esi + edi], 1
jbe 0x52088a
mov eax, dword [edi]
push dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
push dword [eax]
push esi
push ebp
call fcn.00505800
add esp, 0x10
test eax, eax
je 0x520a52
mov ecx, dword [esp + 0x30]
mov esi, 1
mov eax, esi
mov ecx, dword [ecx + edi]
dec ecx
shl eax, cl
cmp eax, esi
jbe 0x520886
nop dword [eax]
push dword [esp + 0x7c]
mov eax, dword [edi]
push dword [esp + 0x1c]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebp
call fcn.00505660
add esp, 0x14
test eax, eax
je 0x520a21
mov eax, dword [esp + 0x30]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x520850
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x34]
jb 0x5207f0
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
push edi
push eax
push dword [esp + 0x40]
push ebp
call fcn.00505eb0
add esp, 0x10
test eax, eax
je 0x520a21
mov ecx, dword [esp + 0x28]
mov ebx, 1
sub ecx, ebx
mov dword [esp + 0x28], ecx
js 0x520a08
jmp 0x5208d6
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
test ebx, ebx
jne 0x5208f6
push edi
push esi
push esi
push ebp
call fcn.00505800
add esp, 0x10
test eax, eax
je 0x520a21
mov ecx, dword [esp + 0x28]
xor ebp, ebp
cmp dword [esp + 0x2c], ebp
jbe 0x5209dd
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
sub edx, eax
mov edi, dword [esp + 0x20]
sub eax, edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x5c], eax
nop word [eax + eax]
add eax, edi
cmp dword [eax + edx], ecx
jbe 0x5209c7
mov eax, dword [eax]
movsx ecx, byte [eax + ecx]
test ecx, ecx
je 0x5209c3
mov eax, ecx
mov esi, ecx
shr eax, 0x1f
neg esi
test eax, eax
cmove esi, ecx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x52097e
test ebx, ebx
jne 0x520973
push dword [esp + 0x7c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.00505a40
add esp, 0xc
test eax, eax
je 0x520a21
mov ecx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
sar esi, 1
test ebx, ebx
je 0x5209a2
push dword [eax + esi*4]
mov esi, dword [esp + 0x6c]
push esi
call fcn.00505790
add esp, 8
test eax, eax
je 0x520a21
xor ebx, ebx
jmp 0x5209bf
push dword [esp + 0x7c]
push dword [eax + esi*4]
mov esi, dword [esp + 0x70]
push esi
push esi
push dword [esp + 0x74]
call fcn.00505660
add esp, 0x14
test eax, eax
je 0x520a21
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x2c]
jb 0x520920
mov edi, dword [esp + 0x7c]
sub ecx, 1
mov dword [esp + 0x28], ecx
jns 0x5208d2
test ebx, ebx
jne 0x520a04
cmp dword [esp + 0x3c], ebx
je 0x520a19
push edi
push esi
push dword [esp + 0x6c]
call fcn.00505a40
add esp, 0xc
jmp 0x520a15
mov ebp, dword [esp + 0x64]
push dword [esp + 0x68]
push ebp
call fcn.00505e50
add esp, 8
test eax, eax
je 0x520a21
mov dword [esp + 0x54], 1
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x52064b
push 0x1bc
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004f0540
add esp, 0x14
jmp 0x520647
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x52064b
mov edi, dword [esp + 0x14]
xor esi, esi
mov ebx, dword [esp + 0x10]
jmp 0x52064b
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x52064b