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

Disassembly:
mov eax, 0x4c
call fcn.005d6920
xor eax, eax
mov dword [esp + 0x44], 0
push ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov edx, dword [ebp]
push edi
xor edi, edi
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], edi
cmp edx, dword [eax]
je 0x5b386a
push 0x9f
push str.cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.005474b0
add esp, 0x14
xor eax, eax
pop edi
pop ebp
add esp, 0x4c
ret
push ebx
mov ebx, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x68]
test esi, esi
jne 0x5b388e
test ebx, ebx
jne 0x5b388e
push eax
push ebp
call fcn.0059c4c0
add esp, 8
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x4c
ret
xor ecx, ecx
test ebx, ebx
je 0x5b38a4
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x5b38fa
inc ecx
cmp ecx, ebx
jb 0x5b3894
cmp dword [esp + 0x78], edi
jne 0x5b38bf
call fcn.00588960
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], eax
test eax, eax
je 0x5b3c76
test esi, esi
je 0x5b39b7
push ebp
call fcn.004ee540
mov ecx, eax
add esp, 4
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x5b391f
push 0xb7
push str.cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call fcn.005474b0
add esp, 0x14
jmp 0x5b3c76
push 0xa9
push str.cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.005474b0
add esp, 0x14
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x4c
ret
mov ebx, dword [ebp + 0x60]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x5b39a0
cmp dword [ebx + 8], edi
je 0x5b39a0
mov eax, dword [ebx + 0x10]
push dword [esp + 0x78]
push dword [eax]
push ecx
push ebp
call fcn.0059be00
add esp, 0x10
test eax, eax
jne 0x5b39a0
mov edi, dword [ebx + 4]
push esi
mov dword [esp + 0x14], edi
call fcn.00564800
xor edx, edx
mov ecx, dword [ebx + 0xc]
div edi
mov edi, dword [ebx + 8]
dec ecx
mov esi, 1
add esp, 4
shl esi, cl
mov dword [esp + 0x4c], esi
lea edx, [eax + 1]
mov eax, edi
imul eax, esi
cmp dword [ebx + 0x14], eax
je 0x5b3999
push 0xd3
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.005474b0
add esp, 0x14
jmp 0x5b3c76
cmp edx, edi
cmovbe edi, edx
jmp 0x5b39af
xor eax, eax
mov edi, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], edi
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x30], edi
lea eax, [edi + ebx]
push 0xe1
lea esi, [eax*4]
mov dword [esp + 0x1c], eax
push str.cryptoecec_mult.c
push esi
call fcn.00548830
push 0xe2
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x34], eax
call fcn.00548830
push 0xe4
lea ecx, [esi + 4]
mov dword [esp + 0x3c], eax
push str.cryptoecec_mult.c
push ecx
call fcn.00548830
push 0xe5
mov ebx, eax
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x54], ebx
call fcn.00548830
add esp, 0x30
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x5b3a27
mov dword [ebx], 0
cmp dword [esp + 0x1c], 0
je 0x5b4232
cmp dword [esp + 0x20], 0
je 0x5b4232
test ebx, ebx
je 0x5b4232
test eax, eax
je 0x5b4232
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], 0
lea edx, [eax + ecx]
mov dword [esp + 0x34], edx
test edx, edx
je 0x5b3b61
mov edx, dword [esp + 0x1c]
mov edi, edx
mov eax, dword [esp + 0x24]
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 0x5b3a9b
mov eax, dword [esi + edi]
jmp 0x5b3a9f
mov eax, dword [esp + 0x68]
push eax
call fcn.00564800
add esp, 4
cmp eax, 0x7d0
jb 0x5b3ab6
mov ecx, 6
jmp 0x5b3ae6
cmp eax, 0x320
jb 0x5b3ac4
mov ecx, 5
jmp 0x5b3ae6
cmp eax, 0x12c
jb 0x5b3ad2
mov ecx, 4
jmp 0x5b3ae6
cmp eax, 0x46
jb 0x5b3ade
mov ecx, 3
jmp 0x5b3ae6
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 + 0x48]
mov dword [eax + edi + 4], 0
cmp ebx, dword [esp + 0x6c]
jae 0x5b3b0b
mov eax, dword [esi + edi]
jmp 0x5b3b0f
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.0058aae0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x5b3c76
mov eax, dword [esi]
cmp eax, dword [esp + 0x14]
mov esi, dword [esp + 0x74]
cmovbe eax, dword [esp + 0x14]
inc ebx
mov ecx, dword [esp + 0x6c]
add edi, 4
mov dword [esp + 0x14], eax
cmp ebx, dword [esp + 0x34]
jb 0x5b3a92
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
test edi, edi
je 0x5b3e7b
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x5b3b9a
cmp eax, 1
je 0x5b3e7b
push 0x10a
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.005474b0
add esp, 0x14
jmp 0x5b3c76
mov dword [esp + 0x2c], 0
test eax, eax
je 0x5b3bc6
push 0x113
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.005474b0
add esp, 0x14
jmp 0x5b3c76
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
mov dword [edx + ecx*4], eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push dword [esp + 0x70]
call fcn.0058aae0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x5b3c76
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x14]
ja 0x5b3c2a
mov edx, dword [esp + 0x6c]
lea eax, [edx + 1]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
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 + 0x28]
mov eax, dword [esi + 0x10]
mov dword [ecx + edx*4], eax
jmp 0x5b3e7b
mov eax, dword [esp + 0x10]
imul edi, eax
cmp ecx, edi
jae 0x5b3d53
dec eax
xor edx, edx
add eax, ecx
div dword [esp + 0x10]
cmp eax, dword [esi + 8]
jbe 0x5b3d47
push 0x13e
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.005474b0
push 0x13f
push str.cryptoecec_mult.c
push ebx
call fcn.00548860
add esp, 0x20
xor ebx, ebx
xor ebp, ebp
push dword [esp + 0x54]
call fcn.005887a0
push dword [esp + 0x44]
call fcn.0059bf50
push 0x1e8
push str.cryptoecec_mult.c
push dword [esp + 0x2c]
call fcn.00548860
push 0x1e9
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.00548860
mov edi, dword [esp + 0x44]
add esp, 0x20
test edi, edi
je 0x5b3cf5
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x5b3ce2
push 0x1ee
push str.cryptoecec_mult.c
push eax
call fcn.00548860
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 0xc
test eax, eax
jne 0x5b3cc5
push 0x1f0
push str.cryptoecec_mult.c
push edi
call fcn.00548860
add esp, 0xc
test ebx, ebx
je 0x5b3d27
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x5b3d14
push eax
call fcn.0059bdc0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x5b3d01
push 0x1f6
push str.cryptoecec_mult.c
push ebx
call fcn.00548860
add esp, 0xc
push 0x1f8
push str.cryptoecec_mult.c
push dword [esp + 0x30]
call fcn.00548860
add esp, 0xc
mov eax, ebp
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x4c
ret
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x18], eax
jmp 0x5b3d5b
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov edi, edx
mov ebx, dword [esi + 0x10]
cmp edx, eax
jae 0x5b3e65
mov ebp, dword [esp + 0x20]
lea esi, [edx*4]
mov edx, dword [esp + 0x24]
add esi, ebp
mov eax, dword [esp + 0x28]
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 0x5b3db3
mov eax, dword [esp + 0x10]
mov dword [esi], eax
cmp ecx, eax
jb 0x5b3e36
sub ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x5b3db5
mov dword [esi], ecx
push 0x15a
mov dword [edx + esi + 4], 0
push str.cryptoecec_mult.c
push dword [esi]
call fcn.00548830
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x5b3ef2
push dword [esi]
push dword [esp + 0x48]
push eax
call fcn.005ed5a0
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x14]
cmovbe eax, dword [esp + 0x14]
cmp dword [ebx], 0
mov ecx, eax
mov dword [esp + 0x14], ecx
je 0x5b3ec7
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 + 0x10]
add dword [esp + 0x44], eax
cmp edi, dword [esp + 0x18]
jae 0x5b3e61
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
jmp 0x5b3d90
push 0x14d
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.005474b0
push 0x14e
push str.cryptoecec_mult.c
push dword [esp + 0x4c]
jmp 0x5b3c6e
mov dword [esp + 0x14], ecx
push 0x16d
push str.cryptoecec_mult.c
push dword [esp + 0x38]
call fcn.00548860
add esp, 0xc
mov ebx, dword [esp + 0x38]
push 0x177
push str.cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.00548830
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x5b3f1d
push 0x179
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.005474b0
add esp, 0x14
mov ebx, dword [esp + 0x10]
jmp 0x5b3c78
push 0x165
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.005474b0
push 0x166
push str.cryptoecec_mult.c
push dword [esp + 0x4c]
jmp 0x5b3c6e
push 0x15c
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.005474b0
push 0x15d
push str.cryptoecec_mult.c
push dword [esp + 0x4c]
jmp 0x5b3c6e
mov edi, dword [esp + 0x34]
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 0x5b3fa1
mov eax, dword [esp + 0x28]
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 0x5b3f89
nop dword [eax + eax]
push ebp
call fcn.0059c260
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x5b3ebe
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x5b3f60
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x34]
inc edx
mov eax, dword [esp + 0x58]
add ebx, 4
mov dword [esp + 0x4c], edx
cmp edx, edi
jb 0x5b3f48
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x5b3fb6
push 0x18a
push str.cryptoecec_mult.c
push 0x44
jmp 0x5b3eaf
push ebp
call fcn.0059c260
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
je 0x5b3ebe
xor ebx, ebx
test edi, edi
je 0x5b409c
mov ecx, dword [esp + 0x28]
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 + 0x30], esi
nop
cmp ebx, dword [esp + 0x6c]
jae 0x5b3ffb
push dword [eax + edi]
jmp 0x5b3fff
push dword [esp + 0x50]
mov eax, dword [edi]
push dword [eax]
call fcn.0059be70
add esp, 8
test eax, eax
je 0x5b3ebe
cmp dword [esi + edi], 1
jbe 0x5b408a
mov eax, dword [edi]
push dword [esp + 0x78]
push dword [eax]
push dword [esp + 0x48]
push ebp
call fcn.0059bee0
add esp, 0x10
test eax, eax
je 0x5b3ebe
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 0x5b4086
nop dword [eax + eax]
push dword [esp + 0x78]
mov eax, dword [edi]
push dword [esp + 0x44]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebp
call fcn.0059bd40
add esp, 0x14
test eax, eax
je 0x5b3ebe
mov eax, dword [esp + 0x30]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x5b4050
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x70]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x34]
jb 0x5b3ff0
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x10]
push edi
push ebx
push dword [esp + 0x40]
push ebp
call fcn.0059c520
add esp, 0x10
test eax, eax
je 0x5b3c78
mov ecx, dword [esp + 0x14]
mov ebx, 1
sub ecx, ebx
mov dword [esp + 0x14], ecx
js 0x5b420f
jmp 0x5b40d6
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test ebx, ebx
jne 0x5b40f6
push edi
push esi
push esi
push ebp
call fcn.0059bee0
add esp, 0x10
test eax, eax
je 0x5b3ebe
mov ecx, dword [esp + 0x14]
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jbe 0x5b41e4
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub eax, edi
sub edx, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edx
nop word [eax + eax]
cmp dword [eax + edi], ecx
jbe 0x5b41d2
mov eax, dword [edi]
mov al, byte [ecx + eax]
movsx ecx, al
test al, al
je 0x5b41ca
movzx eax, al
mov esi, ecx
shr eax, 7
neg esi
test eax, eax
cmove esi, ecx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x5b4183
test ebx, ebx
jne 0x5b4178
push dword [esp + 0x78]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.0059c060
add esp, 0xc
test eax, eax
je 0x5b3ebe
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x3c], eax
mov eax, dword [edx + edi]
sar esi, 1
lea eax, [eax + esi*4]
mov esi, dword [esp + 0x64]
test ebx, ebx
je 0x5b41aa
push dword [eax]
push esi
call fcn.0059be70
add esp, 8
test eax, eax
je 0x5b3ebe
xor ebx, ebx
jmp 0x5b41c6
push dword [esp + 0x78]
push dword [eax]
push esi
push esi
push dword [esp + 0x70]
call fcn.0059bd40
add esp, 0x14
test eax, eax
je 0x5b3ebe
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x18]
jb 0x5b4120
mov edi, dword [esp + 0x78]
sub ecx, 1
mov dword [esp + 0x14], ecx
jns 0x5b40d2
test ebx, ebx
jne 0x5b420b
cmp dword [esp + 0x3c], ebx
je 0x5b4224
push edi
push esi
push dword [esp + 0x68]
call fcn.0059c060
add esp, 0xc
jmp 0x5b421c
mov ebp, dword [esp + 0x60]
push dword [esp + 0x64]
push ebp
call fcn.0059c4c0
add esp, 8
test eax, eax
je 0x5b3ebe
mov ebx, dword [esp + 0x10]
mov ebp, 1
jmp 0x5b3c7a
push 0xec
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.005474b0
add esp, 0x14
jmp 0x5b3c76