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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ba532
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.004aec60
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 0x4ba2e2
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 0x4ba46e
mov dword [esp], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 4], ecx
mov ebp, 0x5f5b7b
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
call fcn.00452cd0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ba46e
mov ebx, dword [esp + 0x88]
xor ebp, ebp
cmp ebx, ebp
jne 0x4ba366
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, 0x5f5fb9
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call fcn.004bc3d0
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 0x4ba411
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], 0x5cc820
call fcn.0040ea00
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
cmp ecx, 0
je 0x4ba46a
cmp byte [0x6d9e38], 0
jne 0x4ba458
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.0040f3d0
mov ecx, dword [esp + 0x44]
jmp 0x4ba43d
mov dword [ecx], eax
jmp 0x4ba432
cmp ecx, 3
jne 0x4ba4aa
mov dword [esp], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 4], ecx
mov ebp, 0x5f5d46
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.00452cd0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4ba330
mov dword [esp + 0x64], ecx
cmp ecx, 3
jne 0x4ba4de
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ebp, 0x5f5d49
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.00452cd0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4ba330
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.0040bbb0
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.00450fb0
jmp fcn.004ba250