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

Disassembly:
mov eax, 0x5c
call fcn.005a0b40
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
push ebp
mov ebp, dword [esp + 0x64]
mov eax, dword [ebp]
push esi
push edi
xor edi, edi
xor esi, esi
cmp eax, edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x60], edi
je 0x530916
push 0x160
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004fb040
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x5c
ret
cmp dword [esp + 0x74], edi
push ebx
mov ebx, dword [esp + 0x7c]
jne 0x530937
cmp ebx, edi
jne 0x530937
push ecx
push ebp
call fcn.005254a0
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret
mov edx, dword [esp + 0x80]
xor ecx, ecx
cmp ebx, edi
jbe 0x530955
mov ebp, dword [edx + ecx*4]
cmp eax, dword [ebp]
jne 0x5309b3
inc ecx
cmp ecx, ebx
jb 0x530944
mov ebp, dword [esp + 0x70]
cmp dword [esp + 0x88], edi
jne 0x530976
call fcn.00515700
cmp eax, edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x88], eax
je 0x53127f
cmp dword [esp + 0x78], edi
je 0x530a86
push ebp
call fcn.00513060
mov esi, eax
add esp, 4
cmp esi, edi
mov dword [esp + 0x58], esi
jne 0x5309d8
push 0x17e
push str..cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call fcn.004fb040
add esp, 0x14
jmp 0x5311d2
push 0x16d
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004fb040
add esp, 0x14
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x44]
push 0x530670
push fcn.00530610
push 0x5305f0
push ecx
call fcn.00525190
mov ebp, eax
add esp, 0x10
cmp ebp, edi
mov dword [esp + 0x40], ebp
je 0x530a75
cmp dword [ebp + 8], edi
je 0x530a75
mov edx, dword [esp + 0x88]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x74]
push ecx
push esi
push edx
call fcn.00525ae0
add esp, 0x10
test eax, eax
jne 0x530a75
mov eax, dword [esp + 0x78]
mov esi, dword [ebp + 4]
push eax
mov dword [esp + 0x48], esi
call fcn.0050fcf0
xor edx, edx
div esi
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
inc esi
cmp esi, eax
mov dword [esp + 0x2c], esi
jbe 0x530a52
mov esi, eax
mov dword [esp + 0x2c], esi
mov ecx, dword [ebp + 0xc]
dec ecx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x14]
imul eax, edx
cmp ecx, eax
mov dword [esp + 0x54], edx
je 0x530a86
push 0x197
jmp 0x530f00
mov esi, 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], esi
lea eax, [esi + ebx]
push 0x1a6
lea esi, [eax*4]
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x20], eax
call fcn.004fc2a0
push 0x1a7
mov ebp, eax
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x50], ebp
call fcn.004fc2a0
push 0x1a8
lea ecx, [esi + 4]
push str..cryptoecec_mult.c
push ecx
mov dword [esp + 0x3c], eax
call fcn.004fc2a0
push 0x1a9
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x4c], eax
call fcn.004fc2a0
add esp, 0x30
cmp ebp, edi
mov dword [esp + 0x20], eax
je 0x5311d2
cmp dword [esp + 0x18], edi
je 0x5311d2
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x5311d2
cmp eax, edi
je 0x5311d2
mov edx, dword [esp + 0x3c]
lea eax, [edx + ebx]
cmp eax, edi
mov dword [ecx], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], eax
jbe 0x530c2f
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, ebp
sub edi, ebp
sub eax, ebp
mov esi, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], eax
jmp 0x530b5c
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x78]
jae 0x530b6c
mov eax, dword [ecx + esi]
push eax
jmp 0x530b6d
push ebp
call fcn.0050fcf0
add esp, 4
cmp eax, 0x7d0
jb 0x530b83
mov eax, 6
jmp 0x530bb3
cmp eax, 0x320
jb 0x530b91
mov eax, 5
jmp 0x530bb3
cmp eax, 0x12c
jb 0x530b9f
mov eax, 4
jmp 0x530bb3
cmp eax, 0x46
jb 0x530bab
mov eax, 3
jmp 0x530bb3
cmp eax, 0x14
sbb eax, eax
add eax, 2
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x34]
mov dword [esi], eax
mov eax, dword [esp + 0x10]
add ecx, edx
cmp eax, ebx
mov dword [esp + 0x34], ecx
mov dword [edi + esi + 4], 0
jae 0x530be2
mov eax, dword [esp + 0x24]
mov eax, dword [eax + esi]
jmp 0x530be4
mov eax, ebp
mov ecx, dword [esp + 0x68]
mov edi, dword [esi]
lea ebp, [ecx + esi]
push ebp
push eax
call fcn.005306f0
mov edx, dword [esp + 0x58]
add esp, 8
test eax, eax
mov dword [edx + esi], eax
je 0x5311d2
mov ebp, dword [ebp]
cmp ebp, dword [esp + 0x28]
jbe 0x530c13
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x530b54
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x530dfa
mov esi, dword [esp + 0x40]
test esi, esi
mov eax, dword [esp + 0x3c]
jne 0x530c5a
cmp eax, 1
je 0x530dfa
push 0x1ca
jmp 0x530f00
test eax, eax
mov dword [esp + 0x24], 0
je 0x530c70
push 0x1d6
jmp 0x530f00
mov ecx, dword [esp + 0x78]
mov edi, dword [esi + 0xc]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [ebp + ebx*4], edi
call fcn.005306f0
mov ecx, eax
add esp, 8
test ecx, ecx
mov dword [esp + 0x3c], ecx
je 0x5311d2
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
ja 0x530ccd
lea edx, [ebx + 1]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
mov dword [edx + ebx*4], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + ebx*4 + 4], 0
mov dword [ecx + ebx*4], eax
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x20]
mov dword [eax + ebx*4], edx
jmp 0x530dfa
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
imul edx, edi
cmp eax, edx
jae 0x530cf9
xor edx, edx
lea eax, [eax + edi - 1]
div edi
cmp eax, dword [esi + 8]
jbe 0x530cf3
push 0x1fe
jmp 0x530f00
add eax, ebx
mov dword [esp + 0x14], eax
cmp ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov ebp, dword [edx + 0x10]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], ebx
jae 0x530ded
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
lea ebx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
dec eax
cmp ecx, eax
jae 0x530d58
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
mov dword [ebx], eax
jb 0x530e59
sub ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x530d5e
mov edx, dword [esp + 0x24]
mov dword [ebx], edx
mov esi, dword [esp + 0x68]
push 0x21a
mov dword [esi + ebx + 4], 0
mov eax, dword [ebx]
push str..cryptoecec_mult.c
push eax
call fcn.004fc2a0
add esp, 0xc
test eax, eax
mov dword [esi + ebx], eax
je 0x530e63
mov ecx, dword [ebx]
mov edx, dword [esp + 0x50]
mov edi, eax
mov eax, ecx
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
cmp eax, dword [esp + 0x28]
jbe 0x530dae
mov dword [esp + 0x28], eax
cmp dword [ebp], 0
je 0x530e75
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x44]
mov dword [ecx + ebx], ebp
mov ecx, dword [esp + 0x14]
lea ebp, [ebp + eax*4]
mov eax, dword [esp + 0x10]
add edx, edi
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x10], eax
jb 0x530d31
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004fc460
mov ebp, dword [esp + 0x3c]
add esp, 4
mov eax, dword [esp + 0x34]
push 0x236
lea ecx, [eax*4 + 4]
push str..cryptoecec_mult.c
push ecx
call fcn.004fc2a0
add esp, 0xc
test eax, eax
mov dword [esp + 0x4c], eax
je 0x5311d2
mov edx, dword [esp + 0x34]
lea ecx, [eax + edx*4]
mov esi, eax
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x54], ecx
mov dword [ecx], 0
mov dword [esp + 0x10], 0
jbe 0x530ef7
mov eax, dword [esp + 0x20]
sub eax, ebp
mov edi, ebp
mov dword [esp + 0x68], eax
jmp 0x530ea3
push 0x20f
jmp 0x530f00
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004fc460
add esp, 4
jmp 0x5311d2
push 0x226
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004fb040
mov edx, dword [esp + 0x50]
push edx
call fcn.004fc460
add esp, 0x18
jmp 0x5311d2
mov eax, dword [esp + 0x68]
mov dword [eax + edi], esi
mov ecx, dword [edi]
xor ebx, ebx
dec ecx
mov eax, 1
shl eax, cl
test eax, eax
jbe 0x530edf
mov ecx, dword [esp + 0x70]
push ecx
call fcn.005252b0
add esp, 4
test eax, eax
mov dword [esi], eax
je 0x5311d2
mov ecx, dword [edi]
add esi, 4
inc ebx
dec ecx
mov edx, 1
shl edx, cl
cmp ebx, edx
jb 0x530eb6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x530e9f
mov ecx, dword [esp + 0x54]
cmp esi, ecx
je 0x530f1b
push 0x248
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004fb040
add esp, 0x14
jmp 0x5311d2
mov eax, dword [esp + 0x70]
push eax
call fcn.005252b0
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x60], ebp
je 0x5311d2
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x10], 0
jbe 0x531026
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
sub eax, esi
mov dword [esp + 0x68], eax
sub ebx, esi
jmp 0x530f70
mov eax, dword [esp + 0x68]
jmp 0x530f70
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x7c]
jae 0x530f7f
mov edx, dword [eax + esi]
jmp 0x530f83
mov edx, dword [esp + 0x58]
mov eax, dword [esi]
mov ecx, dword [eax]
push edx
push ecx
call fcn.005253d0
add esp, 8
test eax, eax
je 0x5311d2
cmp dword [ebx + esi], 1
jbe 0x53100e
mov edx, dword [esp + 0x88]
mov eax, dword [esi]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x74]
push ecx
push ebp
push edx
call fcn.00525940
add esp, 0x10
test eax, eax
je 0x5311d2
mov ecx, dword [ebx + esi]
mov edi, 1
dec ecx
mov eax, edi
shl eax, cl
cmp eax, edi
jbe 0x53100e
mov ecx, dword [esi]
mov edx, dword [esp + 0x88]
push edx
mov edx, dword [ecx + edi*4]
lea eax, [ecx + edi*4]
mov ecx, dword [eax - 4]
mov eax, dword [esp + 0x74]
push ebp
push ecx
push edx
push eax
call fcn.005258c0
add esp, 0x14
test eax, eax
je 0x5311d2
mov ecx, dword [ebx + esi]
inc edi
dec ecx
mov edx, 1
shl edx, cl
cmp edi, edx
jb 0x530fd3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x530f63
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
call fcn.00525bb0
add esp, 0x10
test eax, eax
je 0x5311d2
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x74]
dec eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x44], eax
js 0x531198
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x53108f
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x70]
push ecx
push ebx
push ebx
push edx
call fcn.00525940
add esp, 0x10
test eax, eax
je 0x5311d2
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x10], 0
jbe 0x531186
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
sub ebp, eax
sub eax, edi
mov dword [esp + 0x74], eax
jmp 0x5310c0
mov eax, dword [esp + 0x74]
lea ecx, [ecx]
mov ecx, dword [esp + 0x44]
add eax, edi
cmp dword [eax + ebp], ecx
jbe 0x53116e
mov edx, dword [eax]
mov eax, ecx
movsx esi, byte [edx + eax]
test esi, esi
je 0x53116e
xor eax, eax
test esi, esi
setl al
test eax, eax
je 0x5310ec
neg esi
cmp eax, dword [esp + 0x48]
je 0x531127
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x531118
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x70]
push ecx
push ebx
push edx
call fcn.005259b0
add esp, 0xc
test eax, eax
je 0x5311d2
mov ecx, dword [esp + 0x48]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [edi]
sar esi, 1
test eax, eax
mov edx, dword [ecx + esi*4]
je 0x531152
push edx
push ebx
call fcn.005253d0
add esp, 8
test eax, eax
je 0x5311d2
mov dword [esp + 0x34], 0
jmp 0x53116e
mov eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x74]
push edx
push ebx
push ebx
push eax
call fcn.005258c0
add esp, 0x14
test eax, eax
je 0x5311d2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x5310b9
dec dword [esp + 0x44]
jns 0x531068
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5311a8
mov ecx, dword [esp + 0x70]
push ebx
push ecx
call fcn.005254a0
add esp, 8
jmp 0x5311c6
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5311ca
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x70]
push edx
push ebx
push eax
call fcn.005259b0
add esp, 0xc
test eax, eax
je 0x5311d2
mov dword [esp + 0x64], 1
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x5311e3
push eax
call fcn.00515760
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x5311f4
push eax
call fcn.00525360
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x531205
push eax
call fcn.004fc460
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x531216
push eax
call fcn.004fc460
add esp, 4
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x531242
mov eax, dword [edi]
test eax, eax
mov esi, edi
je 0x531239
push eax
call fcn.004fc460
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x531226
push edi
call fcn.004fc460
add esp, 4
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x53126e
mov eax, dword [edi]
test eax, eax
mov esi, edi
je 0x531265
push eax
call fcn.00525390
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x531252
push edi
call fcn.004fc460
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x53127f
push eax
call fcn.004fc460
add esp, 4
mov eax, dword [esp + 0x64]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret