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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ba568
sub esp, 0x58
mov eax, 0
mov dword [esp + 0x54], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
lea ebx, [0x4f7240]
mov dword [esp + 4], ebx
lea ebx, [0x63b408]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x4ef7a0]
cmp eax, edx
je 0x4ba08f
xor ecx, ecx
test ecx, ecx
jne 0x4ba09e
mov ecx, dword [esp + 0x5c]
xor eax, eax
jmp 0x4ba14d
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 8]
test edx, edx
je 0x4ba0f6
mov dword [esp + 0x24], ebx
mov eax, dword [edx]
mov ebp, dword [esp + 0x5c]
mov esi, dword [ebp + 0x48]
mov edi, dword [ebp + 0x4c]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4ba146
lea edi, [esp + 0x3c]
mov edx, eax
mov eax, 0
call fcn.0046196a
lea ecx, [0x4ba580]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
lea edx, [esp + 0x78]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x54], edx
mov byte [esp + 0x23], 1
jmp 0x4ba14a
mov ecx, dword [esp + 0x5c]
setne al
mov byte [esp + 0x22], al
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [ecx + 0x1c]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x68]
test ebp, ebp
je 0x4ba40e
mov ebp, dword [esp + 0x68]
lea esi, [0x540d90]
cmp ebp, esi
jne 0x4ba1ca
cmp ebx, esi
je 0x4ba17f
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
call fcn.004cf360
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x541018]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
jmp 0x4ba2d7
lea esi, [0x540da8]
cmp ebp, esi
jne 0x4ba225
cmp ebx, esi
je 0x4ba1da
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
call fcn.004d06f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x541048]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
jmp 0x4ba2d7
lea esi, [0x540d78]
cmp ebp, esi
jne 0x4ba27d
cmp ebx, esi
je 0x4ba235
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
call fcn.004c46e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x540fe8]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
jmp 0x4ba2d7
lea esi, [0x540dc0]
cmp ebp, esi
jne 0x4ba40e
cmp ebx, esi
je 0x4ba291
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
call fcn.004d0fa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x541078]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4ba30c
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4ba308
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
lea eax, [0x501f20]
mov dword [esp], eax
call fcn.0040b720
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x50cd8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x63b5a0]
test ecx, ecx
jne 0x4ba349
mov dword [eax + 8], edx
jmp 0x4ba357
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00461790
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x63b5a0]
test ecx, ecx
jne 0x4ba371
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
jmp 0x4ba381
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.00461790
mov eax, ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x63b5a0]
test ecx, ecx
jne 0x4ba39b
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x1c], ecx
jmp 0x4ba3ab
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.00461790
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov dword [eax + 0x20], ebx
mov ebx, dword [0x63b5a0]
test ebx, ebx
jne 0x4ba3c5
mov dword [eax + 0x24], ecx
jmp 0x4ba3d3
lea edi, [eax + 0x24]
mov edx, eax
mov eax, ecx
call fcn.00461790
mov eax, edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x540b0c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4ba40a
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
lea eax, [0x4fb3c0]
mov dword [esp], eax
call fcn.0040b720
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [eax + 4], 0x17
lea ecx, [0x512843]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x54]
mov dword [eax + 0xc], ebx
mov ebx, dword [0x63b5a0]
test ebx, ebx
jne 0x4ba44f
mov dword [eax + 8], edx
jmp 0x4ba459
lea edi, [eax + 8]
mov eax, edx
call fcn.00461790
lea eax, [0x501f20]
mov dword [esp], eax
call fcn.0040b720
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x50cd8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x63b5a0]
test ecx, ecx
jne 0x4ba496
mov dword [eax + 8], edx
jmp 0x4ba4a4
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00461790
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x63b5a0]
test ecx, ecx
jne 0x4ba4be
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
jmp 0x4ba4ce
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.00461790
mov eax, ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x63b5a0]
test ecx, ecx
jne 0x4ba4e8
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x1c], ecx
jmp 0x4ba4f8
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.00461790
mov eax, ecx
lea ecx, [0x540ae4]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x63b5a0]
test ecx, ecx
jne 0x4ba514
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
jmp 0x4ba524
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00461790
mov eax, ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x540b0c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4ba55b
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
call eax
add esp, 0x58
ret
call fcn.00460380
jmp fcn.004ba010