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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ba332
sub esp, 0x70
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xc], ebx
call fcn.004aea60
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
cmp eax, 0
je 0x4ba0e2
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x70
ret
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x4c], ebp
mov ecx, ebp
cmp ebp, 2
jne 0x4ba26e
mov dword [esp], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 4], ecx
mov ebp, 0x5f57bb
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.00452ad0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ba26e
mov ebx, dword [esp + 0x88]
xor ebp, ebp
cmp ebx, ebp
jne 0x4ba166
mov dword [esp + 0x8c], 0
mov ebx, dword [0x6c84e8]
mov dword [esp + 0x90], ebx
mov ebx, dword [0x6c84ec]
mov dword [esp + 0x94], ebx
add esp, 0x70
ret
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc], ebx
mov eax, 0x6b3240
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, 0x6b3240
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 3
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x24], ebx
mov ebx, 0x5f5bf9
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call fcn.004bc1d0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
cmp ecx, 0
je 0x4ba211
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x70
ret
mov dword [esp + 0x40], eax
mov dword [esp], 0x5cc520
call fcn.0040e800
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
cmp ecx, 0
je 0x4ba26a
cmp byte [0x6d9e38], 0
jne 0x4ba258
mov dword [ecx], eax
mov dword [esp + 0x8c], ecx
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
add esp, 0x70
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040f1d0
mov ecx, dword [esp + 0x44]
jmp 0x4ba23d
mov dword [ecx], eax
jmp 0x4ba232
cmp ecx, 3
jne 0x4ba2aa
mov dword [esp], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 4], ecx
mov ebp, 0x5f5986
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.00452ad0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4ba130
mov dword [esp + 0x64], ecx
cmp ecx, 3
jne 0x4ba2de
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebp, 0x5f5989
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.00452ad0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4ba130
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x8c], 0
mov dword [esp], 0x6b1030
lea ebx, [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040b9b0
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x94], ebx
add esp, 0x70
ret
call fcn.00450db0
jmp fcn.004ba050