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

Disassembly:
mov eax, 0x54
call fcn.00451900
mov ecx, dword [esp + 0x5c]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x5c]
push esi
xor esi, esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov edx, dword [ebp]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], eax
cmp edx, dword [ecx]
je 0x5487be
push 0x246
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004f4f80
add esp, 0x14
xor eax, eax
pop esi
pop ebp
add esp, 0x54
ret
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x6c]
test edi, edi
jne 0x5487e0
test esi, esi
jne 0x5487e0
push ecx
push ebp
call fcn.00512f40
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x54
ret
cmp dword [ebp + 0xc], eax
je 0x548832
cmp dword [ebp + 0x20], eax
je 0x548832
test edi, edi
je 0x548809
test esi, esi
jne 0x548832
push dword [esp + 0x7c]
push esi
push edi
push ecx
push ebp
call fcn.00548240
add esp, 0x14
pop edi
pop esi
pop ebp
add esp, 0x54
ret
cmp esi, 1
jne 0x548832
push dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push dword [eax]
mov eax, dword [esp + 0x80]
push dword [eax]
push ecx
push ebp
call fcn.00548240
add esp, 0x14
pop edi
pop esi
pop ebp
add esp, 0x54
ret
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x78]
test esi, esi
je 0x54884c
nop dword [eax]
mov eax, dword [ebx + ecx*4]
cmp edx, dword [eax]
jne 0x5488ad
inc ecx
cmp ecx, esi
jb 0x548840
mov esi, dword [esp + 0x80]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x548872
call fcn.005099d0
mov dword [esp + 0x54], eax
mov esi, eax
mov dword [esp + 0x24], eax
test eax, eax
je 0x548e2d
test edi, edi
je 0x548979
push ebp
call fcn.004eb360
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x5488d2
push 0x27a
push str..cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call fcn.004f4f80
add esp, 0x14
xor ebx, ebx
jmp 0x548d82
push 0x26c
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.004f4f80
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x54
ret
push 0x548610
push fcn.005486b0
push 0x548680
push dword [ebp + 0x44]
call fcn.00511740
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x548964
cmp dword [ebx + 8], 0
je 0x548964
mov ecx, dword [ebx + 0x10]
push esi
push dword [ecx]
push dword [esp + 0x54]
push ebp
call fcn.00512830
add esp, 0x10
test eax, eax
jne 0x548964
mov esi, dword [ebx + 4]
push edi
mov dword [esp + 0x1c], esi
call fcn.004ea190
xor edx, edx
mov ecx, dword [ebx + 0xc]
div esi
mov esi, dword [ebx + 8]
dec ecx
add esp, 4
lea edx, [eax + 1]
mov eax, 1
shl eax, cl
mov dword [esp + 0x48], eax
mov eax, esi
imul eax, dword [esp + 0x48]
cmp dword [ebx + 0x14], eax
je 0x548959
push 0x299
push str..cryptoecec_mult.c
push 0x44
jmp 0x548897
cmp edx, esi
cmovbe esi, edx
mov dword [esp + 0x14], esi
jmp 0x54897b
mov esi, 1
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], esi
jmp 0x54897b
xor esi, esi
mov eax, dword [esp + 0x74]
add eax, esi
push 0x2a7
push str..cryptoecec_mult.c
mov dword [esp + 0x38], eax
lea esi, [eax*4]
push esi
call fcn.004e7000
push 0x2a8
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x40], eax
call fcn.004e7000
push 0x2aa
lea ecx, [esi + 4]
mov dword [esp + 0x3c], eax
push str..cryptoecec_mult.c
push ecx
call fcn.004e7000
push 0x2ab
mov ebx, eax
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x40], ebx
call fcn.004e7000
add esp, 0x30
mov dword [esp + 0x2c], eax
test ebx, ebx
je 0x5489ee
mov dword [ebx], 0
cmp dword [esp + 0x28], 0
je 0x549172
cmp dword [esp + 0x20], 0
je 0x549172
test ebx, ebx
je 0x549172
test eax, eax
je 0x549172
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], 0
lea edx, [eax + ecx]
mov dword [esp + 0x38], edx
test edx, edx
je 0x548b2f
mov edx, dword [esp + 0x28]
mov edi, edx
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x7c]
sub eax, edx
mov dword [esp + 0x50], eax
sub esi, edx
mov eax, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], eax
nop dword [eax]
cmp ebx, ecx
jae 0x548a69
mov eax, dword [esi + edi]
jmp 0x548a6d
mov eax, dword [esp + 0x70]
push eax
call fcn.004ea190
add esp, 4
cmp eax, 0x7d0
jb 0x548a84
mov ecx, 6
jmp 0x548ab4
cmp eax, 0x320
jb 0x548a92
mov ecx, 5
jmp 0x548ab4
cmp eax, 0x12c
jb 0x548aa0
mov ecx, 4
jmp 0x548ab4
cmp eax, 0x46
jb 0x548aac
mov ecx, 3
jmp 0x548ab4
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [edi], ecx
mov eax, 1
dec ecx
shl eax, cl
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov dword [eax + edi + 4], 0
cmp ebx, dword [esp + 0x74]
jae 0x548ad9
mov eax, dword [esi + edi]
jmp 0x548add
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x5c]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.00548060
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x548d7e
mov eax, dword [esi]
cmp eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x60]
cmovbe eax, dword [esp + 0x1c]
inc ebx
mov ecx, dword [esp + 0x74]
add edi, 4
mov dword [esp + 0x1c], eax
cmp ebx, dword [esp + 0x38]
jb 0x548a60
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x548d0b
mov ebx, dword [esp + 0x44]
test ebx, ebx
jne 0x548b6c
cmp eax, 1
je 0x548d0b
push 0x2d0
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004f4f80
add esp, 0x14
jmp 0x548d7e
mov dword [esp + 0x50], 0
test eax, eax
je 0x548b7f
push 0x2d9
jmp 0x548b51
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0xc]
mov dword [edx + ecx*4], eax
lea ecx, [esp + 0x50]
push ecx
push eax
push edi
call fcn.00548060
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x548d7e
mov edi, dword [esp + 0x50]
cmp edi, dword [esp + 0x1c]
ja 0x548be0
mov esi, dword [esp + 0x74]
lea eax, [esi + 1]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [eax + esi*4], ecx
mov ecx, dword [esp + 0x2c]
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 0x548d0b
mov eax, dword [esp + 0x18]
imul esi, eax
cmp edi, esi
jae 0x548c10
dec eax
xor edx, edx
add eax, edi
div dword [esp + 0x18]
cmp eax, dword [ebx + 8]
jbe 0x548c03
push 0x306
jmp 0x548b51
mov esi, dword [esp + 0x74]
lea edx, [eax + esi]
mov dword [esp + 0x30], edx
jmp 0x548c18
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x10]
mov ebx, esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], eax
cmp esi, edx
jae 0x548d02
mov eax, dword [esp + 0x20]
dec edx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x14], ecx
lea esi, [eax + esi*4]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
cmp ebx, edx
jae 0x548c65
mov dword [esi], eax
cmp edi, eax
jb 0x548cf0
sub edi, eax
jmp 0x548c67
mov dword [esi], edi
push 0x320
mov dword [esi + ecx + 4], 0
push str..cryptoecec_mult.c
push dword [esi]
call fcn.004e7000
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + ecx], eax
test eax, eax
je 0x548e39
push dword [esi]
push dword [esp + 0x48]
push eax
call fcn.005c7150
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x1c]
cmovbe eax, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
cmp dword [eax], 0
je 0x548d5a
mov ecx, dword [esp + 0x60]
inc ebx
mov dword [esi + ecx], eax
add esi, 4
mov ecx, dword [esp + 0x48]
lea eax, [eax + ecx*4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x44], eax
cmp ebx, dword [esp + 0x30]
jae 0x548cfa
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
jmp 0x548c53
push 0x314
jmp 0x548b51
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
push ecx
call fcn.004e6f20
add esp, 4
mov ebx, dword [esp + 0x3c]
push 0x33d
push str..cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.004e7000
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x548e4a
push 0x33f
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004f4f80
mov ebx, dword [esp + 0x24]
add esp, 0x14
xor esi, esi
jmp 0x548d86
push 0x32b
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004f4f80
push dword [esp + 0x48]
call fcn.004e6f20
add esp, 0x18
mov ebx, dword [esp + 0x10]
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x54]
test eax, eax
je 0x548d97
push eax
call fcn.00509850
add esp, 4
test esi, esi
je 0x548da4
push esi
call fcn.005129d0
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x548db5
push eax
call fcn.004e6f20
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x548dc6
push eax
call fcn.004e6f20
add esp, 4
test ebx, ebx
je 0x548dee
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x548de5
push eax
call fcn.004e6f20
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x548dd2
push ebx
call fcn.004e6f20
add esp, 4
test edi, edi
je 0x548e1c
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x548e13
nop word [eax + eax]
push eax
call fcn.005127f0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x548e00
push edi
call fcn.004e6f20
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x548e2d
push eax
call fcn.004e6f20
add esp, 4
mov eax, dword [esp + 0x58]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x54
ret
push 0x322
push str..cryptoecec_mult.c
push 0x41
jmp 0x548d66
lea eax, [edi + ebx*4]
mov esi, edi
xor edx, edx
mov dword [eax], 0
mov edi, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], edx
test edi, edi
je 0x548ec9
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
sub eax, ebx
mov dword [esp + 0x60], 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 0x548eb1
push ebp
call fcn.00512ce0
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x54919f
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x548e88
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x60]
add ebx, 4
mov dword [esp + 0x50], edx
cmp edx, edi
jb 0x548e75
mov eax, dword [esp + 0x5c]
cmp esi, eax
je 0x548ef7
push 0x350
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.004f4f80
mov ebx, dword [esp + 0x24]
add esp, 0x14
mov edi, dword [esp + 0x14]
xor esi, esi
jmp 0x548d86
push ebp
call fcn.00512ce0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x5491ae
xor ebx, ebx
test edi, edi
je 0x548fdc
mov ecx, dword [esp + 0x2c]
mov edi, ecx
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x28]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x34], esi
cmp ebx, dword [esp + 0x74]
jae 0x548f3b
push dword [eax + edi]
jmp 0x548f3f
push dword [esp + 0x4c]
mov eax, dword [edi]
push dword [eax]
call fcn.005128a0
add esp, 8
test eax, eax
je 0x549161
cmp dword [esi + edi], 1
jbe 0x548fca
mov eax, dword [edi]
push dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
push dword [eax]
push esi
push ebp
call fcn.00512910
add esp, 0x10
test eax, eax
je 0x549192
mov ecx, dword [esp + 0x34]
mov esi, 1
mov eax, esi
mov ecx, dword [ecx + edi]
dec ecx
shl eax, cl
cmp eax, esi
jbe 0x548fc6
nop dword [eax]
push dword [esp + 0x24]
mov eax, dword [edi]
push dword [esp + 0x1c]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebp
call fcn.00512770
add esp, 0x14
test eax, eax
je 0x549161
mov eax, dword [esp + 0x34]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x548f90
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x38]
jb 0x548f30
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edi
push eax
push dword [esp + 0x44]
push ebp
call fcn.00512fa0
add esp, 0x10
test eax, eax
je 0x549161
mov ecx, dword [esp + 0x1c]
mov ebx, 1
sub ecx, ebx
mov dword [esp + 0x1c], ecx
js 0x549148
jmp 0x549016
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
test ebx, ebx
jne 0x549036
push edi
push esi
push esi
push ebp
call fcn.00512910
add esp, 0x10
test eax, eax
je 0x549161
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
cmp dword [esp + 0x30], ebp
jbe 0x54911d
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
sub eax, edi
sub edx, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
nop word [eax + eax]
cmp dword [eax + edi], ecx
jbe 0x54910b
mov eax, dword [edi]
mov al, byte [ecx + eax]
movsx ecx, al
test al, al
je 0x549103
mov esi, ecx
movzx eax, al
neg esi
cmp eax, 0x80
cmovb esi, ecx
mov ecx, dword [esp + 0x40]
shr eax, 7
cmp eax, ecx
je 0x5490c6
test ebx, ebx
jne 0x5490bb
push dword [esp + 0x24]
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.00512ae0
add esp, 0xc
test eax, eax
je 0x549161
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x40], eax
mov eax, dword [edx + edi]
sar esi, 1
mov eax, dword [eax + esi*4]
mov esi, dword [esp + 0x6c]
test ebx, ebx
je 0x5490e8
push eax
push esi
call fcn.005128a0
add esp, 8
test eax, eax
je 0x549161
xor ebx, ebx
jmp 0x5490ff
push dword [esp + 0x24]
push eax
push esi
push esi
push dword [esp + 0x78]
call fcn.00512770
add esp, 0x14
test eax, eax
je 0x549161
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x30]
jb 0x549060
mov edi, dword [esp + 0x24]
sub ecx, 1
mov dword [esp + 0x1c], ecx
jns 0x549012
test ebx, ebx
jne 0x549144
cmp dword [esp + 0x40], ebx
je 0x549159
push edi
push esi
push dword [esp + 0x70]
call fcn.00512ae0
add esp, 0xc
jmp 0x549155
mov ebp, dword [esp + 0x68]
push dword [esp + 0x6c]
push ebp
call fcn.00512f40
add esp, 8
test eax, eax
je 0x549161
mov dword [esp + 0x58], 1
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x548d86
push 0x2b2
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.004f4f80
add esp, 0x14
jmp 0x548d82
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x548d86
mov edi, dword [esp + 0x14]
xor esi, esi
mov ebx, dword [esp + 0x10]
jmp 0x548d86
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x548d86