Function at 0x5ba0d0
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 0x5baac6
sub esp, 0xa0
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x5ba188
nop
movzx edx, byte [0x7a1de0]
test dl, dl
je 0x5ba145
mov edx, dword [esp + 0xb0]
mov dword [0x7a1de4], edx
mov ebx, dword [0x7c78f0]
test ebx, ebx
jne 0x5ba131
mov eax, dword [esp + 0xb4]
mov dword [0x7a1de8], eax
jmp 0x5ba153
lea edi, [0x7a1de8]
mov eax, dword [esp + 0xb4]
call fcn.00463730
jmp 0x5ba153
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x5ba17e
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5ba17a
or ebx, 0x80
mov ebp, eax
jmp 0x5ba19c
mov ebp, eax
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5ba19c
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
xor ebx, ebx
xor ecx, ecx
xor eax, eax
nop
mov esi, ebx
and ebx, 0x1f
cmp ebx, 0x16
jne 0x5ba1d3
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004bc180
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
mov esi, ebx
nop
mov ebx, esi
and esi, 0x1f
lea edi, [esi - 2]
nop
cmp edi, 4
ja 0x5ba1e9
mov edi, 2
jmp 0x5ba209
lea edi, [esi - 7]
cmp edi, 4
ja 0x5ba1f8
mov edi, 7
jmp 0x5ba209
lea edi, [esi - 0xd]
cmp edi, 1
ja 0x5ba207
mov edi, 0xd
jmp 0x5ba209
mov edi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
test ebx, ebx
je 0x5ba23d
test ebx, 0x200
jne 0x5ba23d
mov dword [esp + 0x3c], eax
lea eax, [0x663100]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
jmp 0x5ba277
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0xb4]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
cmp edi, 2
jne 0x5ba303
cmp esi, 3
ja 0x5ba2a6
cmp esi, 2
jne 0x5ba293
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5ba2d1
cmp esi, 3
jne 0x5baa8b
movsx eax, byte [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5ba2d1
cmp esi, 4
jne 0x5ba2b5
movsx eax, word [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5ba2d1
cmp esi, 5
jne 0x5ba2c3
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5ba2d1
cmp esi, 6
jne 0x5baa8b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004bdea0
jmp 0x5ba858
cmp edi, 7
jne 0x5ba390
cmp esi, 9
ja 0x5ba338
cmp esi, 7
jne 0x5ba31c
mov eax, dword [eax]
xor edx, edx
jmp 0x5ba35e
cmp esi, 8
jne 0x5ba328
movzx eax, byte [eax]
xor edx, edx
jmp 0x5ba35e
cmp esi, 9
jne 0x5baa51
movzx eax, word [eax]
xor edx, edx
jmp 0x5ba35e
cmp esi, 0xa
jne 0x5ba343
mov eax, dword [eax]
xor edx, edx
jmp 0x5ba35e
cmp esi, 0xb
jne 0x5ba351
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, ecx
jmp 0x5ba35e
cmp esi, 0xc
jne 0x5baa51
mov eax, dword [eax]
xor edx, edx
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
call fcn.004bdea0
jmp 0x5ba858
cmp edi, 0xd
jne 0x5ba3f5
cmp esi, 0xd
jne 0x5ba3a4
movss xmm0, dword [eax]
cvtss2sd xmm0, xmm0
jmp 0x5ba3b1
cmp esi, 0xe
jne 0x5baa17
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
call fcn.0045c5a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004bdea0
jmp 0x5ba858
cmp edi, 1
jne 0x5ba4ba
mov ebp, dword [esp + 0xa4]
mov edx, dword [ebp]
movzx edx, byte [edx + 0xb]
test dl, dl
je 0x5ba4ac
cmp esi, 1
je 0x5ba431
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004bb0d0
mov eax, dword [esp + 0x58]
movzx eax, byte [eax]
test al, al
je 0x5ba472
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
call fcn.004bdea0
jmp 0x5ba858
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.004bdea0
jmp 0x5ba858
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
cmp edi, 0x18
jne 0x5ba699
mov edi, dword [esp + 0xa4]
mov edi, dword [edi]
movzx edi, byte [edi + 0xb]
xchg edi, eax
test al, al
xchg edi, eax
je 0x5ba699
cmp esi, 0x18
jne 0x5ba4e6
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x5ba502
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004be910
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5ba511
mov eax, 1
lea ecx, [0x6604c4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x5ba53b
test edx, 0x200
jne 0x5ba53b
lea ebx, [0x663100]
mov ebp, dword [esp + 0xb8]
jmp 0x5ba565
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov ebp, ecx
mov eax, dword [ebx + 0x18]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
call fcn.004a5190
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edx, edx
je 0x5ba667
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.00409680
mov eax, dword [esp + 8]
lea ecx, [0x5e1fa0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5ba60e
mov ebx, dword [eax + 4]
jmp 0x5ba610
mov ebx, eax
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
lea eax, [0x61514c]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4b50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xa0
ret
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.004bdea0
jmp 0x5ba858
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x78]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
cmp dword [esp + 8], 0xd
je 0x5ba6b8
xor eax, eax
jmp 0x5ba6d7
mov dword [esp], eax
lea eax, [0x60e0b1]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xd
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5ba6df
xor ecx, ecx
jmp 0x5ba70f
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
cmp dword [esp + 8], 6
jne 0x5ba70d
cmp dword [eax], 0x626d754e
jne 0x5ba70d
cmp word [eax + 4], 0x7265
sete cl
jmp 0x5ba70f
xor ecx, ecx
test cl, cl
je 0x5ba875
mov eax, dword [esp + 0xb0]
lea ecx, [0x5ee780]
cmp eax, ecx
jne 0x5baa01
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.004a5190
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x5ba82b
mov dword [esp + 0x64], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.00409680
mov eax, dword [esp + 8]
lea ecx, [0x5e1fa0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5ba7d2
mov ecx, dword [eax + 4]
jmp 0x5ba7d4
mov ecx, eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
lea eax, [0x619363]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4b50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xa0
ret
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebp
call fcn.004bdea0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xa0
ret
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x5ba89f
test ecx, 0x200
jne 0x5ba89f
mov ecx, dword [esp + 0x34]
test ecx, ecx
mov edx, ecx
lea eax, [0x663100]
mov ecx, dword [esp + 0xb8]
jmp 0x5ba8cb
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
test edx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], eax
je 0x5ba8e9
test edx, 0x200
jne 0x5ba8e9
lea edx, [0x663100]
mov ebx, dword [esp + 0x54]
jmp 0x5ba90d
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], ebx
lea edi, [esp + 0x80]
xor eax, eax
call fcn.00463958
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
call fcn.00409680
mov ecx, dword [esp + 8]
lea edx, [0x5e1fa0]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5ba962
mov eax, dword [ecx + 4]
jmp 0x5ba964
mov eax, ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5ba983
mov edx, dword [eax + 4]
jmp 0x5ba985
mov edx, eax
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x9c], eax
lea eax, [0x61d570]
mov dword [esp], eax
mov dword [esp + 4], 0x41
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004c4b50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xa0
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5e18e0]
mov dword [esp + 8], eax
call fcn.00409340
lea eax, [0x5ecce0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x610a3b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x5e5f40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435720
lea eax, [0x5ecce0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x610156]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x5e5f40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435720
lea eax, [0x5ecce0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x11
lea ecx, [0x60f9c6]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x5e5f40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435720
nop
call fcn.00462320
jmp fcn.005ba0d0