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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4ba4a5
sub esp, 0x9c
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.004bd9d0
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x10]
movzx ebx, byte [esp + 0x11]
test bl, bl
je 0x4ba431
mov byte [esp + 0x42], al
mov dword [esp + 0x50], ecx
mov byte [esp + 0x43], dl
xor ebx, ebx
xor ebp, ebp
xor esi, esi
mov edi, esi
jmp 0x4ba095
mov eax, dword [esp + 0x48]
lea ebp, [eax + 1]
mov eax, edx
movzx edx, byte [esp + 0x43]
mov esi, ebx
mov edi, dword [esp + 0x68]
mov ebx, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x48], ebp
mov esi, dword [esp + 0xa4]
cmp ebx, esi
jge 0x4ba2bb
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.004b9970
mov eax, dword [esp + 0x20]
movzx ecx, byte [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
test edx, edx
jne 0x4ba285
mov dword [esp + 0x68], edx
cmp esi, 0x14
jg 0x4ba24f
cmp esi, 0xc
jne 0x4ba238
mov esi, 0x13
movzx edx, byte [esp + 0x42]
test dl, dl
je 0x4ba1af
lea ecx, [ebp + eax]
cmp ecx, eax
jge 0x4ba19e
mov eax, 1
test al, al
je 0x4ba07b
mov dword [esp + 0x70], 0
lea eax, [0x5fc499]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x12
lea eax, [0x699c40]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0040ab00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0x9c
ret
mov ebp, dword [esp + 0xa4]
cmp ecx, ebp
setg al
jmp 0x4ba128
test edi, edi
jne 0x4ba1ca
movzx edi, byte [esp + 0x43]
xchg edi, eax
cmp cl, al
xchg edi, eax
jne 0x4ba1ca
mov ecx, dword [esp + 0x50]
cmp esi, ecx
je 0x4ba11b
mov dword [esp + 0x78], 0
lea eax, [0x5fe96c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x15
lea eax, [0x699c20]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040ab00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0x9c
ret
cmp esi, 0x12
je 0x4ba109
cmp esi, 0x14
je 0x4ba109
jmp 0x4ba10e
cmp esi, 0x16
je 0x4ba109
lea edx, [esi - 0x17]
cmp edx, 1
ja 0x4ba26e
mov edx, dword [esp + 0x68]
mov esi, 0x17
jmp 0x4ba10e
cmp esi, 0x1b
jne 0x4ba27c
mov edx, dword [esp + 0x68]
jmp 0x4ba109
mov edx, dword [esp + 0x68]
jmp 0x4ba10e
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ebx
add esp, 0x9c
ret
mov dword [esp + 0x64], edi
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebp
call fcn.0048a3d0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x5c], edx
lea edi, [esp + 0x84]
mov ebx, eax
xor eax, eax
call fcn.004485ca
lea eax, [esp + 0x1c]
mov dword [esp + 0x58], eax
xor ecx, ecx
xor ebp, ebp
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
jmp 0x4ba338
mov ebx, dword [esp + 0x4c]
inc ebx
mov ebp, edx
mov esi, ecx
mov edi, eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ecx, ebx
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jge 0x4ba403
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ebp
mov dword [esp], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00488310
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x58]
lea esi, [esp + 0x84]
call fcn.00448aa4
call fcn.004ba4b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
test ecx, ecx
je 0x4ba31f
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0x9c
ret
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], edi
add esp, 0x9c
ret
mov dword [esp + 0x80], 0
lea eax, [0x601076]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x19
lea eax, [0x699c20]
mov dword [esp], eax
lea eax, [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.0040ab00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0x9c
ret
call fcn.00446b60
jmp fcn.004ba010