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

Disassembly:
mov eax, 0x4c
call fcn.005808b0
push ebx
push ebp
mov ebp, dword [esp + 0x58]
xor eax, eax
push esi
xor esi, esi
mov dword [esp + 0x50], 0
push edi
push dword [ebp + 8]
mov dword [esp + 0x48], 0
xor ebx, ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call fcn.00489310
mov edi, dword [esp + 0x6c]
add esp, 4
test eax, eax
jne 0x4e7a4b
push dword [ebp + 0xc]
call fcn.00489310
add esp, 4
test eax, eax
jne 0x4e7a4b
mov eax, dword [ebp + 8]
cmp edi, eax
je 0x4e7a16
test edi, edi
je 0x4e7a1a
cmp dword [esp + 0x6c], ebx
jne 0x4e7a53
push dword [esp + 0x78]
push ebx
push edi
push dword [esp + 0x70]
push ebp
call fcn.004e7330
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test edi, edi
jne 0x4e7a53
cmp dword [esp + 0x6c], 1
jne 0x4e7a4b
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx]
cmp ecx, eax
je 0x4e7a4b
push dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push dword [eax]
push ecx
push dword [esp + 0x70]
push ebp
call fcn.004e7330
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test edi, edi
je 0x4e7b1e
push ebp
call fcn.00488bb0
mov ecx, eax
add esp, 4
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x4e7a86
push 0x1d6
push str.cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call fcn.00495880
add esp, 0x14
jmp 0x4e7dd9
mov ebx, dword [ebp + 0x60]
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x4e7b0b
cmp dword [ebx + 8], esi
je 0x4e7b0b
mov eax, dword [ebx + 0x10]
push dword [esp + 0x78]
push dword [eax]
push ecx
push ebp
call fcn.004b90e0
add esp, 0x10
test eax, eax
jne 0x4e7b0b
mov esi, dword [ebx + 4]
push edi
mov dword [esp + 0x30], esi
call fcn.004893d0
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 0x4e7b04
push 0x1f2
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.00495880
add esp, 0x14
xor ebx, ebx
jmp 0x4e7dd9
cmp edx, esi
cmovbe esi, edx
jmp 0x4e7b1a
xor eax, eax
mov esi, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x6c]
add eax, esi
push 0x200
push str.cryptoecec_mult.c
mov dword [esp + 0x24], eax
lea esi, [eax*4]
push esi
call fcn.004855e0
push 0x201
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x2c], eax
call fcn.004855e0
push 0x203
lea ecx, [esi + 4]
mov dword [esp + 0x40], eax
push str.cryptoecec_mult.c
push ecx
call fcn.004855e0
push 0x204
mov ebx, eax
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x50], ebx
call fcn.004855e0
add esp, 0x30
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x4e7b91
mov dword [ebx], 0
cmp dword [esp + 0x14], 0
je 0x4e838b
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4e838b
test ebx, ebx
je 0x4e838b
test eax, eax
je 0x4e838b
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x3c], 0
lea ecx, [eax + edx]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4e7cd5
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x74]
sub ecx, edi
mov dword [esp + 0x50], ecx
sub eax, edi
mov ecx, esi
mov dword [esp + 0x74], eax
sub ecx, edi
mov dword [esp + 0x58], ecx
nop dword [eax]
mov esi, dword [esp + 0x68]
cmp ebx, edx
jae 0x4e7c0d
mov eax, dword [eax + edi]
jmp 0x4e7c0f
mov eax, esi
push eax
call fcn.004893d0
add esp, 4
cmp eax, 0x7d0
jb 0x4e7c26
mov ecx, 6
jmp 0x4e7c56
cmp eax, 0x320
jb 0x4e7c34
mov ecx, 5
jmp 0x4e7c56
cmp eax, 0x12c
jb 0x4e7c42
mov ecx, 4
jmp 0x4e7c56
cmp eax, 0x46
jb 0x4e7c4e
mov ecx, 3
jmp 0x4e7c56
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 + 0x6c]
jae 0x4e7c7f
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + edi]
jmp 0x4e7c81
mov eax, esi
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.004ddb30
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x4e7dd5
mov eax, dword [esi]
cmp eax, dword [esp + 0x18]
mov edx, dword [esp + 0x6c]
cmovbe eax, dword [esp + 0x18]
inc ebx
mov ecx, eax
add edi, 4
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], ecx
cmp ebx, dword [esp + 0x38]
jb 0x4e7c00
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x28], 0
je 0x4e7fdb
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x4e7d11
cmp eax, 1
je 0x4e7fdb
push 0x229
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.00495880
add esp, 0x14
jmp 0x4e7dd5
mov dword [esp + 0x30], 0
test eax, eax
je 0x4e7d24
push 0x232
jmp 0x4e7cf6
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
mov dword [ecx + edx*4], eax
lea ecx, [esp + 0x30]
push ecx
push eax
push edi
call fcn.004ddb30
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x4e7dd5
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x18]
ja 0x4e7d85
mov edx, dword [esp + 0x6c]
lea eax, [edx + 1]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [eax + edx*4], ebx
mov dword [eax + edx*4 + 4], 0
mov eax, dword [esp + 0x24]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
mov dword [ecx + edx*4], eax
jmp 0x4e7fdb
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
imul eax, edi
cmp ecx, eax
jae 0x4e7eaf
lea eax, [edi - 1]
xor edx, edx
add eax, ecx
div edi
cmp eax, dword [esi + 8]
jbe 0x4e7ea3
push 0x25d
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.00495880
push 0x25e
push str.cryptoecec_mult.c
push ebx
call fcn.00485610
add esp, 0x20
mov ebx, dword [esp + 0x10]
xor ebp, ebp
push dword [esp + 0x44]
call fcn.004b9280
push 0x306
push str.cryptoecec_mult.c
push dword [esp + 0x20]
call fcn.00485610
push 0x307
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.00485610
mov edi, dword [esp + 0x3c]
add esp, 0x1c
test edi, edi
je 0x4e7e50
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x4e7e3d
nop dword [eax]
push 0x30c
push str.cryptoecec_mult.c
push eax
call fcn.00485610
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 0xc
test eax, eax
jne 0x4e7e20
push 0x30e
push str.cryptoecec_mult.c
push edi
call fcn.00485610
add esp, 0xc
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x4e7e86
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x4e7e73
push eax
call fcn.004b90a0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x4e7e60
push 0x314
push str.cryptoecec_mult.c
push edi
call fcn.00485610
add esp, 0xc
push 0x316
push str.cryptoecec_mult.c
push ebx
call fcn.00485610
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x1c], eax
jmp 0x4e7eb7
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], ebx
mov edi, edx
mov ebx, dword [esi + 0x10]
cmp edx, eax
jae 0x4e7fc5
mov ebp, dword [esp + 0x24]
lea esi, [edx*4]
mov edx, dword [esp + 0x20]
add esi, ebp
mov eax, dword [esp + 0x10]
sub edx, ebp
sub eax, ebp
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], eax
nop dword [eax]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x60]
dec eax
cmp edi, eax
jae 0x4e7f13
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
cmp ecx, eax
jb 0x4e7f96
sub ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x4e7f15
mov dword [esi], ecx
push 0x279
mov dword [edx + esi + 4], 0
push str.cryptoecec_mult.c
push dword [esi]
call fcn.004855e0
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x4e804e
push dword [esi]
push dword [esp + 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x18]
cmovbe eax, dword [esp + 0x18]
cmp dword [ebx], 0
mov ecx, eax
mov dword [esp + 0x18], ecx
je 0x4e8023
mov eax, dword [esp + 0x58]
inc edi
mov dword [eax + esi], ebx
add esi, 4
mov eax, dword [esp + 0x48]
lea ebx, [ebx + eax*4]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x28], eax
cmp edi, dword [esp + 0x1c]
jae 0x4e7fc1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
jmp 0x4e7ef0
push 0x26c
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.00495880
push 0x26d
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x4e7dcd
mov dword [esp + 0x18], ecx
push 0x28c
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.00485610
add esp, 0xc
mov ebx, dword [esp + 0x3c]
push 0x296
push str.cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.004855e0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x4e8079
push 0x298
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.00495880
add esp, 0x14
jmp 0x4e7dd5
push 0x284
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.00495880
push 0x285
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x4e7dcd
push 0x27b
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.00495880
push 0x27c
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x4e7dcd
mov edi, dword [esp + 0x38]
lea eax, [ecx + ebx*4]
xor edx, edx
mov dword [esp + 0x48], eax
mov dword [eax], 0
mov esi, ecx
mov dword [esp + 0x50], edx
test edi, edi
je 0x4e80f8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
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 0x4e80e0
push ebp
call fcn.004b95d0
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4e7dd5
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x4e80b7
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x58]
add ebx, 4
mov dword [esp + 0x50], edx
cmp edx, edi
jb 0x4e80a4
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x4e8106
push 0x2a9
jmp 0x4e7cf6
push ebp
call fcn.004b95d0
mov esi, eax
add esp, 4
mov dword [esp + 0x44], esi
test esi, esi
je 0x4e83ab
xor ebx, ebx
test edi, edi
je 0x4e81ec
mov ecx, dword [esp + 0x10]
mov edi, ecx
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x34], esi
cmp ebx, dword [esp + 0x6c]
jae 0x4e814c
push dword [edi + eax]
jmp 0x4e8150
push dword [esp + 0x54]
mov eax, dword [edi]
push dword [eax]
call fcn.004b9170
add esp, 8
test eax, eax
je 0x4e7dd5
cmp dword [edi + esi], 1
jbe 0x4e81da
mov eax, dword [edi]
push dword [esp + 0x78]
push dword [eax]
push dword [esp + 0x4c]
push ebp
call fcn.004b91f0
add esp, 0x10
test eax, eax
je 0x4e7dd5
mov ecx, dword [esp + 0x34]
mov esi, 1
mov eax, esi
mov ecx, dword [edi + ecx]
dec ecx
shl eax, cl
cmp eax, esi
jbe 0x4e81d6
nop dword [eax]
push dword [esp + 0x78]
mov eax, dword [edi]
push dword [esp + 0x48]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebp
call fcn.004b8ff0
add esp, 0x14
test eax, eax
je 0x4e7dd5
mov eax, dword [esp + 0x34]
inc esi
mov ecx, dword [edi + eax]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x4e81a0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x38]
jb 0x4e8141
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x4c]
push edi
push eax
push dword [esp + 0x44]
push ebp
call fcn.004b9880
add esp, 0x10
test eax, eax
je 0x4e7dd5
mov ecx, dword [esp + 0x18]
mov ebp, 1
mov ebx, dword [esp + 0x64]
sub ecx, ebp
mov dword [esp + 0x18], ecx
js 0x4e8368
mov esi, dword [esp + 0x60]
test ebp, ebp
jne 0x4e8244
push edi
push ebx
push ebx
push esi
call fcn.004b91f0
add esp, 0x10
test eax, eax
je 0x4e7dd5
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x38], edx
cmp dword [esp + 0x1c], edx
jbe 0x4e8344
mov edi, dword [esp + 0x20]
mov ebx, edi
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
sub eax, ebx
mov dword [esp + 0x48], esi
sub dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
nop dword [eax + eax]
cmp dword [eax + edi], ecx
jbe 0x4e832e
mov eax, dword [edi]
mov al, byte [ecx + eax]
movsx ecx, al
test al, al
je 0x4e8326
movzx eax, al
mov esi, ecx
shr eax, 7
neg esi
test eax, eax
cmove esi, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
je 0x4e82dc
test ebp, ebp
jne 0x4e82d1
push dword [esp + 0x78]
push ebx
push dword [esp + 0x68]
call fcn.004b93b0
add esp, 0xc
test eax, eax
je 0x4e7dd5
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
sar esi, 1
mov eax, dword [eax + edi]
mov eax, dword [eax + esi*4]
test ebp, ebp
je 0x4e8306
push eax
push ebx
call fcn.004b9170
add esp, 8
xor ebp, ebp
test eax, eax
je 0x4e83ad
mov esi, dword [esp + 0x60]
jmp 0x4e8322
push dword [esp + 0x78]
mov esi, dword [esp + 0x64]
push eax
push ebx
push ebx
push esi
call fcn.004b8ff0
add esp, 0x14
test eax, eax
je 0x4e7dd5
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
inc edx
add edi, 4
mov dword [esp + 0x38], edx
cmp edx, dword [esp + 0x1c]
jb 0x4e8280
mov edi, dword [esp + 0x78]
sub ecx, 1
mov dword [esp + 0x18], ecx
jns 0x4e8224
test ebp, ebp
jne 0x4e8368
cmp dword [esp + 0x40], ebp
je 0x4e837d
push edi
push ebx
push esi
call fcn.004b93b0
add esp, 0xc
jmp 0x4e8375
push ebx
push dword [esp + 0x64]
call fcn.004b9820
add esp, 8
test eax, eax
je 0x4e7dd5
mov ebx, dword [esp + 0x10]
mov ebp, 1
jmp 0x4e7ddb
push 0x20b
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.00495880
add esp, 0x14
jmp 0x4e7dd5
xor ebp, ebp
mov ebx, dword [esp + 0x10]
jmp 0x4e7ddb