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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d9dca
sub esp, 0x64
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
je 0x4d9b72
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.004d9f20
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x78]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x2c], ebp
mov esi, dword [esp + 8]
mov dword [esp + 0x38], esi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x68]
mov dword [esp], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call ecx
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4d9b5b
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4d9b5b
xor eax, eax
jmp 0x4d9bc7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x64
ret
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x64
ret
mov ecx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jge 0x4d9db3
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x58], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ebx
lea edx, [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004da920
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov edx, dword [0x7c3ac8]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp], eax
mov dword [esp + 4], ebx
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
je 0x4d9ce5
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x4d9bc0
mov eax, dword [esp + 0x18]
cmp dword [0x7cc680], eax
je 0x4d9ca6
mov eax, 1
jmp 0x4d9cd8
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ecx
mov ecx, dword [0x7cc684]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00404250
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
test al, al
je 0x4d9bc0
jmp 0x4d9d8d
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
call fcn.004d9ab0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x4d9bc0
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x4d9d9c
mov eax, dword [esp + 0x4c]
cmp dword [0x7cc680], eax
je 0x4d9d61
mov eax, 1
jmp 0x4d9d83
mov ecx, dword [0x7cc684]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00404250
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4d9bc0
jmp 0x4d9d9c
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
add esp, 0x64
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
call fcn.00465ea0
jmp fcn.004d9ab0