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

Disassembly:
mov eax, 0x4c
call fcn.00585720
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 0x5292c2
push esi
push esi
push 0x65
push 0xbb
push 0x10
call fcn.004e1850
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 0x5292e6
test ebx, ebx
jne 0x5292e6
push eax
push ebp
call fcn.004fee20
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x4c
ret
xor ecx, ecx
test ebx, ebx
je 0x529300
nop dword [eax]
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x52934e
inc ecx
cmp ecx, ebx
jb 0x5292f0
cmp dword [esp + 0x78], esi
jne 0x52931b
call fcn.004d8ba0
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], eax
test eax, eax
je 0x5296ad
test edi, edi
je 0x5293ff
push ebp
call fcn.00534100
mov ecx, eax
add esp, 4
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x52936d
push eax
push eax
push 0x71
push 0xbb
push 0x10
call fcn.004e1850
add esp, 0x14
jmp 0x5296ad
push 0
push 0
push 0x65
push 0xbb
push 0x10
call fcn.004e1850
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 0x5293e8
cmp dword [ebx + 8], esi
je 0x5293e8
mov eax, dword [ebx + 0x10]
push dword [esp + 0x78]
push dword [eax]
push ecx
push ebp
call fcn.004fe820
add esp, 0x10
test eax, eax
jne 0x5293e8
mov esi, dword [ebx + 4]
push edi
mov dword [esp + 0x30], esi
call fcn.004db130
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 0x5293fb
push 0
push 0
push 0x44
push 0xbb
push 0x10
call fcn.004e1850
add esp, 0x14
jmp 0x5296ad
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.cryptoecec_mult.c
push esi
call fcn.004da370
push 0xe2
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x34], eax
call fcn.004da370
push 0xe3
lea ecx, [esi + 4]
mov dword [esp + 0x3c], eax
push str.cryptoecec_mult.c
push ecx
call fcn.004da370
push 0xe5
mov ebx, eax
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x58], ebx
call fcn.004da370
add esp, 0x30
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x52946f
mov dword [ebx], 0
cmp dword [esp + 0x1c], 0
je 0x529c3f
cmp dword [esp + 0x20], 0
je 0x529c3f
test ebx, ebx
je 0x529c3f
test eax, eax
je 0x529c3f
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 0x5295a8
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
nop word [eax + eax]
cmp ebx, ecx
jae 0x5294e9
push dword [esi + edi]
jmp 0x5294ed
push dword [esp + 0x68]
call fcn.004db130
add esp, 4
cmp eax, 0x7d0
jb 0x529503
mov ecx, 6
jmp 0x529533
cmp eax, 0x320
jb 0x529511
mov ecx, 5
jmp 0x529533
cmp eax, 0x12c
jb 0x52951f
mov ecx, 4
jmp 0x529533
cmp eax, 0x46
jb 0x52952b
mov ecx, 3
jmp 0x529533
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 0x529558
mov eax, dword [esi + edi]
jmp 0x52955c
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.00518de0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x5296ad
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 0x5294e0
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x10], 0
je 0x5298f7
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x5295dc
cmp eax, 1
je 0x5298f7
push esi
push esi
push 0x44
push 0xbb
push 0x10
call fcn.004e1850
add esp, 0x14
jmp 0x5296ad
mov dword [esp + 0x30], 0
test eax, eax
je 0x529602
push 0
push 0
push 0x44
push 0xbb
push 0x10
call fcn.004e1850
add esp, 0x14
jmp 0x5296ad
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.00518de0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x5296ad
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x24]
ja 0x529663
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 0x5298f7
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
imul eax, edi
cmp ecx, eax
jae 0x529792
lea eax, [edi - 1]
xor edx, edx
add eax, ecx
div edi
cmp eax, dword [esi + 8]
jbe 0x529786
push 0
push 0
push 0x44
push 0xbb
push 0x10
call fcn.004e1850
push 0x13f
push str.cryptoecec_mult.c
push ebx
call fcn.004da3a0
add esp, 0x20
xor ebx, ebx
xor ebp, ebp
push dword [esp + 0x54]
call fcn.004d8b00
push dword [esp + 0x48]
call fcn.004fe940
push 0x1e8
push str.cryptoecec_mult.c
push dword [esp + 0x2c]
call fcn.004da3a0
push 0x1e9
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.004da3a0
mov edi, dword [esp + 0x48]
add esp, 0x20
test edi, edi
je 0x529730
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x52971d
nop dword [eax]
push 0x1ee
push str.cryptoecec_mult.c
push eax
call fcn.004da3a0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 0xc
test eax, eax
jne 0x529700
push 0x1f0
push str.cryptoecec_mult.c
push edi
call fcn.004da3a0
add esp, 0xc
test ebx, ebx
je 0x529766
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x529753
nop dword [eax]
push eax
call fcn.004fe7e0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x529740
push 0x1f6
push str.cryptoecec_mult.c
push ebx
call fcn.004da3a0
add esp, 0xc
push 0x1f8
push str.cryptoecec_mult.c
push dword [esp + 0x1c]
call fcn.004da3a0
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 0x52979a
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 0x5298e1
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 0x5297f3
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
cmp ecx, eax
jb 0x529872
sub ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x5297f5
mov dword [esi], ecx
push 0x15a
mov dword [edx + esi + 4], 0
push str.cryptoecec_mult.c
push dword [esi]
call fcn.004da370
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x5298bc
push dword [esi]
push dword [esp + 0x14]
push eax
call fcn.00586cd0
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 0x529897
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 0x5298e1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
jmp 0x5297d0
push 0
push 0
push 0x44
push 0xbb
push 0x10
call fcn.004e1850
push 0x14e
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x5296a5
push 0
push 0
push 0x44
push 0xbb
push 0x10
call fcn.004e1850
push 0x166
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x5296a5
push 0
push 0
push 0x41
push 0xbb
push 0x10
call fcn.004e1850
push 0x15d
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x5296a5
push 0x16d
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.004da3a0
add esp, 0xc
mov ebx, dword [esp + 0x3c]
push 0x177
push str.cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.004da370
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x52993b
push eax
push eax
push 0x41
push 0xbb
push 0x10
call fcn.004e1850
add esp, 0x14
mov ebx, dword [esp + 0x10]
jmp 0x5296af
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 0x5299bd
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 0x5299a5
nop dword [eax]
push ebp
call fcn.004fec00
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x529932
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x529980
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 0x529966
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x5299cc
push 0
push 0
push 0x44
jmp 0x529923
push ebp
call fcn.004fec00
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
je 0x529932
xor ebx, ebx
test edi, edi
je 0x529aac
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
cmp ebx, dword [esp + 0x6c]
jae 0x529a10
push dword [eax + edi]
jmp 0x529a14
push dword [esp + 0x50]
mov eax, dword [edi]
push dword [eax]
call fcn.004fe880
add esp, 8
test eax, eax
je 0x529932
cmp dword [esi + edi], 1
jbe 0x529a9a
mov eax, dword [edi]
push dword [esp + 0x78]
push dword [eax]
push dword [esp + 0x4c]
push ebp
call fcn.004fe8e0
add esp, 0x10
test eax, eax
je 0x529932
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 0x529a96
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.004fe770
add esp, 0x14
test eax, eax
je 0x529932
mov eax, dword [esp + 0x34]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x529a60
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x70]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x38]
jb 0x529a05
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x10]
push edi
push ebx
push dword [esp + 0x44]
push ebp
call fcn.004fee70
add esp, 0x10
test eax, eax
je 0x5296af
mov ecx, dword [esp + 0x24]
mov ebx, 1
sub ecx, ebx
mov dword [esp + 0x24], ecx
js 0x529c1c
jmp 0x529ae6
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test ebx, ebx
jne 0x529b06
push edi
push esi
push esi
push ebp
call fcn.004fe8e0
add esp, 0x10
test eax, eax
je 0x529932
mov ecx, dword [esp + 0x24]
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jbe 0x529bf1
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 0x529bdb
mov eax, dword [eax]
movsx ecx, byte [ecx + eax]
test ecx, ecx
je 0x529bd7
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 0x529b8e
test ebx, ebx
jne 0x529b83
push dword [esp + 0x78]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.004fea30
add esp, 0xc
test eax, eax
je 0x529932
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 0x529bb2
push dword [eax + esi*4]
mov esi, dword [esp + 0x68]
push esi
call fcn.004fe880
add esp, 8
test eax, eax
je 0x529932
xor ebx, ebx
jmp 0x529bd3
push dword [esp + 0x78]
push dword [eax + esi*4]
mov esi, dword [esp + 0x6c]
push esi
push esi
push dword [esp + 0x70]
call fcn.004fe770
add esp, 0x14
test eax, eax
je 0x529932
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 0x529b30
mov edi, dword [esp + 0x78]
sub ecx, 1
mov dword [esp + 0x24], ecx
jns 0x529ae2
test ebx, ebx
jne 0x529c18
cmp dword [esp + 0x40], ebx
je 0x529c31
push edi
push esi
push dword [esp + 0x68]
call fcn.004fea30
add esp, 0xc
jmp 0x529c29
mov ebp, dword [esp + 0x60]
push dword [esp + 0x64]
push ebp
call fcn.004fee20
add esp, 8
test eax, eax
je 0x529932
mov ebx, dword [esp + 0x10]
mov ebp, 1
jmp 0x5296b1
push 0
push 0
push 0x41
push 0xbb
push 0x10
call fcn.004e1850
add esp, 0x14
jmp 0x5296ad