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

Disassembly:
mov eax, 0x5c
call fcn.004b5aa0
mov ecx, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x64]
mov eax, dword [ebx]
push esi
push edi
xor edi, edi
xor esi, esi
cmp eax, dword [ecx]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x60], edi
je 0x508543
push 0x168
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004db700
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x5c
ret
cmp dword [esp + 0x74], edi
push ebp
mov ebp, dword [esp + 0x7c]
jne 0x508564
cmp ebp, edi
jne 0x508564
push ecx
push ebx
call fcn.004ea0b0
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
mov edx, dword [esp + 0x80]
xor ecx, ecx
cmp ebp, edi
jbe 0x508583
mov ebx, dword [edx + ecx*4]
cmp eax, dword [ebx]
jne 0x5085d2
add ecx, 1
cmp ecx, ebp
jb 0x508571
mov ebx, dword [esp + 0x70]
cmp dword [esp + 0x88], edi
jne 0x5085a4
call fcn.004ff4d0
cmp eax, edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x88], eax
je 0x508ecd
cmp dword [esp + 0x78], edi
je 0x5086ae
push ebx
call fcn.004e9310
mov esi, eax
add esp, 4
cmp esi, edi
mov dword [esp + 0x5c], esi
jne 0x5085f7
push 0x180
push str..cryptoecec_mult.c
push 0x71
jmp 0x508e08
push 0x172
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004db700
add esp, 0x14
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x44]
push 0x508260
push fcn.00508200
push 0x5081e0
push ecx
call fcn.004e9da0
mov ebx, eax
add esp, 0x10
cmp ebx, edi
mov dword [esp + 0x3c], ebx
je 0x50869d
cmp dword [ebx + 8], edi
je 0x50869d
mov edx, dword [esp + 0x88]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x74]
push ecx
push esi
push edx
call fcn.004ea560
add esp, 0x10
test eax, eax
jne 0x50869d
mov eax, dword [esp + 0x78]
mov esi, dword [ebx + 4]
push eax
mov dword [esp + 0x44], esi
call fcn.004e0420
xor edx, edx
div esi
add esp, 4
mov esi, eax
mov eax, dword [ebx + 8]
add esi, 1
cmp esi, eax
mov dword [esp + 0x28], esi
jbe 0x508673
mov esi, eax
mov dword [esp + 0x28], eax
mov ecx, dword [ebx + 0xc]
sub ecx, 1
mov edx, 1
shl edx, cl
imul eax, edx
cmp dword [ebx + 0x14], eax
mov dword [esp + 0x58], edx
je 0x5086ae
push 0x19f
push str..cryptoecec_mult.c
push 0x44
jmp 0x508e08
mov esi, 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], esi
lea eax, [esi + ebp]
push 0x1ad
lea esi, [eax*4]
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x28], eax
call fcn.004dc740
push 0x1ae
mov ebx, eax
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x4c], ebx
call fcn.004dc740
push 0x1af
lea ecx, [esi + 4]
push str..cryptoecec_mult.c
push ecx
mov dword [esp + 0x44], eax
call fcn.004dc740
push 0x1b1
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x40], eax
call fcn.004dc740
add esp, 0x30
cmp dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
je 0x508720
mov edx, dword [esp + 0x10]
mov dword [edx], edi
cmp ebx, edi
je 0x508dfc
cmp dword [esp + 0x20], edi
je 0x508dfc
cmp dword [esp + 0x10], edi
je 0x508dfc
cmp dword [esp + 0x14], edi
je 0x508dfc
mov eax, dword [esp + 0x38]
add eax, ebp
cmp eax, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], eax
jbe 0x508862
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
sub ecx, ebx
sub edi, ebx
sub eax, ebx
mov esi, ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x68], eax
jmp 0x508798
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x18], ebp
mov ebx, dword [esp + 0x78]
jae 0x5087a8
mov ecx, dword [ecx + esi]
push ecx
jmp 0x5087a9
push ebx
call fcn.004e0420
add esp, 4
cmp eax, 0x7d0
jb 0x5087bf
mov eax, 6
jmp 0x5087ef
cmp eax, 0x320
jb 0x5087cd
mov eax, 5
jmp 0x5087ef
cmp eax, 0x12c
jb 0x5087db
mov eax, 4
jmp 0x5087ef
cmp eax, 0x46
jb 0x5087e7
mov eax, 3
jmp 0x5087ef
cmp eax, 0x14
sbb eax, eax
add eax, 2
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov dword [esi], eax
mov dword [edi + esi + 4], 0
add dword [esp + 0x30], edx
cmp dword [esp + 0x18], ebp
jae 0x508816
mov eax, dword [esp + 0x50]
mov eax, dword [eax + esi]
jmp 0x508818
mov eax, ebx
mov ecx, dword [esp + 0x68]
mov edi, dword [esi]
lea ebx, [ecx + esi]
push ebx
push eax
call fcn.005082d0
mov edx, dword [esp + 0x5c]
add esp, 8
test eax, eax
mov dword [edx + esi], eax
je 0x508e17
mov ebx, dword [ebx]
cmp ebx, dword [esp + 0x24]
jbe 0x508846
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x18]
add eax, 1
add esi, 4
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jb 0x508790
mov ebx, dword [esp + 0x34]
cmp dword [esp + 0x28], 0
je 0x508a18
mov esi, dword [esp + 0x3c]
test esi, esi
jne 0x508891
cmp dword [esp + 0x38], 1
je 0x508a18
push 0x1d6
push str..cryptoecec_mult.c
push 0x44
jmp 0x508e08
cmp dword [esp + 0x38], 0
mov dword [esp + 0x18], 0
je 0x5088b1
push 0x1df
push str..cryptoecec_mult.c
push 0x44
jmp 0x508e08
mov ecx, dword [esp + 0x78]
mov edi, dword [esi + 0xc]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [ebx + ebp*4], edi
call fcn.005082d0
mov ecx, eax
add esp, 8
test ecx, ecx
mov dword [esp + 0x50], ecx
je 0x508e17
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x24]
ja 0x50890d
lea edx, [ebp + 1]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov dword [edx + ebp*4], ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + ebp*4 + 4], 0
mov dword [ecx + ebp*4], eax
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x14]
mov dword [eax + ebp*4], edx
jmp 0x508a18
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
imul edx, edi
cmp eax, edx
jae 0x508940
xor edx, edx
lea eax, [eax + edi - 1]
div edi
cmp eax, dword [esi + 8]
jbe 0x50893a
push 0x20c
push str..cryptoecec_mult.c
push 0x44
jmp 0x508e08
add eax, ebp
mov dword [esp + 0x1c], eax
cmp ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov edi, dword [edx + 0x10]
mov dword [esp + 0x38], ecx
mov ebx, ebp
jae 0x508a0f
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
mov ecx, ebx
lea esi, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
sub ebp, eax
sub ecx, eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x1c]
add eax, 0xffffffff
cmp ebx, eax
jae 0x508991
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x18], eax
mov dword [esi], eax
jb 0x508a48
sub dword [esp + 0x18], eax
jmp 0x508997
mov edx, dword [esp + 0x18]
mov dword [esi], edx
push 0x226
mov dword [esi + ebp + 4], 0
mov eax, dword [esi]
push str..cryptoecec_mult.c
push eax
call fcn.004dc740
add esp, 0xc
test eax, eax
mov dword [esi + ebp], eax
je 0x508a59
mov ecx, dword [esi]
mov edx, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.0049e700
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x24]
jbe 0x5089dc
mov dword [esp + 0x24], eax
cmp dword [edi], 0
je 0x508a83
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
add dword [esp + 0x38], edx
mov dword [eax + esi], edi
add ebx, 1
add esi, 4
cmp ebx, dword [esp + 0x1c]
lea edi, [edi + ecx*4]
jb 0x508970
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004dc940
add esp, 4
mov edx, dword [esp + 0x30]
push 0x243
lea eax, [edx*4 + 4]
push str..cryptoecec_mult.c
push eax
call fcn.004dc740
add esp, 0xc
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x508aad
push 0x245
jmp 0x508e01
push 0x21a
push str..cryptoecec_mult.c
push 0x44
jmp 0x508e08
push 0x228
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004db700
mov eax, dword [esp + 0x64]
push eax
call fcn.004dc940
add esp, 0x18
jmp 0x508e17
push 0x231
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004db700
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004dc940
add esp, 0x18
jmp 0x508e17
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
lea eax, [edi + ecx*4]
xor ebp, ebp
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x58], eax
mov dword [eax], 0
jbe 0x508b31
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
sub eax, esi
mov dword [esp + 0x68], eax
mov dword [eax + esi], edi
mov ecx, dword [esi]
sub ecx, 1
mov edx, 1
shl edx, cl
xor ebx, ebx
test edx, edx
jbe 0x508b21
lea ecx, [ecx]
mov eax, dword [esp + 0x70]
push eax
call fcn.004e9ec0
add esp, 4
test eax, eax
mov dword [edi], eax
je 0x508e17
mov ecx, dword [esi]
sub ecx, 1
mov edx, 1
shl edx, cl
add ebx, 1
add edi, 4
cmp ebx, edx
jb 0x508af0
mov eax, dword [esp + 0x68]
add ebp, 1
add esi, 4
cmp ebp, dword [esp + 0x2c]
jb 0x508ad8
mov eax, dword [esp + 0x58]
cmp edi, eax
je 0x508b46
push 0x256
push str..cryptoecec_mult.c
push 0x44
jmp 0x508e08
mov eax, dword [esp + 0x70]
push eax
call fcn.004e9ec0
add esp, 4
test eax, eax
mov dword [esp + 0x48], eax
je 0x508e17
xor ebp, ebp
cmp dword [esp + 0x2c], ebp
jbe 0x508c46
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x34]
sub edi, esi
mov dword [esp + 0x68], edi
sub ebx, esi
cmp ebp, dword [esp + 0x7c]
mov edx, dword [esi]
mov eax, dword [edx]
jae 0x508b91
mov ecx, dword [edi + esi]
jmp 0x508b95
mov ecx, dword [esp + 0x5c]
push ecx
push eax
call fcn.004e9fe0
add esp, 8
test eax, eax
je 0x508e17
cmp dword [ebx + esi], 1
jbe 0x508c36
mov edx, dword [esi]
mov ecx, dword [esp + 0x88]
mov eax, dword [edx]
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.004ea3c0
add esp, 0x10
test eax, eax
je 0x508e17
mov ecx, dword [ebx + esi]
mov edi, 1
sub ecx, edi
mov eax, edi
shl eax, cl
cmp eax, edi
jbe 0x508c32
lea ebx, [ebx]
mov ecx, dword [esi]
mov edx, dword [esp + 0x88]
lea eax, [ecx + edi*4]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [eax - 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
call fcn.004ea340
add esp, 0x14
test eax, eax
je 0x508e17
mov ecx, dword [ebx + esi]
sub ecx, 1
mov edx, 1
shl edx, cl
add edi, 1
cmp edi, edx
jb 0x508bf0
mov edi, dword [esp + 0x68]
add ebp, 1
add esi, 4
cmp ebp, dword [esp + 0x2c]
jb 0x508b82
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
call fcn.004ea630
add esp, 0x10
test eax, eax
je 0x508e17
mov ebx, dword [esp + 0x24]
add ebx, 0xffffffff
mov esi, 1
mov dword [esp + 0x40], esi
js 0x508db9
test esi, esi
jne 0x508caa
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ecx
push eax
push eax
push edx
call fcn.004ea3c0
add esp, 0x10
test eax, eax
je 0x508e17
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
jbe 0x508dac
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
sub ebp, eax
sub eax, edi
mov dword [esp + 0x68], eax
jmp 0x508cd7
mov eax, dword [esp + 0x68]
add eax, edi
cmp dword [eax + ebp], ebx
jbe 0x508d90
mov eax, dword [eax]
movsx esi, byte [eax + ebx]
test esi, esi
je 0x508d90
xor eax, eax
test esi, esi
setl al
test eax, eax
je 0x508cfd
neg esi
cmp eax, dword [esp + 0x44]
je 0x508d39
cmp dword [esp + 0x40], 0
jne 0x508d2c
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
call fcn.004ea430
add esp, 0xc
test eax, eax
je 0x508e17
xor ecx, ecx
cmp dword [esp + 0x44], ecx
sete cl
mov dword [esp + 0x44], ecx
sar esi, 1
cmp dword [esp + 0x40], 0
je 0x508d67
mov edx, dword [edi]
mov eax, dword [edx + esi*4]
mov ecx, dword [esp + 0x74]
push eax
push ecx
call fcn.004e9fe0
add esp, 8
test eax, eax
je 0x508e17
mov dword [esp + 0x40], 0
jmp 0x508d90
mov eax, dword [edi]
mov edx, dword [esp + 0x88]
mov ecx, dword [eax + esi*4]
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push ecx
push eax
push eax
push edx
call fcn.004ea340
add esp, 0x14
test eax, eax
je 0x508e17
mov eax, dword [esp + 0x18]
add eax, 1
add edi, 4
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jb 0x508cd3
mov esi, dword [esp + 0x40]
sub ebx, 1
jns 0x508c83
test esi, esi
je 0x508dcd
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push eax
push ecx
call fcn.004ea0b0
add esp, 8
jmp 0x508dee
cmp dword [esp + 0x44], 0
je 0x508df2
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
call fcn.004ea430
add esp, 0xc
test eax, eax
je 0x508e17
mov dword [esp + 0x64], 1
jmp 0x508e17
push 0x1b8
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004db700
add esp, 0x14
mov eax, dword [esp + 0x60]
test eax, eax
je 0x508e28
push eax
call fcn.004ff530
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x508e39
push eax
call fcn.004e9f70
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x508e4a
push eax
call fcn.004dc940
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x508e5b
push eax
call fcn.004dc940
add esp, 4
mov edi, dword [esp + 0x10]
test edi, edi
je 0x508e8c
mov eax, dword [edi]
test eax, eax
mov esi, edi
je 0x508e83
jmp 0x508e70
push eax
call fcn.004dc940
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x508e70
push edi
call fcn.004dc940
add esp, 4
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x508ebc
mov eax, dword [edi]
test eax, eax
mov esi, edi
je 0x508eb3
lea esp, [esp]
push eax
call fcn.004e9fa0
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x508ea0
push edi
call fcn.004dc940
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x508ecd
push eax
call fcn.004dc940
add esp, 4
mov eax, dword [esp + 0x64]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x5c
ret