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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1bc]
cmp eax, dword [ecx + 8]
jbe 0x5ba8c4
sub esp, 0x23c
lea eax, [0x60c3a0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x228], eax
mov ecx, dword [esp + 0x240]
mov edx, dword [ecx + 0x138]
mov ebx, dword [ecx + 0x13c]
test edx, edx
je 0x5ba1c4
nop
movzx ebp, byte [0x7f8710]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5ba18a
mov dword [0x7f8714], edx
mov ebp, dword [0x81dcc0]
test ebp, ebp
jne 0x5ba179
mov dword [0x7f8718], ebx
jmp 0x5ba18a
lea edi, [0x7f8718]
mov ebp, eax
mov eax, ebx
call fcn.00462500
mov eax, ebp
mov dword [esp + 0x234], edx
mov dword [esp + 0x238], ebx
mov edx, dword [esp + 0x234]
test edx, edx
je 0x5ba1bc
nop
movzx ebp, byte [edx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5ba1ca
or ebp, 0x80
jmp 0x5ba1ca
xor ebp, ebp
xor edx, edx
xor ebx, ebx
jmp 0x5ba1ca
xor ebp, ebp
xor edx, edx
xor ebx, ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0x28
call fcn.004b2b70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x40], eax
cmp eax, 9
ja 0x5ba21d
cmp eax, 7
jne 0x5ba201
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5ba241
cmp eax, 8
jne 0x5ba20d
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5ba241
cmp eax, 9
jne 0x5ba889
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5ba241
cmp eax, 0xa
jne 0x5ba228
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5ba241
cmp eax, 0xb
jne 0x5ba234
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5ba241
cmp eax, 0xc
jne 0x5ba889
mov eax, dword [ecx]
xor ecx, ecx
test eax, eax
sete dl
test ecx, ecx
sete cl
and ecx, edx
test cl, cl
jne 0x5ba6a4
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x240]
movzx edx, byte [ecx + 0x294]
test dl, dl
je 0x5ba392
lea eax, [0x625900]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x220], eax
lea ecx, [0x625900]
mov dword [esp], ecx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x625900]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b8200
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x44]
xor eax, eax
call fcn.00462768
mov eax, dword [esp + 0x240]
mov ecx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
lea edx, [0x62ad80]
cmp ecx, edx
jne 0x5ba873
lea edi, [esp + 0x44]
call fcn.00462a80
mov ecx, dword [esp + 0x60]
mov dword [esp], eax
mov edx, dword [esp + 0x24]
sub edx, ecx
mov dword [esp + 4], edx
call fcn.005b1960
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x240]
mov dword [esp], ecx
lea edx, [0x5f1680]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x220]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.005b2650
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5ba380
lea eax, [0x625900]
mov dword [esp], eax
mov ecx, dword [esp + 0x220]
mov dword [esp + 4], ecx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x625900]
mov edx, dword [esp + 0x228]
mov dword [edx], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x5ba373
mov dword [edx + 4], eax
jmp 0x5ba4a8
lea edi, [edx + 4]
call fcn.00462500
jmp 0x5ba4a8
mov dword [esp + 0x244], 0
add esp, 0x23c
ret
lea eax, [0x6259e0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x21c], eax
lea ecx, [0x6259e0]
mov dword [esp], ecx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x6259e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b8200
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x124]
xor eax, eax
call fcn.00462764
mov eax, dword [esp + 0x240]
mov ecx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
lea edx, [0x62aa00]
cmp ecx, edx
jne 0x5ba85d
lea edi, [esp + 0x124]
call fcn.00462a58
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x24]
sub edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005b1960
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x240]
mov dword [esp], ecx
lea edx, [0x5f16c0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x21c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.005b2650
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5ba692
lea eax, [0x6259e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x21c]
mov dword [esp + 4], ecx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x6259e0]
mov edx, dword [esp + 0x228]
mov dword [edx], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x5ba4a0
mov dword [edx + 4], eax
jmp 0x5ba4a8
lea edi, [edx + 4]
call fcn.00462500
mov ecx, dword [edx]
mov eax, dword [edx + 4]
test ecx, ecx
je 0x5ba51a
nop
movzx ebx, byte [0x7f8710]
test bl, bl
je 0x5ba4e0
mov dword [0x7f8714], ecx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x5ba4d5
mov dword [0x7f8718], eax
jmp 0x5ba4e0
lea edi, [0x7f8718]
call fcn.00462500
mov dword [esp + 0x22c], ecx
mov dword [esp + 0x230], eax
mov ecx, dword [esp + 0x22c]
test ecx, ecx
je 0x5ba512
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5ba520
or ebx, 0x80
jmp 0x5ba520
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5ba520
xor ebx, ebx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x218], eax
mov dword [esp + 0x214], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
lea edx, [0x63569c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0xa
call fcn.004b2f10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004b3260
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x5ff980]
cmp ecx, edx
jne 0x5ba847
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x214]
mov dword [esp], ecx
mov edx, dword [esp + 0x218]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], ebx
lea ebp, [0x639056]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 0xf
call fcn.004b2f10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004b3260
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x5ff980]
cmp ecx, edx
jne 0x5ba831
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x214]
mov dword [esp], ecx
mov ecx, dword [esp + 0x218]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
lea ecx, [0x638efd]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0xf
call fcn.004b2f10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004b3260
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x5ff980]
cmp ecx, edx
jne 0x5ba81b
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x240]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.005b1960
mov eax, dword [esp + 8]
xor ecx, ecx
jmp 0x5ba6d8
mov dword [esp + 0x244], 0
add esp, 0x23c
ret
mov dword [esp + 0x244], 0
add esp, 0x23c
ret
mov dword [edx + 0xc], ebx
lea ebx, [ebx + ebx*4]
shl ebx, 4
lea edi, [ebx + ebp - 0x50]
mov esi, dword [esp + 0x224]
call fcn.00462be8
mov ecx, dword [esp + 0x2c]
inc ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jae 0x5ba806
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
lea eax, [0x61d9e0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x224], eax
lea ecx, [0x61d9e0]
mov dword [esp], ecx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x61d9e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b8200
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x240]
mov dword [esp], ecx
lea edx, [0x5f1700]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x224]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.005b2650
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5ba7f4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x228]
mov ebx, dword [edx + 0xc]
inc ebx
mov ebp, dword [edx + 8]
mov esi, eax
mov eax, dword [edx + 0x10]
cmp eax, ebx
jae 0x5ba6b6
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x61d9e0]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x228]
mov dword [ebx + 0x10], edx
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x5ba7d9
mov dword [ebx + 8], eax
jmp 0x5ba7e1
lea edi, [ebx + 8]
call fcn.00462500
mov edx, ebx
mov esi, dword [esp + 0x38]
mov ebx, ecx
mov ebp, eax
mov ecx, dword [esp + 0x28]
jmp 0x5ba6b6
mov dword [esp + 0x244], 0
add esp, 0x23c
ret
mov eax, dword [esp + 0x228]
mov dword [esp + 0x244], eax
add esp, 0x23c
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5ff280]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5ff280]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5ff280]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5ff280]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5ff280]
mov dword [esp + 8], eax
call fcn.00409250
lea eax, [0x60d960]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x63b26b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [0x6055c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004351d0
nop
call fcn.004610f0
jmp fcn.005ba100