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

Disassembly:
mov eax, 0x4c
call fcn.00554d90
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 0x504505
push 0x168
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004b96d0
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 0x504526
cmp dword [esp + 0x6c], esi
jne 0x504526
push eax
push ebx
call fcn.004cd690
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
xor ecx, ecx
cmp dword [esp + 0x6c], ecx
jbe 0x504542
nop
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x50459a
inc ecx
cmp ecx, dword [esp + 0x6c]
jb 0x504530
cmp dword [esp + 0x78], esi
jne 0x50455d
call fcn.004e0710
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], eax
test eax, eax
je 0x504aed
test edi, edi
je 0x504664
push ebx
call fcn.004cca80
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
test esi, esi
jne 0x5045bf
push 0x180
push str..cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call fcn.004b96d0
add esp, 0x14
xor ebx, ebx
jmp 0x504a44
push 0x172
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004b96d0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push 0x5042f0
push fcn.00504380
push 0x504360
push dword [ebx + 0x44]
call fcn.004cc3c0
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x50464b
cmp dword [ebp + 8], 0
je 0x50464b
mov ecx, dword [ebp + 0x10]
push dword [esp + 0x78]
push dword [ecx]
push esi
push ebx
call fcn.004ccfe0
add esp, 0x10
test eax, eax
jne 0x50464b
mov ebx, dword [ebp + 4]
push edi
mov dword [esp + 0x1c], ebx
call fcn.004a2720
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 0x504662
push 0x19f
push str..cryptoecec_mult.c
push 0x44
jmp 0x504584
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 0x504664
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.004a0070
push 0x1ae
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x44], eax
call fcn.004a0070
push 0x1af
lea ecx, [esi + 4]
mov dword [esp + 0x3c], eax
push str..cryptoecec_mult.c
push ecx
call fcn.004a0070
push 0x1b1
mov ebx, eax
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x40], ebx
call fcn.004a0070
add esp, 0x30
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x5046d7
mov dword [ebx], 0
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x504e3f
mov edx, dword [esp + 0x20]
test edx, edx
je 0x504e3f
test ebx, ebx
je 0x504e3f
test eax, eax
je 0x504e3f
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 0x504802
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 0x504748
push dword [edi + ebp]
call fcn.004a2720
mov esi, dword [esp + 0x6c]
jmp 0x504752
mov esi, dword [esp + 0x68]
push esi
call fcn.004a2720
add esp, 4
cmp eax, 0x7d0
jb 0x504763
mov ecx, 6
jmp 0x504793
cmp eax, 0x320
jb 0x504771
mov ecx, 5
jmp 0x504793
cmp eax, 0x12c
jb 0x50477f
mov ecx, 4
jmp 0x504793
cmp eax, 0x46
jb 0x50478b
mov ecx, 3
jmp 0x504793
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 0x5047b8
mov eax, dword [edi + ebp]
jmp 0x5047ba
mov eax, esi
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.00504110
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x504a40
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 0x504736
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x5049cd
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x50483f
cmp ebp, 1
je 0x5049cd
push 0x1d6
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004b96d0
add esp, 0x14
jmp 0x504a40
mov dword [esp + 0x44], 0
test ebp, ebp
je 0x504852
push 0x1df
jmp 0x504824
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.00504110
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x504a40
mov edi, dword [esp + 0x44]
cmp edi, dword [esp + 0x24]
ja 0x5048b3
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 0x5049cd
mov ebp, dword [esp + 0x18]
imul esi, ebp
cmp edi, esi
jae 0x5048e2
lea eax, [ebp - 1]
xor edx, edx
add eax, edi
div ebp
cmp eax, dword [ebx + 8]
jbe 0x5048d6
push 0x20c
jmp 0x504824
mov esi, dword [esp + 0x6c]
add eax, esi
mov dword [esp + 0x28], eax
jmp 0x5048ea
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 0x5049c4
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 0x504935
mov dword [esi], eax
cmp edi, eax
jb 0x5049b6
sub edi, eax
jmp 0x504937
mov dword [esi], edi
push 0x226
mov dword [ecx + esi + 4], 0
push str..cryptoecec_mult.c
push dword [esi]
call fcn.004a0070
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x504af9
push dword [esi]
push dword [esp + 0x34]
push eax
call fcn.00557570
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 0x504a1c
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 0x5049c0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
jmp 0x504923
push 0x21a
jmp 0x504824
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0049fff0
add esp, 4
mov ebx, dword [esp + 0x38]
push 0x243
push str..cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.004a0070
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x504b0a
push 0x245
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004b96d0
mov ebx, dword [esp + 0x24]
add esp, 0x14
xor esi, esi
jmp 0x504a48
push 0x231
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004b96d0
push dword [esp + 0x28]
call fcn.0049fff0
add esp, 0x18
mov ebx, dword [esp + 0x10]
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x50]
test eax, eax
je 0x504a59
push eax
call fcn.004e0680
add esp, 4
test esi, esi
je 0x504a66
push esi
call fcn.004cd180
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x504a77
push eax
call fcn.0049fff0
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x504a88
push eax
call fcn.0049fff0
add esp, 4
test ebx, ebx
je 0x504ab0
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x504aa7
push eax
call fcn.0049fff0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x504a94
push ebx
call fcn.0049fff0
add esp, 4
test edi, edi
je 0x504adc
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x504ad3
nop dword [eax]
push eax
call fcn.004ccfa0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x504ac0
push edi
call fcn.0049fff0
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x504aed
push eax
call fcn.0049fff0
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 0x504a28
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 0x504b80
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 0x504b6c
push dword [esp + 0x60]
call fcn.004cd490
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x504e6c
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x504b44
mov edi, dword [esp + 0x34]
inc ebp
mov eax, dword [esp + 0x58]
add ebx, 4
cmp ebp, edi
jb 0x504b31
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x504bae
push 0x256
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004b96d0
mov ebx, dword [esp + 0x24]
add esp, 0x14
mov edi, dword [esp + 0x14]
xor esi, esi
jmp 0x504a48
mov ebp, dword [esp + 0x60]
push ebp
call fcn.004cd490
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x504e7b
xor ebx, ebx
test edi, edi
je 0x504c9c
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 0x504bfb
push dword [eax + edi]
jmp 0x504bff
push dword [esp + 0x4c]
mov eax, dword [edi]
push dword [eax]
call fcn.004cd050
add esp, 8
test eax, eax
je 0x504e2e
cmp dword [esi + edi], 1
jbe 0x504c8a
mov eax, dword [edi]
push dword [esp + 0x78]
mov esi, dword [esp + 0x1c]
push dword [eax]
push esi
push ebp
call fcn.004cd0c0
add esp, 0x10
test eax, eax
je 0x504e5f
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 0x504c86
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.004ccf20
add esp, 0x14
test eax, eax
je 0x504e2e
mov eax, dword [esp + 0x30]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x504c50
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x70]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x34]
jb 0x504bf0
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
push edi
push eax
push dword [esp + 0x40]
push ebp
call fcn.004cd6f0
add esp, 0x10
test eax, eax
je 0x504e2e
mov ecx, dword [esp + 0x24]
mov ebx, 1
sub ecx, ebx
mov dword [esp + 0x38], ecx
js 0x504e15
jmp 0x504cd6
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test ebx, ebx
jne 0x504cf6
push edi
push esi
push esi
push ebp
call fcn.004cd0c0
add esp, 0x10
test eax, eax
je 0x504e2e
mov ecx, dword [esp + 0x38]
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jbe 0x504dea
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 0x504dd4
mov eax, dword [eax]
movsx esi, byte [eax + ecx]
test esi, esi
je 0x504dd0
xor eax, eax
test esi, esi
sets al
test eax, eax
je 0x504d46
neg esi
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x504d7d
test ebx, ebx
jne 0x504d72
push dword [esp + 0x78]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.004cd290
add esp, 0xc
test eax, eax
je 0x504e2e
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 0x504da9
push dword [eax + esi*4]
mov esi, dword [esp + 0x68]
push esi
call fcn.004cd050
add esp, 8
test eax, eax
je 0x504e2e
mov ecx, dword [esp + 0x38]
xor ebx, ebx
mov edx, dword [esp + 0x4c]
jmp 0x504dd4
push dword [esp + 0x78]
push dword [eax + esi*4]
mov esi, dword [esp + 0x6c]
push esi
push esi
push dword [esp + 0x70]
call fcn.004ccf20
add esp, 0x14
test eax, eax
je 0x504e2e
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
jmp 0x504dd4
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x28]
jb 0x504d20
mov edi, dword [esp + 0x78]
sub ecx, 1
mov dword [esp + 0x38], ecx
jns 0x504cd2
test ebx, ebx
jne 0x504e11
cmp dword [esp + 0x3c], ebx
je 0x504e26
push edi
push esi
push dword [esp + 0x68]
call fcn.004cd290
add esp, 0xc
jmp 0x504e22
mov ebp, dword [esp + 0x60]
push dword [esp + 0x64]
push ebp
call fcn.004cd690
add esp, 8
test eax, eax
je 0x504e2e
mov dword [esp + 0x54], 1
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x504a48
push 0x1b8
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004b96d0
add esp, 0x14
jmp 0x504a44
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x504a48
mov edi, dword [esp + 0x14]
xor esi, esi
mov ebx, dword [esp + 0x10]
jmp 0x504a48
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x504a48