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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4bad33
sub esp, 0xa0
mov eax, 0
lea edi, [esp + 0x80]
call fcn.00449dd8
lea eax, [0x4f6a18]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00493990
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4bad0b
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004a5cf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4f61e1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004a5430
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4ba81c
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov ecx, edi
cmp edx, eax
jge 0x4ba941
mov dword [esp + 0x3c], edx
mov edi, ecx
lea ecx, [ecx + edx*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
test edx, edx
je 0x4ba813
mov dword [esp + 0x24], ebx
mov dword [esp + 0x58], esi
movzx esi, byte [ecx]
xchg esi, eax
cmp al, 0x2e
xchg esi, eax
jne 0x4ba8fa
lea esi, [ebx + 1]
cmp esi, ebp
jg 0x4ba8a4
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x4c]
lea esi, [ebp + ebx*8 + 4]
mov dword [esi], edx
mov edx, dword [0x5cd9c0]
lea ebx, [ebp + ebx*8]
test edx, edx
jne 0x4ba891
mov dword [ebx], ecx
mov esi, ebp
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
jmp 0x4ba813
mov edx, edi
mov edi, ebx
mov esi, eax
mov eax, ecx
call fcn.00449ce0
mov eax, esi
mov edi, edx
jmp 0x4ba885
mov dword [esp + 0x30], edx
mov dword [esp + 0x54], ecx
lea eax, [0x4dc820]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00436350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
jmp 0x4ba863
mov dword [esp + 0x34], ebp
mov dword [esp], 0
lea eax, [0x4f61dc]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.004394e0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x5c]
jmp 0x4ba84c
mov dword [esp + 0x58], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
lea edx, [0x4f6304]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.004a4940
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4babf2
lea edi, [esp + 0x70]
lea esi, [0x517550]
call fcn.0044a2c8
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004b6d80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call fcn.004ba5e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4babc7
lea eax, [0x4f6568]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.00493990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004b6d30
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
xor edx, edx
jmp 0x4baa54
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
cmp edx, ecx
jge 0x4bab2d
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x6c], ebx
lea ebp, [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004b6d80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call fcn.004ba5e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x4baa45
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0xa0
ret
lea eax, [0x4e2960]
mov dword [esp], eax
call fcn.00409680
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xa8]
mov dword [edi + 4], eax
mov eax, dword [0x5cd9c0]
test eax, eax
jne 0x4babb9
mov ecx, dword [esp + 0xa4]
mov dword [edi], ecx
mov ecx, dword [0x5bd308]
mov eax, dword [0x5bd30c]
mov dword [edi + 8], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x4baba9
mov dword [edi + 0xc], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea eax, [0x517740]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
add esp, 0xa0
ret
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.00449ce0
mov edi, edx
jmp 0x4bab78
mov eax, dword [esp + 0xa4]
call fcn.00449ce0
jmp 0x4bab5c
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0xa0
ret
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call fcn.004ba5e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test edx, edx
je 0x4bace0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], ebx
lea eax, [0x4e2960]
mov dword [esp], eax
call fcn.00409680
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xa8]
mov dword [edi + 4], eax
mov eax, dword [0x5cd9c0]
test eax, eax
jne 0x4bacd2
mov ecx, dword [esp + 0xa4]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 8], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x4bacbc
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea eax, [0x517740]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
add esp, 0xa0
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x50]
call fcn.00449ce0
mov edi, edx
jmp 0x4bac8b
mov eax, dword [esp + 0xa4]
call fcn.00449ce0
jmp 0x4bac73
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0xa0
ret
lea edi, [esp + 0x80]
lea esi, [0x517b00]
call fcn.0044a2a0
lea esi, [esp + 0x80]
mov ebp, 4
mov ebx, 4
jmp 0x4ba941
call fcn.00448580
jmp fcn.004ba770