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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e65f3
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
test ecx, ecx
jbe 0x4e63de
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0x14]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 8], 0
lea eax, [eax + eax*8]
lea eax, [ecx + eax*2]
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4e621e
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4e61bc
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x6a825a]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c37d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
lea eax, [0x662d20]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
lea ecx, [0x66bb40]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
call fcn.004092a0
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
lea ecx, [0x70bfdc]
mov dword [esp + 8], ecx
lea ecx, [0x8e42bc]
mov dword [esp + 0xc], ecx
lea ecx, [0x655aa0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
call fcn.004ba9b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4e630d
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
test ecx, ecx
je 0x4e62ab
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x6a9fc2]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c37d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x50]
mov ebx, dword [ecx]
cmp ebx, 4
jbe 0x4e63b2
add ebx, 0xfffffffc
mov dword [ecx], ebx
cmp ebx, 0xa00000
jb 0x4e6334
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4e64e2
lea eax, [0x662da0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0044b410
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
lea edx, [0x66bb40]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
call fcn.004092a0
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.0048f610
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, edx
mov ebp, dword [esp + 0x4c]
jmp 0x4e640a
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
test eax, eax
je 0x4e6485
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
je 0x4e6423
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [0x6a6afa]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c37d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], edi
lea eax, [edi + ebx]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004633f0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
sub dword [ecx], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
mov edi, dword [ecx]
test edi, edi
jbe 0x4e65e6
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x44], esi
cmp edi, 0xa00000
jbe 0x4e6505
mov edi, 0xa00000
mov dword [esp + 0x24], edi
lea eax, [0x662da0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edi
call fcn.0044b410
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
lea ecx, [0x66bb40]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
call fcn.004092a0
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
call fcn.0048f610
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x4e65d8
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
lea ebp, [ebx + edx]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x30]
cmp esi, ebp
jb 0x4e659d
mov edi, dword [esp + 0x44]
jmp 0x4e64a5
lea eax, [0x662da0]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.0044b610
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov edi, esi
mov esi, ebx
mov ebx, dword [esp + 0x2c]
jmp 0x4e64a5
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov edx, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
mov ebp, esi
jmp 0x4e640a
call fcn.00461660
jmp fcn.004e6140