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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ba80c
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004bab50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
test eax, eax
jne 0x4ba7e4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x40], ecx
add ebx, ecx
mov dword [esp + 0x14], ebx
mov ebp, dword [eax + 0x40]
mov dword [esp + 0x20], ebp
add ebp, ebx
mov dword [esp + 0x3c], ebp
mov edi, dword [eax + 0x44]
mov dword [esp + 0x38], edi
mov ebp, dword [eax + 0x64]
mov dword [esp + 0x48], ebp
mov edi, dword [eax + 0x68]
mov dword [esp + 0x54], edi
mov eax, dword [eax + 0x78]
mov dword [esp + 0x34], eax
lea edi, [0x5ead40]
mov dword [esp], edi
call fcn.0040dcf0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
add edx, ecx
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
adc edx, ebx
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
add ebp, esi
mov ebp, dword [esp + 0x38]
adc ebp, edx
mov ebx, dword [0x749b10]
lea edi, [eax + 4]
test ebx, ebx
jne 0x4ba7b7
mov ebx, dword [esp + 0x54]
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ebp
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x60]
movzx ebx, word [ecx + 0x18]
mov word [esp + 4], bx
mov dword [esp], edx
call fcn.004ba370
mov edx, dword [esp + 8]
test edx, edx
je 0x4ba783
lea eax, [0x63d020]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x80]
movzx ebp, word [ebx + 0x16]
test bp, 8
jne 0x4ba69d
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ebp
call fcn.004a73c0
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp]
mov dword [esp + 0x74], ecx
lea edx, [0x5f1b60]
mov dword [esp], edx
call fcn.0040dcf0
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
mov ecx, dword [0x749b10]
lea edx, [eax + 4]
test ecx, ecx
jne 0x4ba684
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x749b10]
lea edx, [eax + 0xc]
lea ebx, [eax + 0x18]
test ecx, ecx
jne 0x4ba650
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x1c], ecx
mov ecx, dword [0x749b10]
lea edx, [eax + 0x20]
test ecx, ecx
jne 0x4ba63a
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x20], ecx
lea ecx, [0x63dd00]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x7c
ret
mov dword [esp], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x70]
jmp 0x4ba60c
mov dword [esp + 0x6c], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x70]
jmp 0x4ba5f1
mov dword [esp], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x70]
jmp 0x4ba5c9
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x3c], eax
mov ebp, dword [esp + 0x20]
add eax, ebp
mov dword [esp + 0x18], eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x68]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x4c], eax
mov ebx, dword [ebx + 0x78]
mov dword [esp + 0x34], ebx
lea edi, [0x5ead40]
mov dword [esp], edi
call fcn.0040dcf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
add ecx, edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
adc ecx, edx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
add edx, ebx
mov edx, dword [esp + 0x38]
adc ecx, edx
mov edx, dword [0x749b10]
mov ebx, dword [esp + 0x18]
mov ebp, ebx
add ebx, 0x10
mov ebx, ecx
adc ecx, 0
lea esi, [eax + 4]
test edx, edx
jne 0x4ba755
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ecx
mov edx, eax
lea ebp, [0x63d020]
jmp 0x4ba579
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp], esi
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
jmp 0x4ba732
mov eax, dword [0x737c40]
mov ecx, dword [0x737c44]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x7c
ret
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], edx
mov dword [esp], edi
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
jmp 0x4ba4fd
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
add esp, 0x7c
ret
call fcn.0044a470
jmp fcn.004ba420