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

Disassembly:
mov eax, 0x4c
call fcn.004b4910
xor eax, eax
mov dword [esp + 0x40], 0
push ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov edx, dword [ebx]
push ebp
push esi
xor esi, esi
mov dword [esp + 0x48], 0
xor ebp, ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], ebp
cmp edx, dword [eax]
je 0x584815
push 0x168
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004fda30
add esp, 0x14
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push edi
mov edi, dword [esp + 0x68]
test edi, edi
jne 0x584836
cmp dword [esp + 0x6c], esi
jne 0x584836
push eax
push ebx
call fcn.0054d870
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
xor ecx, ecx
cmp dword [esp + 0x6c], ecx
jbe 0x584852
nop
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x5848aa
inc ecx
cmp ecx, dword [esp + 0x6c]
jb 0x584840
cmp dword [esp + 0x78], esi
jne 0x58486d
call fcn.00554d60
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], eax
test eax, eax
je 0x584dfd
test edi, edi
je 0x584974
push ebx
call fcn.004e8e50
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
test esi, esi
jne 0x5848cf
push 0x180
push str..cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call fcn.004fda30
add esp, 0x14
xor ebx, ebx
jmp 0x584d54
push 0x172
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004fda30
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push 0x584600
push fcn.00584690
push 0x584670
push dword [ebx + 0x44]
call fcn.0054c5c0
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x58495b
cmp dword [ebp + 8], 0
je 0x58495b
mov ecx, dword [ebp + 0x10]
push dword [esp + 0x78]
push dword [ecx]
push esi
push ebx
call fcn.0054d1c0
add esp, 0x10
test eax, eax
jne 0x58495b
mov ebx, dword [ebp + 4]
push edi
mov dword [esp + 0x1c], ebx
call fcn.0052c3f0
xor edx, edx
mov ecx, dword [ebp + 0xc]
div ebx
mov edx, dword [ebp + 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 + 0x30], esi
mov dword [esp + 0x48], eax
cmp dword [ebp + 0x14], edx
je 0x584972
push 0x19f
push str..cryptoecec_mult.c
push 0x44
jmp 0x584894
mov esi, 1
xor eax, eax
mov ebp, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], ebp
jmp 0x584974
xor ebp, ebp
mov eax, dword [esp + 0x6c]
add eax, esi
push 0x1ad
push str..cryptoecec_mult.c
mov dword [esp + 0x30], eax
lea esi, [eax*4]
push esi
call fcn.004fc1a0
push 0x1ae
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x44], eax
call fcn.004fc1a0
push 0x1af
lea ecx, [esi + 4]
mov dword [esp + 0x3c], eax
push str..cryptoecec_mult.c
push ecx
call fcn.004fc1a0
push 0x1b1
mov ebx, eax
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x40], ebx
call fcn.004fc1a0
add esp, 0x30
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x5849e7
mov dword [ebx], 0
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x58514f
mov edx, dword [esp + 0x20]
test edx, edx
je 0x58514f
test ebx, ebx
je 0x58514f
test eax, eax
je 0x58514f
mov ecx, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x38], 0
lea eax, [ecx + ebp]
mov dword [esp + 0x34], eax
test eax, eax
je 0x584b12
mov eax, dword [esp + 0x10]
mov edi, esi
mov ebp, dword [esp + 0x74]
sub eax, esi
mov dword [esp + 0x40], eax
sub ebp, esi
mov eax, edx
sub eax, esi
mov dword [esp + 0x58], eax
cmp ebx, ecx
jae 0x584a58
push dword [edi + ebp]
call fcn.0052c3f0
mov esi, dword [esp + 0x6c]
jmp 0x584a62
mov esi, dword [esp + 0x68]
push esi
call fcn.0052c3f0
add esp, 4
cmp eax, 0x7d0
jb 0x584a73
mov ecx, 6
jmp 0x584aa3
cmp eax, 0x320
jb 0x584a81
mov ecx, 5
jmp 0x584aa3
cmp eax, 0x12c
jb 0x584a8f
mov ecx, 4
jmp 0x584aa3
cmp eax, 0x46
jb 0x584a9b
mov ecx, 3
jmp 0x584aa3
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 + 0x40]
mov dword [eax + edi + 4], 0
cmp ebx, dword [esp + 0x6c]
jae 0x584ac8
mov eax, dword [edi + ebp]
jmp 0x584aca
mov eax, esi
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.00584420
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x584d50
mov ecx, dword [esp + 0x24]
cmp dword [esi], ecx
cmova ecx, dword [esi]
inc ebx
add edi, 4
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x6c]
cmp ebx, dword [esp + 0x34]
jb 0x584a46
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x584cdd
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x584b4f
cmp ebp, 1
je 0x584cdd
push 0x1d6
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004fda30
add esp, 0x14
jmp 0x584d50
mov dword [esp + 0x44], 0
test ebp, ebp
je 0x584b62
push 0x1df
jmp 0x584b34
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + 0xc]
mov dword [edx + ecx*4], eax
lea ecx, [esp + 0x44]
push ecx
push eax
push edi
call fcn.00584420
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x584d50
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x24]
ja 0x584bc3
mov esi, dword [esp + 0x6c]
lea eax, [esi + 1]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [eax + esi*4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + esi*4 + 4], 0
mov eax, dword [esp + 0x20]
mov dword [eax + esi*4], edi
mov eax, dword [ebx + 0x10]
mov dword [ecx + esi*4], eax
jmp 0x584cdd
mov ebp, dword [esp + 0x18]
imul esi, ebp
cmp edi, esi
jae 0x584bf2
lea eax, [ebp - 1]
xor edx, edx
add eax, edi
div ebp
cmp eax, dword [ebx + 8]
jbe 0x584be6
push 0x20c
jmp 0x584b34
mov esi, dword [esp + 0x6c]
add eax, esi
mov dword [esp + 0x28], eax
jmp 0x584bfa
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ebp, dword [ebx + 0x10]
mov ebx, esi
mov dword [esp + 0x30], ecx
cmp esi, eax
jae 0x584cd4
mov ecx, dword [esp + 0x10]
lea edx, [eax - 1]
mov eax, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
lea esi, [eax + esi*4]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
cmp ebx, edx
jae 0x584c45
mov dword [esi], eax
cmp edi, eax
jb 0x584cc6
sub edi, eax
jmp 0x584c47
mov dword [esi], edi
push 0x226
mov dword [ecx + esi + 4], 0
push str..cryptoecec_mult.c
push dword [esi]
call fcn.004fc1a0
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x584e09
push dword [esi]
push dword [esp + 0x34]
push eax
call fcn.004b63f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [esi], ecx
cmova ecx, dword [esi]
cmp dword [ebp], 0
mov dword [esp + 0x24], ecx
je 0x584d2c
mov eax, dword [esp + 0x58]
inc ebx
mov dword [eax + esi], ebp
add esi, 4
mov eax, dword [esp + 0x48]
lea ebp, [ebp + eax*4]
mov eax, dword [esp + 0x18]
add dword [esp + 0x30], eax
cmp ebx, dword [esp + 0x28]
jae 0x584cd0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
jmp 0x584c33
push 0x21a
jmp 0x584b34
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004fc120
add esp, 4
mov ebx, dword [esp + 0x38]
push 0x243
push str..cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.004fc1a0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x584e1a
push 0x245
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004fda30
mov ebx, dword [esp + 0x24]
add esp, 0x14
xor esi, esi
jmp 0x584d58
push 0x231
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004fda30
push dword [esp + 0x28]
call fcn.004fc120
add esp, 0x18
mov ebx, dword [esp + 0x10]
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x50]
test eax, eax
je 0x584d69
push eax
call fcn.00554cd0
add esp, 4
test esi, esi
je 0x584d76
push esi
call fcn.0054d360
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x584d87
push eax
call fcn.004fc120
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x584d98
push eax
call fcn.004fc120
add esp, 4
test ebx, ebx
je 0x584dc0
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x584db7
push eax
call fcn.004fc120
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x584da4
push ebx
call fcn.004fc120
add esp, 4
test edi, edi
je 0x584dec
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x584de3
nop dword [eax]
push eax
call fcn.0054d180
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x584dd0
push edi
call fcn.004fc120
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x584dfd
push eax
call fcn.004fc120
add esp, 4
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push 0x228
push str..cryptoecec_mult.c
push 0x41
jmp 0x584d38
lea eax, [edi + ebx*4]
mov esi, edi
xor ebp, ebp
mov dword [eax], 0
mov edi, dword [esp + 0x34]
mov dword [esp + 0x48], eax
test edi, edi
je 0x584e90
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
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 0x584e7c
push dword [esp + 0x60]
call fcn.0054d670
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x58517c
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x584e54
mov edi, dword [esp + 0x34]
inc ebp
mov eax, dword [esp + 0x58]
add ebx, 4
cmp ebp, edi
jb 0x584e41
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x584ebe
push 0x256
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004fda30
mov ebx, dword [esp + 0x24]
add esp, 0x14
mov edi, dword [esp + 0x14]
xor esi, esi
jmp 0x584d58
mov ebp, dword [esp + 0x60]
push ebp
call fcn.0054d670
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x58518b
xor ebx, ebx
test edi, edi
je 0x584fac
mov ecx, dword [esp + 0x1c]
mov edi, ecx
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x2c]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], esi
nop dword [eax + eax]
cmp ebx, dword [esp + 0x6c]
jae 0x584f0b
push dword [eax + edi]
jmp 0x584f0f
push dword [esp + 0x4c]
mov eax, dword [edi]
push dword [eax]
call fcn.0054d230
add esp, 8
test eax, eax
je 0x58513e
cmp dword [esi + edi], 1
jbe 0x584f9a
mov eax, dword [edi]
push dword [esp + 0x78]
mov esi, dword [esp + 0x1c]
push dword [eax]
push esi
push ebp
call fcn.0054d2a0
add esp, 0x10
test eax, eax
je 0x58516f
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 0x584f96
nop dword [eax]
push dword [esp + 0x78]
mov eax, dword [edi]
push dword [esp + 0x1c]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebp
call fcn.0054d100
add esp, 0x14
test eax, eax
je 0x58513e
mov eax, dword [esp + 0x30]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x584f60
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x70]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x34]
jb 0x584f00
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
push edi
push eax
push dword [esp + 0x40]
push ebp
call fcn.0054d8d0
add esp, 0x10
test eax, eax
je 0x58513e
mov ecx, dword [esp + 0x24]
mov ebx, 1
sub ecx, ebx
mov dword [esp + 0x38], ecx
js 0x585125
jmp 0x584fe6
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test ebx, ebx
jne 0x585006
push edi
push esi
push esi
push ebp
call fcn.0054d2a0
add esp, 0x10
test eax, eax
je 0x58513e
mov ecx, dword [esp + 0x38]
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jbe 0x5850fa
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
sub edx, eax
mov edi, dword [esp + 0x1c]
sub eax, edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], eax
nop word [eax + eax]
add eax, edi
cmp dword [eax + edx], ecx
jbe 0x5850e4
mov eax, dword [eax]
movsx esi, byte [eax + ecx]
test esi, esi
je 0x5850e0
xor eax, eax
test esi, esi
sets al
test eax, eax
je 0x585056
neg esi
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x58508d
test ebx, ebx
jne 0x585082
push dword [esp + 0x78]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.0054d470
add esp, 0xc
test eax, eax
je 0x58513e
mov ecx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
sar esi, 1
test ebx, ebx
je 0x5850b9
push dword [eax + esi*4]
mov esi, dword [esp + 0x68]
push esi
call fcn.0054d230
add esp, 8
test eax, eax
je 0x58513e
mov ecx, dword [esp + 0x38]
xor ebx, ebx
mov edx, dword [esp + 0x4c]
jmp 0x5850e4
push dword [esp + 0x78]
push dword [eax + esi*4]
mov esi, dword [esp + 0x6c]
push esi
push esi
push dword [esp + 0x70]
call fcn.0054d100
add esp, 0x14
test eax, eax
je 0x58513e
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
jmp 0x5850e4
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x28]
jb 0x585030
mov edi, dword [esp + 0x78]
sub ecx, 1
mov dword [esp + 0x38], ecx
jns 0x584fe2
test ebx, ebx
jne 0x585121
cmp dword [esp + 0x3c], ebx
je 0x585136
push edi
push esi
push dword [esp + 0x68]
call fcn.0054d470
add esp, 0xc
jmp 0x585132
mov ebp, dword [esp + 0x60]
push dword [esp + 0x64]
push ebp
call fcn.0054d870
add esp, 8
test eax, eax
je 0x58513e
mov dword [esp + 0x54], 1
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x584d58
push 0x1b8
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004fda30
add esp, 0x14
jmp 0x584d54
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x584d58
mov edi, dword [esp + 0x14]
xor esi, esi
mov ebx, dword [esp + 0x10]
jmp 0x584d58
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x584d58