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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e9d08
sub esp, 0x54
mov eax, dword [esp + 0x5c]
test eax, 4
je 0x4e9a25
mov ecx, 8
mov edx, 1
mov ebx, 1
jmp 0x4e9a49
test eax, 2
je 0x4e9a3d
mov ecx, 4
mov edx, 2
mov ebx, 1
jmp 0x4e9a49
mov ecx, 2
mov edx, 4
xor ebx, ebx
mov byte [esp + 0x27], bl
test eax, 8
je 0x4e9a5a
shl ecx, 4
or edx, 0x20
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x58]
mov ebp, eax
add eax, ebx
mov esi, dword [esp + 0x64]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov ecx, ebx
sar ebx, 0x1f
add ebp, ecx
mov ebp, dword [esp + 0x6c]
adc ebx, ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
call fcn.004dbd50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x4e9b43
test ecx, ecx
jne 0x4e9ac1
xor eax, eax
xor ecx, ecx
jmp 0x4e9b1c
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], edx
lea eax, [0x5f0ea0]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x610e3d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x4e9b04
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
jmp 0x4e9b14
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.004610d0
mov eax, ecx
mov ecx, eax
lea eax, [0x6683ec]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x54
ret
mov dword [esp + 0x28], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], ecx
call fcn.004dc230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x4e9c27
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004dbc60
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4e9bad
xor eax, eax
xor ecx, ecx
jmp 0x4e9c00
lea eax, [0x5f0ea0]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xd
lea ecx, [0x60f065]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x4e9be8
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
jmp 0x4e9bf8
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.004610d0
mov eax, ecx
mov ecx, eax
lea eax, [0x6683ec]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x54
ret
mov dword [esp + 0x34], eax
lea eax, [0x7e1a90]
mov dword [esp], eax
call fcn.0046a120
lea eax, [0x5f53a0]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
movzx ecx, byte [esp + 0x27]
mov byte [eax + 8], cl
mov ecx, dword [0x7ba2a8]
lea edx, [0x5e6ae0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.0040e080
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x7e1c20]
test eax, eax
jne 0x4e9c9c
mov eax, dword [esp + 0x40]
mov dword [edi], eax
jmp 0x4e9ca5
mov eax, dword [esp + 0x40]
call fcn.004610d0
lea eax, [0x7e1a90]
mov dword [esp], eax
call fcn.0046a4c0
lea eax, [0x7e1a80]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x54
ret
call fcn.0045fcc0
jmp fcn.004e99f0