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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bad3a
sub esp, 0x70
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x4baad1
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4ba9c1
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x88]
test edx, edx
je 0x4ba98a
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x140]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4ba978
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.004aea90
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4ba966
mov eax, dword [esp + 0x74]
mov byte [eax + 0x148], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0047bbd0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x48]
test edx, edx
je 0x4ba776
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004ba4b0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.004ba4b0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x154], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4ba761
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x15c], ecx
mov ecx, dword [0x8a6100]
test ecx, ecx
jne 0x4ba754
mov dword [ebx + 0x160], eax
lea eax, [0x67ade0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x63ca60]
mov dword [esp + 8], eax
lea eax, [0x69c254]
mov dword [esp + 0xc], eax
call fcn.00413c80
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x70
ret
lea edi, [ebx + 0x160]
call fcn.0044d090
jmp 0x4ba714
lea edi, [ebx + 0x158]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.0044d090
mov eax, edx
jmp 0x4ba6fe
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0047bcb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4ba881
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004ba4b0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
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 + 0x38], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.004ba4b0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x154], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4ba86c
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x15c], ecx
mov ecx, dword [0x8a6100]
test ecx, ecx
jne 0x4ba85f
mov dword [ebx + 0x160], eax
lea eax, [0x67ade0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x63ca60]
mov dword [esp + 8], eax
lea eax, [0x69c254]
mov dword [esp + 0xc], eax
call fcn.00413c80
jmp 0x4ba73a
lea edi, [ebx + 0x160]
call fcn.0044d090
jmp 0x4ba834
lea edi, [ebx + 0x158]
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044d090
mov eax, edx
jmp 0x4ba81e
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004ba4b0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
lea edx, [0x64e660]
mov dword [esp], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
call fcn.00407610
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x154], edx
mov edx, dword [0x8a6100]
test edx, edx
jne 0x4ba951
mov edx, dword [esp + 0x58]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x15c], ecx
mov ecx, dword [0x8a6100]
test ecx, ecx
jne 0x4ba944
mov dword [ebx + 0x160], eax
lea eax, [0x67ade0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x63ca60]
mov dword [esp + 8], eax
lea eax, [0x69c254]
mov dword [esp + 0xc], eax
call fcn.00413c80
jmp 0x4ba73a
lea edi, [ebx + 0x160]
call fcn.0044d090
jmp 0x4ba919
lea edi, [ebx + 0x158]
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.0044d090
mov eax, edx
jmp 0x4ba903
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004ae970
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4ba9af
mov eax, dword [esp + 0x74]
xor ebx, ebx
xor edx, edx
jmp 0x4ba64e
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x140]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4baabf
test ebx, ebx
jne 0x4baa03
mov eax, ebx
mov ecx, edx
jmp 0x4ba5ab
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0047baf0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x4baa38
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x30]
jmp 0x4ba9fa
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], ecx
nop
lea eax, [0x654980]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov dword [edi + 4], 4
mov eax, dword [0x8a6100]
test eax, eax
jne 0x4baab2
lea ecx, [0x68439c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x40]
mov dword [edi + 8], ecx
mov ecx, dword [0x8a6100]
test ecx, ecx
jne 0x4baa9c
mov eax, dword [esp + 0x60]
mov dword [edi + 0xc], eax
lea eax, [0x6e5d40]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edi
add esp, 0x70
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.0044d090
mov edi, edx
jmp 0x4baa84
lea eax, [0x68439c]
call fcn.0044d090
jmp 0x4baa6c
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
nop
lea eax, [0x64d1e0]
mov dword [esp], eax
call fcn.00409a20
mov edi, dword [esp + 4]
mov eax, dword [0x8a6100]
test eax, eax
jne 0x4bad25
mov eax, dword [esp + 0x74]
mov dword [edi], eax
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x4bacf3
mov ebx, dword [esp + 0x80]
test ebx, ebx
jne 0x4bacc1
xor edx, edx
xor ebp, ebp
nop
mov esi, dword [eax + 0x150]
mov ecx, dword [eax + 0x14c]
cmp esi, 4
jne 0x4bab8e
cmp dword [ecx], 0x78696e75
jne 0x4bab8e
mov ecx, dword [eax + 0x150]
mov esi, dword [eax + 0x14c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
lea eax, [0x6e83a0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4ba598
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
cmp esi, 8
jne 0x4baba4
cmp dword [ecx], 0x78696e75
jne 0x4baba4
cmp dword [ecx + 4], 0x6d617267
je 0x4bab38
mov dword [esp + 0x64], edx
mov dword [esp + 0x44], ebp
cmp esi, 0xa
je 0x4bac6a
mov ecx, dword [eax + 0x150]
mov esi, dword [eax + 0x14c]
lea ebx, [ecx - 1]
cmp ebx, ecx
jae 0x4bad33
movzx ebx, byte [ecx + esi - 1]
cmp bl, 0x34
je 0x4bab44
cmp bl, 0x36
je 0x4bab44
cmp dword [eax + 0x140], 2
jne 0x4bac2b
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
lea eax, [0x683f13]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043c120
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
jmp 0x4bab44
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
lea eax, [0x683f15]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043c120
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
jmp 0x4bab44
mov dword [esp], ecx
lea eax, [0x685c05]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00402010
movzx eax, byte [esp + 0xc]
test al, al
je 0x4baca5
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
jmp 0x4bab38
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
jmp 0x4babb5
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov ebp, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x4bab1e
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call eax
mov ebp, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x6c]
jmp 0x4bab1e
mov eax, dword [esp + 0x74]
call fcn.0044d090
jmp 0x4baaf8
call fcn.00427150
ud2
call fcn.0044b940
jmp fcn.004ba570