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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a9276
sub esp, 0x5c
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x20019
call fcn.0049cc90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x4a9259
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0xc
lea ecx, [0x6badc4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
call fcn.00429f20
test eax, eax
jne 0x4a924f
mov eax, dword [0x8ad398]
mov dword [esp], eax
call fcn.0048fa10
mov eax, dword [esp + 4]
test eax, eax
je 0x4a91d0
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
test eax, eax
jne 0x4a9119
mov eax, dword [esp + 0x70]
cmp eax, ecx
je 0x4a9031
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
nop
call fcn.0042a660
add esp, 0x5c
ret
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], ebp
mov dword [esp], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402300
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a900c
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
je 0x4a90f0
mov ecx, 1
test cl, cl
je 0x4a90ec
mov ecx, dword [esp + 0x70]
cmp eax, ecx
je 0x4a90ca
mov eax, 1
test al, al
je 0x4a90a5
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
nop
call fcn.0042a660
add esp, 0x5c
ret
mov byte [esp + 0x7c], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
nop
call fcn.0042a660
add esp, 0x5c
ret
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402300
movzx eax, byte [esp + 0xc]
xor eax, 1
jmp 0x4a907c
xor eax, eax
jmp 0x4a907c
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402300
movzx ecx, byte [esp + 0xc]
xor ecx, 1
mov eax, dword [esp + 0x78]
jmp 0x4a906b
mov eax, dword [esp + 0x24]
mov dword [esp], eax
lea ecx, [0x6a181f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
call fcn.0049d330
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test edx, edx
jne 0x4a91b3
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x24]
mov dword [esp], eax
lea eax, [0x6a179b]
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call fcn.0049d330
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test edx, edx
jne 0x4a9196
mov edx, dword [esp + 0x54]
mov ebx, eax
mov ebp, ecx
mov ecx, dword [esp + 0x20]
jmp 0x4a9004
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
nop
call fcn.0042a660
add esp, 0x5c
ret
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
nop
call fcn.0042a660
add esp, 0x5c
ret
mov eax, dword [esp + 0x24]
mov dword [esp], eax
lea ecx, [0x6a2340]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
call fcn.0049d4c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4a9213
xor ebx, ebx
xor ebp, ebp
mov esi, eax
mov eax, edx
mov edx, esi
mov edi, ebx
mov ebx, ebp
mov ebp, edi
jmp 0x4a8ffc
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x24]
mov dword [esp], eax
lea ecx, [0x6a2339]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
call fcn.0049d4c0
mov ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
jmp 0x4a9202
nop
call fcn.0042a660
add esp, 0x5c
ret
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
nop
call fcn.0042a660
add esp, 0x5c
ret
call fcn.0044f4e0
jmp fcn.004a8f40