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

Disassembly:
mov eax, 0x4c
call fcn.00584ea0
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 0x5289d2
push esi
push esi
push 0x65
push 0xbb
push 0x10
call fcn.004e0f80
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 0x5289f6
test ebx, ebx
jne 0x5289f6
push eax
push ebp
call fcn.004fe4d0
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x4c
ret
xor ecx, ecx
test ebx, ebx
je 0x528a10
nop dword [eax]
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x528a5e
inc ecx
cmp ecx, ebx
jb 0x528a00
cmp dword [esp + 0x78], esi
jne 0x528a2b
call fcn.004d82d0
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], eax
test eax, eax
je 0x528dbd
test edi, edi
je 0x528b0f
push ebp
call fcn.004e8690
mov ecx, eax
add esp, 4
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x528a7d
push eax
push eax
push 0x71
push 0xbb
push 0x10
call fcn.004e0f80
add esp, 0x14
jmp 0x528dbd
push 0
push 0
push 0x65
push 0xbb
push 0x10
call fcn.004e0f80
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 0x528af8
cmp dword [ebx + 8], esi
je 0x528af8
mov eax, dword [ebx + 0x10]
push dword [esp + 0x78]
push dword [eax]
push ecx
push ebp
call fcn.004fded0
add esp, 0x10
test eax, eax
jne 0x528af8
mov esi, dword [ebx + 4]
push edi
mov dword [esp + 0x30], esi
call fcn.004da860
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 0x528b0b
push 0
push 0
push 0x44
push 0xbb
push 0x10
call fcn.004e0f80
add esp, 0x14
jmp 0x528dbd
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.004d9aa0
push 0xe2
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x34], eax
call fcn.004d9aa0
push 0xe3
lea ecx, [esi + 4]
mov dword [esp + 0x3c], eax
push str.cryptoecec_mult.c
push ecx
call fcn.004d9aa0
push 0xe5
mov ebx, eax
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x58], ebx
call fcn.004d9aa0
add esp, 0x30
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x528b7f
mov dword [ebx], 0
cmp dword [esp + 0x1c], 0
je 0x52934f
cmp dword [esp + 0x20], 0
je 0x52934f
test ebx, ebx
je 0x52934f
test eax, eax
je 0x52934f
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 0x528cb8
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 0x528bf9
push dword [esi + edi]
jmp 0x528bfd
push dword [esp + 0x68]
call fcn.004da860
add esp, 4
cmp eax, 0x7d0
jb 0x528c13
mov ecx, 6
jmp 0x528c43
cmp eax, 0x320
jb 0x528c21
mov ecx, 5
jmp 0x528c43
cmp eax, 0x12c
jb 0x528c2f
mov ecx, 4
jmp 0x528c43
cmp eax, 0x46
jb 0x528c3b
mov ecx, 3
jmp 0x528c43
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 0x528c68
mov eax, dword [esi + edi]
jmp 0x528c6c
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.005184d0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x528dbd
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 0x528bf0
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x10], 0
je 0x529007
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x528cec
cmp eax, 1
je 0x529007
push esi
push esi
push 0x44
push 0xbb
push 0x10
call fcn.004e0f80
add esp, 0x14
jmp 0x528dbd
mov dword [esp + 0x30], 0
test eax, eax
je 0x528d12
push 0
push 0
push 0x44
push 0xbb
push 0x10
call fcn.004e0f80
add esp, 0x14
jmp 0x528dbd
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.005184d0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x528dbd
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x24]
ja 0x528d73
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 0x529007
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
imul eax, edi
cmp ecx, eax
jae 0x528ea2
lea eax, [edi - 1]
xor edx, edx
add eax, ecx
div edi
cmp eax, dword [esi + 8]
jbe 0x528e96
push 0
push 0
push 0x44
push 0xbb
push 0x10
call fcn.004e0f80
push 0x13f
push str.cryptoecec_mult.c
push ebx
call fcn.004d9ad0
add esp, 0x20
xor ebx, ebx
xor ebp, ebp
push dword [esp + 0x54]
call fcn.004d8230
push dword [esp + 0x48]
call fcn.004fdff0
push 0x1e8
push str.cryptoecec_mult.c
push dword [esp + 0x2c]
call fcn.004d9ad0
push 0x1e9
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.004d9ad0
mov edi, dword [esp + 0x48]
add esp, 0x20
test edi, edi
je 0x528e40
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x528e2d
nop dword [eax]
push 0x1ee
push str.cryptoecec_mult.c
push eax
call fcn.004d9ad0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 0xc
test eax, eax
jne 0x528e10
push 0x1f0
push str.cryptoecec_mult.c
push edi
call fcn.004d9ad0
add esp, 0xc
test ebx, ebx
je 0x528e76
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x528e63
nop dword [eax]
push eax
call fcn.004fde90
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x528e50
push 0x1f6
push str.cryptoecec_mult.c
push ebx
call fcn.004d9ad0
add esp, 0xc
push 0x1f8
push str.cryptoecec_mult.c
push dword [esp + 0x1c]
call fcn.004d9ad0
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 0x528eaa
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 0x528ff1
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 0x528f03
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
cmp ecx, eax
jb 0x528f82
sub ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x528f05
mov dword [esi], ecx
push 0x15a
mov dword [edx + esi + 4], 0
push str.cryptoecec_mult.c
push dword [esi]
call fcn.004d9aa0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x528fcc
push dword [esi]
push dword [esp + 0x14]
push eax
call fcn.00586440
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 0x528fa7
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 0x528ff1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
jmp 0x528ee0
push 0
push 0
push 0x44
push 0xbb
push 0x10
call fcn.004e0f80
push 0x14e
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x528db5
push 0
push 0
push 0x44
push 0xbb
push 0x10
call fcn.004e0f80
push 0x166
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x528db5
push 0
push 0
push 0x41
push 0xbb
push 0x10
call fcn.004e0f80
push 0x15d
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x528db5
push 0x16d
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.004d9ad0
add esp, 0xc
mov ebx, dword [esp + 0x3c]
push 0x177
push str.cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.004d9aa0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x52904b
push eax
push eax
push 0x41
push 0xbb
push 0x10
call fcn.004e0f80
add esp, 0x14
mov ebx, dword [esp + 0x10]
jmp 0x528dbf
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 0x5290cd
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 0x5290b5
nop dword [eax]
push ebp
call fcn.004fe2b0
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x529042
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x529090
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 0x529076
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x5290dc
push 0
push 0
push 0x44
jmp 0x529033
push ebp
call fcn.004fe2b0
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
je 0x529042
xor ebx, ebx
test edi, edi
je 0x5291bc
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 0x529120
push dword [eax + edi]
jmp 0x529124
push dword [esp + 0x50]
mov eax, dword [edi]
push dword [eax]
call fcn.004fdf30
add esp, 8
test eax, eax
je 0x529042
cmp dword [esi + edi], 1
jbe 0x5291aa
mov eax, dword [edi]
push dword [esp + 0x78]
push dword [eax]
push dword [esp + 0x4c]
push ebp
call fcn.004fdf90
add esp, 0x10
test eax, eax
je 0x529042
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 0x5291a6
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.004fde20
add esp, 0x14
test eax, eax
je 0x529042
mov eax, dword [esp + 0x34]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x529170
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x70]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x38]
jb 0x529115
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x10]
push edi
push ebx
push dword [esp + 0x44]
push ebp
call fcn.004fe520
add esp, 0x10
test eax, eax
je 0x528dbf
mov ecx, dword [esp + 0x24]
mov ebx, 1
sub ecx, ebx
mov dword [esp + 0x24], ecx
js 0x52932c
jmp 0x5291f6
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test ebx, ebx
jne 0x529216
push edi
push esi
push esi
push ebp
call fcn.004fdf90
add esp, 0x10
test eax, eax
je 0x529042
mov ecx, dword [esp + 0x24]
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jbe 0x529301
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 0x5292eb
mov eax, dword [eax]
movsx ecx, byte [ecx + eax]
test ecx, ecx
je 0x5292e7
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 0x52929e
test ebx, ebx
jne 0x529293
push dword [esp + 0x78]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.004fe0e0
add esp, 0xc
test eax, eax
je 0x529042
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 0x5292c2
push dword [eax + esi*4]
mov esi, dword [esp + 0x68]
push esi
call fcn.004fdf30
add esp, 8
test eax, eax
je 0x529042
xor ebx, ebx
jmp 0x5292e3
push dword [esp + 0x78]
push dword [eax + esi*4]
mov esi, dword [esp + 0x6c]
push esi
push esi
push dword [esp + 0x70]
call fcn.004fde20
add esp, 0x14
test eax, eax
je 0x529042
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 0x529240
mov edi, dword [esp + 0x78]
sub ecx, 1
mov dword [esp + 0x24], ecx
jns 0x5291f2
test ebx, ebx
jne 0x529328
cmp dword [esp + 0x40], ebx
je 0x529341
push edi
push esi
push dword [esp + 0x68]
call fcn.004fe0e0
add esp, 0xc
jmp 0x529339
mov ebp, dword [esp + 0x60]
push dword [esp + 0x64]
push ebp
call fcn.004fe4d0
add esp, 8
test eax, eax
je 0x529042
mov ebx, dword [esp + 0x10]
mov ebp, 1
jmp 0x528dc1
push 0
push 0
push 0x41
push 0xbb
push 0x10
call fcn.004e0f80
add esp, 0x14
jmp 0x528dbd