Function at 0x5b76b0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x490
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x70]
push dword [edi + 0x74]
call dword [eax + 0x18]
add esp, 4
mov dword [esp + 0x174], eax
mov dword [esp + 0x170], edx
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x2a8], 0
mov dword [esp + 0x35c], 0
mov dword [esp + 0x410], 0
xorps xmm0, xmm0
movsd qword [esi], xmm0
mov dword [esi + 8], 0
mov esi, edi
push dword [edi + 0x4c]
call fcn.005794f0
add esp, 4
push dword [edi + 0x58]
call fcn.005c20c0
add esp, 4
cmp dword [eax], 0
mov ecx, 1
jne 0x5b7768
cmp dword [eax + 4], 0
jne 0x5b7768
cmp dword [eax + 8], 0
jne 0x5b7768
cmp dword [eax + 0xc], 0
jne 0x5b7768
cmp dword [eax + 0x10], 0
jne 0x5b7768
xor ecx, ecx
mov eax, dword [esp + 0x174]
or eax, dword [esp + 0x170]
sete cl
add ecx, ecx
lea eax, [esi + 0x15]
mov dword [esp + 0x1a8], eax
lea eax, [esi + 0x130]
mov dword [esp + 0x6c], eax
mov esi, 4
mov dword [esp + 0x98], ecx
lea eax, [ecx*4]
mov dword [esp + 0x178], eax
mov dword [esp + 0x94], 0
xor ecx, ecx
jmp 0x5b77bc
mov ecx, edi
inc ecx
cmp ecx, 4
je 0x5b9a51
test ecx, ecx
je 0x5b7820
imul eax, ecx, 0xb4
mov edx, dword [esp + eax + 0x19c]
lea edi, [esp + eax]
add edi, 0x1b0
mov dword [esp + 0xc], edi
lea edi, [esp + eax + 0x250]
mov dword [esp + 0x17c], edi
mov dword [esp + 0x9c], edx
mov dword [esp + eax + 0x250], edx
lea eax, [ecx - 2]
cmp eax, 2
jb 0x5b7810
cmp ecx, 1
jne 0x5b7810
mov ebx, ecx
jmp 0x5b7851
mov ebx, 2
jmp 0x5b7851
mov dword [esp + 0x250], 0
mov dword [esp + 0x9c], 0
lea eax, [esp + 0x250]
mov dword [esp + 0x17c], eax
lea eax, [esp + 0x1b0]
mov dword [esp + 0xc], eax
xor ebx, ebx
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
mov edi, ecx
call fcn.00578610
add esp, 8
test eax, eax
je 0x5b77b0
mov eax, dword [esp + 0x174]
or eax, dword [esp + 0x170]
lea eax, [edi + edi*2]
mov ecx, dword [esp + 0x178]
mov edx, dword [ecx + eax*4 + 0xf0b1e8]
mov ecx, edi
jne 0x5b789a
mov eax, edx
and eax, 0x10000
je 0x5b77b2
cmp esi, ecx
mov dword [esp + 0x34], ecx
cmovb ecx, esi
cmp esi, 3
cmove ecx, esi
mov dword [esp + 0x58], ecx
mov edi, edx
test edx, 0x2000
jne 0x5b79b8
mov eax, edi
test al, 4
je 0x5b7901
mov eax, dword [ebp + 8]
mov eax, dword [eax + ebx*4 + 0x88]
mov dword [esp + 0xa0], 2
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0xc8]
push ecx
push 0
push eax
call fcn.0057bff0
add esp, 0x14
test eax, eax
jne 0x5b7a14
mov eax, edi
test al, 1
jne 0x5b79da
test edi, 0x2000
je 0x5b7928
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xf8]
shr eax, 7
bt eax, ebx
jb 0x5b7a14
test edi, 0x200
jne 0x5b7ef3
mov eax, edi
test al, 8
je 0x5b794a
mov eax, dword [ebp + 8]
test byte [eax + 0xf8], 1
jne 0x5b7a14
test edi, 0x400
je 0x5b7972
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xf9]
shr al, 2
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x34]
sete cl
test al, cl
jne 0x5b7a14
cmp dword [esp + 0x34], 2
je 0x5b97de
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x54]
call fcn.005c31f0
add esp, 8
test eax, eax
je 0x5b97de
mov esi, eax
mov eax, edi
test al, 0x20
je 0x5b9584
test eax, 0x1000
jne 0x5b96d1
test al, al
js 0x5b96a0
jmp 0x5b964f
mov esi, dword [ebp + 8]
push dword [esi + 0x58]
call fcn.005c20c0
add esp, 4
mov edx, dword [esp + 0x34]
cmp edx, 1
je 0x5b7a03
test edx, edx
jne 0x5b7a09
cmp dword [eax], 0
jne 0x5b7a30
jmp 0x5b7a09
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x58]
call fcn.005c2100
add esp, 8
test eax, eax
jne 0x5b7a14
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xf8]
shr eax, 4
bt eax, ebx
jb 0x5b7a14
jmp 0x5b790b
cmp dword [eax + 4], 0
jne 0x5b7a84
cmp dword [eax + ebx*4 + 8], 0
je 0x5b78bb
mov edx, dword [esp + 0x34]
lea eax, [edx - 2]
cmp eax, 2
jb 0x5b7a5a
cmp edx, 1
mov esi, dword [ebp + 8]
je 0x5b7a84
test edx, edx
jne 0x5b9a51
imul eax, edx, 0xb4
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx*4 + 0xf0b1e8]
mov dword [esp + eax + 0x25c], ecx
mov eax, 0x9001
mov dword [esp + 8], 0
jmp 0x5b7aac
imul eax, edx, 0xb4
mov dword [esp + eax + 0x25c], edi
xor eax, eax
cmp edx, 3
sete al
lea eax, [eax + eax*2]
add eax, 0x9002
mov dword [esp + 8], 2
mov esi, dword [ebp + 8]
jmp 0x5b7aac
imul eax, edx, 0xb4
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx*4 + 0xf0b1f4]
mov dword [esp + eax + 0x25c], ecx
mov eax, 0x9003
mov dword [esp + 8], 1
imul ebx, edx, 0xb4
mov ecx, dword [esp + ebx + 0x200]
mov edi, edx
mov edx, 0xffcf0200
and ecx, edx
or ecx, eax
xor eax, eax
mov dword [esp + ebx + 0x200], ecx
mov dword [esp + ebx + 0x204], 1
mov ecx, dword [esp + 0x1a8]
movups xmm0, xmmword [ecx]
movups xmmword [esp + ebx + 0x208], xmm0
movsd xmm0, qword [ecx + 0xd]
movsd qword [esp + ebx + 0x215], xmm0
movups xmm0, xmmword [esi]
movups xmmword [esp + ebx + 0x21d], xmm0
movsd xmm0, qword [esi + 0xd]
movsd qword [esp + ebx + 0x22a], xmm0
mov dword [esp + ebx + 0x240], 0x3ffb
mov ecx, 0
test edi, edi
jne 0x5b7b31
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x98]
lea edx, [esp + ebx]
add edx, 0x200
mov dword [esp + ebx + 0x238], eax
mov dword [esp + 0x14], ebx
mov dword [esp + ebx + 0x23c], ecx
movzx eax, byte [edx + 8]
mov dword [esp + 0x1ac], edx
push edx
push eax
call fcn.0057e530
add esp, 8
test eax, eax
je 0x5b9a51
mov edi, eax
push dword [esi + 0x4c]
call fcn.00579920
add esp, 4
mov ebx, esi
mov esi, eax
sub esi, dword [esp + 0x9c]
mov eax, 0
cmovb esi, eax
mov eax, esi
sub eax, edi
jb 0x5b9a51
mov dword [esp + 0xc0], eax
lea ecx, [esp + 0xc0]
push ecx
push eax
push dword [esp + 0x3c]
push dword [ebx + 0x4c]
call fcn.00578680
add esp, 0x10
test eax, eax
je 0x5b9a51
mov ecx, dword [esp + 0x14]
lea eax, [esp + ecx]
add eax, 0x248
mov edi, dword [esp + 0xc0]
mov dword [eax + 4], edi
mov dword [eax], esi
sub esi, edi
mov dword [esp + ecx + 0x254], esi
mov eax, dword [esp + 0x98]
mov dword [esp + ecx + 0x258], eax
mov ecx, dword [esp + ecx + 0x25c]
xor eax, eax
test cl, 2
mov edx, dword [esp + 0x34]
je 0x5b7c25
mov eax, 1
test cx, cx
js 0x5b7c1d
mov ecx, dword [ebx + 0xf8]
shr ecx, 7
and ecx, 7
xor eax, eax
mov esi, dword [esp + 8]
bt ecx, esi
setb al
cmp eax, edi
ja 0x5b9a51
mov ecx, dword [esp + 0xc]
mov dword [ecx], ebx
mov ebx, dword [esp + 0x14]
lea ecx, [esp + ebx]
add ecx, 0x1c8
mov dword [esp + 0x44], ecx
mov dword [esp + ebx + 0x1c8], edx
mov dword [esp + ebx + 0x1b4], edi
mov dword [esp + ebx + 0x1c0], eax
mov dword [esp + ebx + 0x1c4], 0
mov dword [esp + ebx + 0x1b8], 0
mov dword [esp + ebx + 0x1bc], 0
and byte [esp + ebx + 0x1cc], 0xfc
mov dword [esp + ebx + 0x1d0], 0
and byte [esp + ebx + 0x1f0], 0xfe
mov esi, edx
shl esi, 4
mov eax, edx
mov ecx, dword [esp + 0x6c]
cmp dword [ecx + esi + 4], edi
jae 0x5b7ce3
mov eax, dword [esp + 0x6c]
add eax, esi
push 0xd0
push 0xf0b144
push edi
push dword [eax]
call fcn.006310a0
add esp, 0x10
test eax, eax
je 0x5b9a51
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov dword [ecx + esi + 0x130], eax
mov dword [ecx + esi + 0x134], edi
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
mov dword [esp + ebx + 0x1f4], 1
mov dword [esp + ebx + 0x1f8], 0
mov dword [esp + ebx + 0x1fc], 0
mov dword [esp + ebx + 0x260], 0
cmp dword [esp + 0x58], edx
sete byte [esp + 0x18]
mov ecx, 2
cmp eax, 3
ja 0x5b7d29
mov ecx, dword [eax*4 + 0xf0b228]
lea eax, [esp + ebx]
add eax, 0x25c
mov eax, dword [eax]
mov dword [esp + 0x84], 1
mov esi, dword [ebp + 8]
mov dword [esp + 0x5c], ecx
test dword [esi + ecx*8 + 0xdc], 0xc0000000
jne 0x5ba37c
lea edi, [esp + ebx]
add edi, 0x1f8
push dword [esi + 0x50]
mov dword [esp + 0x3c], eax
call fcn.005baf10
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x90], edi
mov dword [edi], eax
mov dword [esp + 0x50], eax
test eax, eax
je 0x5ba37c
lea eax, [esp + ecx]
add eax, 0x1b4
mov dword [esp + 8], eax
xor eax, eax
test dl, 8
je 0x5b7dd0
test byte [esi + 0xf8], 1
je 0x5b7dd0
mov edx, dword [esp + 8]
test byte [edx + 0x18], 1
mov eax, 0
jne 0x5b7db9
mov eax, dword [edx + 0xc]
add eax, dword [edx + 4]
cmp dword [edx], eax
jne 0x5b7e8e
mov edx, dword [esp + 0x38]
xor eax, eax
nop word [eax + eax]
mov dword [esp + 0x28], eax
test edx, 0x200
je 0x5b810e
test byte [esi + 0xf8], 2
jne 0x5b7dfa
push 0
push dword [esi + 0x64]
call fcn.005b3580
add esp, 8
test eax, eax
je 0x5b7e78
xor eax, eax
mov ecx, dword [esp + 8]
test byte [ecx + 0x18], 1
jne 0x5b7e09
mov eax, dword [ecx + 0xc]
mov edx, ecx
mov ecx, dword [ecx]
add eax, dword [edx + 4]
sub ecx, eax
cmp ecx, 2
jb 0x5b7e78
mov ecx, dword [esp + 0xc]
call fcn.005ba780
mov ecx, esi
mov esi, eax
push dword [ecx + 0x64]
call fcn.005b3540
add esp, 4
test esi, esi
je 0x5ba35d
push edx
push eax
push esi
call fcn.005bb910
add esp, 0xc
test eax, eax
je 0x5b7f67
mov eax, dword [esp + 0x50]
or byte [eax + 0x54], 2
mov ecx, dword [esp + 0xc]
call fcn.005ba810
test eax, eax
je 0x5ba35d
mov ecx, dword [esp + 8]
or byte [ecx + 0x18], 1
mov dword [esp + 0x28], 1
jmp 0x5b7f94
mov ecx, dword [esp + 8]
test byte [esi + 0xf8], 4
je 0x5b7fa0
jmp 0x5b7fb9
mov ecx, dword [esp + 0xc]
call fcn.005ba780
test eax, eax
je 0x5ba35d
push eax
call fcn.005bbcb0
add esp, 4
test eax, eax
je 0x5b8838
mov eax, dword [esp + 0x50]
or byte [eax + 0x54], 1
mov ecx, dword [esp + 0xc]
call fcn.005ba810
test eax, eax
je 0x5ba35d
mov eax, dword [esp + 8]
or byte [eax + 0x18], 1
mov eax, 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
test edx, 0x200
jne 0x5b7de0
jmp 0x5b810e
mov eax, dword [ebp + 8]
test byte [eax + 0xf8], 2
jne 0x5b7a14
push 0
push dword [eax + 0x64]
call fcn.005b3580
add esp, 8
test eax, eax
jne 0x5b7a14
mov eax, dword [ebp + 8]
test byte [eax + 0xf8], 4
jne 0x5b7a14
push 0
push dword [eax + 0x68]
call fcn.005b3580
add esp, 8
test eax, eax
jne 0x5b7a14
mov eax, dword [ebp + 8]
test byte [eax + 0xf8], 8
jne 0x5b7a14
push 0
push dword [eax + 0x6c]
call fcn.005b3580
add esp, 8
test eax, eax
jne 0x5b7a14
jmp 0x5b7934
mov ecx, dword [esp + 8]
test byte [ecx + 0x3c], 1
je 0x5b7f94
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1d4
push eax
call fcn.006349b0
mov ecx, dword [esp + 0xc]
add esp, 4
and byte [ecx + 0x3c], 0xfe
mov dword [ecx + 0x1c], 0
mov esi, dword [ebp + 8]
test byte [esi + 0xf8], 4
jne 0x5b7fb9
push 0
push dword [esi + 0x68]
call fcn.005b3580
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x5b805e
xor eax, eax
test byte [ecx + 0x18], 1
jne 0x5b7fc4
mov eax, dword [ecx + 0xc]
mov edx, ecx
mov ecx, dword [ecx]
add eax, dword [edx + 4]
sub ecx, eax
cmp ecx, 2
jb 0x5b805e
mov ecx, dword [esp + 0xc]
call fcn.005ba780
mov ecx, esi
mov esi, eax
push dword [ecx + 0x68]
call fcn.005b3540
add esp, 4
test esi, esi
je 0x5ba35d
push edx
push eax
push 0
push esi
call fcn.005bb9a0
add esp, 0x10
test eax, eax
je 0x5b8032
mov eax, dword [esp + 0x50]
or byte [eax + 0x54], 4
mov ecx, dword [esp + 0xc]
call fcn.005ba810
test eax, eax
je 0x5ba35d
mov eax, dword [esp + 8]
or byte [eax + 0x18], 1
mov dword [esp + 0x28], 1
jmp 0x5b805b
mov esi, dword [esp + 8]
test byte [esi + 0x3c], 1
je 0x5b805b
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1d4
push eax
call fcn.006349b0
add esp, 4
and byte [esi + 0x3c], 0xfe
mov dword [esi + 0x1c], 0
mov esi, dword [ebp + 8]
test byte [esi + 0xf8], 8
jne 0x5b8080
push 0
push dword [esi + 0x6c]
call fcn.005b3580
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x5b810e
xor eax, eax
mov ecx, dword [esp + 8]
test byte [ecx + 0x18], 1
jne 0x5b808f
mov eax, dword [ecx + 0xc]
mov edx, ecx
mov ecx, dword [ecx]
add eax, dword [edx + 4]
sub ecx, eax
cmp ecx, 2
jb 0x5b810a
mov ecx, dword [esp + 0xc]
call fcn.005ba780
mov ecx, esi
mov esi, eax
push dword [ecx + 0x6c]
call fcn.005b3540
add esp, 4
test esi, esi
je 0x5ba35d
push edx
push eax
push 1
push esi
call fcn.005bb9a0
add esp, 0x10
test eax, eax
je 0x5b80f9
mov eax, dword [esp + 0x50]
or byte [eax + 0x54], 8
mov ecx, dword [esp + 0xc]
call fcn.005ba810
test eax, eax
je 0x5ba35d
mov eax, dword [esp + 8]
or byte [eax + 0x18], 1
mov dword [esp + 0x28], 1
jmp 0x5b8107
mov edi, dword [esp + 8]
test byte [edi + 0x3c], 1
jne 0x5b953b
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea eax, [esp + ecx]
add eax, 0x1c4
mov dword [esp + 0x1c], eax
xor eax, eax
movzx ecx, byte [esp + 0x18]
mov al, cl
mov dword [esp + 0x64], eax
push dword [esp + 0x5c]
push dword [esi + 0x54]
call fcn.005c31f0
add esp, 8
test eax, eax
je 0x5b83c8
mov esi, eax
movd xmm0, dword [esp + 0x38]
pshufd xmm0, xmm0, 0
pand xmm0, xmmword [0xf0afa0]
pcmpeqd xmm0, xmmword [0xf0afd0]
movmskps eax, xmm0
mov ecx, eax
and cl, 2
shr cl, 1
mov byte [esp + 0x3c], cl
mov ecx, eax
and cl, 4
shr cl, 2
mov byte [esp + 0x30], cl
mov dword [esp + 0x68], eax
shr al, 3
mov byte [esp + 0x54], al
mov dword [esp + 0x10], 0
jmp 0x5b81b7
mov eax, dword [esp + 8]
or byte [eax + 0x18], 1
mov dword [esp + 0x28], 1
nop word [eax + eax]
push dword [esp + 0x5c]
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
je 0x5b83a2
push esi
call fcn.005c2ae0
add esp, 4
mov edi, eax
mov ebx, edx
push esi
call fcn.005c2af0
add esp, 4
mov dword [esp + 0x24], eax
push esi
call fcn.005c2b00
add esp, 4
mov dword [esp + 0x18], eax
mov eax, edi
add eax, 0xfffffff9
mov dword [esp + 0x20], ebx
adc ebx, 0xffffffff
mov edx, 0x14
cmp edx, eax
mov edx, 0
sbb edx, ebx
jb 0x5b8291
jmp dword [eax*4 + 0xf0b0dc]
test byte [esp + 0x68], 1
mov ecx, dword [esp + 8]
jne 0x5b81a0
mov dword [esp + 0x40], edi
mov edx, dword [ecx]
mov eax, dword [ecx + 0x18]
xor edi, edi
test al, 1
jne 0x5b82b2
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
add edi, ecx
sub edx, edi
mov edi, dword [esp + 0x18]
cmp edi, edx
ja 0x5b83a2
test edi, edi
je 0x5b8368
test al, 2
jne 0x5ba35d
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edx, dword [esp + 0x44]
mov edx, dword [edx]
shl edx, 4
lea edi, [eax + edx]
add edi, 0x130
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea ebx, [edx + 1]
mov eax, dword [edi + 0xc]
cmp eax, ebx
jae 0x5b8347
lea ebx, [eax + eax]
test eax, eax
mov eax, 8
cmove ebx, eax
lea eax, [ebx*8]
push 0xbf6
push 0xf0b144
push eax
push dword [edi + 8]
call fcn.006310a0
add esp, 0x10
test eax, eax
je 0x5ba35d
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea ebx, [edx + 1]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
jmp 0x5b834a
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x24]
mov dword [eax + edx*8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + edx*8 + 4], edi
mov eax, dword [esp + 0x1c]
mov dword [eax], ebx
add ecx, edi
mov eax, dword [esp + 8]
mov dword [eax + 4], ecx
push esi
push dword [esp + 0x54]
call fcn.005bb000
add esp, 8
mov eax, 0x1d
mov ecx, dword [esp + 0x40]
cmp eax, ecx
mov eax, 0
sbb eax, dword [esp + 0x20]
jb 0x5b818a
mov eax, 0x3000000d
bt eax, ecx
jb 0x5b81a0
jmp 0x5b818a
cmp dword [esp + 0x10], 0
mov esi, dword [ebp + 8]
je 0x5b83c8
mov eax, dword [esp + 0x38]
test al, 4
jne 0x5b83ea
test eax, 0x100
mov ecx, dword [esp + 8]
jne 0x5b888f
jmp 0x5b9900
mov ecx, esi
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x68]
call fcn.005ba9f0
add esp, 8
mov eax, dword [esp + 0x38]
test al, 4
je 0x5b83b4
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov dword [esp + 0x30], 2
cmp ecx, 3
ja 0x5b8408
mov eax, dword [ecx*4 + 0xf0b228]
mov dword [esp + 0x30], eax
xor ebx, ebx
mov eax, dword [esp + 0x90]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
xorps xmm1, xmm1
movaps xmmword [esp + 0xd0], xmm1
movaps xmmword [esp + 0xc0], xmm1
xorps xmm0, xmm0
movsd qword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm1
movaps xmmword [esp + 0x150], xmm1
movaps xmmword [esp + 0x140], xmm1
shl ecx, 4
add ecx, dword [esp + 0x6c]
mov dword [esp + 0x3c], ecx
jmp 0x5b84eb
xor ebx, ebx
mov ecx, dword [esp + 8]
or byte [ecx + 0x18], 1
mov dword [esp + 0x144], 0xffffffff
mov dword [esp + 0x140], 0xffffffff
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x148], eax
add eax, dword [esp + 0xa8]
mov dword [esp + 0x14c], ecx
adc ecx, dword [esp + 0xac]
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], ecx
and byte [esp + 0x158], 0xfe
lea eax, [esp + 0x140]
push eax
push dword [esp + 0x58]
call fcn.005bb030
add esp, 8
inc ebx
mov dword [esp + 0x28], 1
test eax, eax
je 0x5ba35d
mov ecx, dword [esp + 8]
test byte [ecx + 0x18], 1
mov eax, 0
mov esi, dword [ebp + 8]
jne 0x5b8500
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx]
add eax, dword [ecx + 4]
sub edi, eax
cmp edi, 4
jb 0x5b887c
mov dword [esp + 0x70], 2
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x18c]
push eax
lea eax, [esp + 0xc8]
push eax
push ebx
mov eax, dword [esp + 0x40]
push dword [esi + eax*4 + 0x88]
call fcn.0057bff0
add esp, 0x14
test eax, eax
je 0x5b887c
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], eax
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
mov ecx, 0xffffffff
add eax, ecx
cmp edx, 1
sbb eax, ecx
jb 0x5b887c
mov ebx, edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
lea eax, [esp + 0xa0]
push eax
call fcn.005bb580
add esp, 4
test eax, eax
je 0x5b887c
cmp ebx, 0x3f
mov ecx, 0x3f
cmovb ecx, ebx
mov esi, edi
sub esi, eax
mov edx, 0
cmovb esi, edx
lea edx, [eax + ecx]
cmp edx, edi
cmovbe esi, ecx
mov dword [esp + 0x20], esi
test esi, esi
sete byte [esp + 0x18]
cmp ebx, 0x3fff
mov ecx, 0x3fff
cmovb ecx, ebx
lea edx, [eax + 1]
mov esi, edi
sub esi, edx
mov edx, 0
cmovb esi, edx
lea edx, [eax + ecx]
inc edx
cmp edx, edi
cmovbe esi, ecx
test esi, esi
sete byte [esp + 0x24]
mov dword [esp + 0x68], ebx
cmp ebx, 0x3fffffff
mov ecx, 0x3fffffff
cmovb ecx, ebx
lea ebx, [eax + 3]
mov edx, edi
sub edx, ebx
mov ebx, 0
cmovb edx, ebx
lea ebx, [eax + ecx]
add ebx, 3
cmp ebx, edi
cmovbe edx, ecx
test edx, edx
sete byte [esp + 0x40]
mov ebx, dword [esp + 0x68]
lea ecx, [eax + ebx]
add ecx, 7
mov dword [esp + 0x10], ecx
add eax, 7
mov ecx, edi
sub ecx, eax
mov eax, 0
cmovb ecx, eax
cmp dword [esp + 0x10], edi
cmovbe ecx, ebx
cmp edx, ecx
setb al
or al, byte [esp + 0x40]
cmovne edx, ecx
cmp esi, edx
setb ah
or ah, byte [esp + 0x24]
cmove edx, esi
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x20]
cmp edi, edx
setb bl
or bl, byte [esp + 0x18]
cmove edx, edi
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0
cmp bl, 1
jne 0x5b86b5
test al, al
je 0x5b86b5
test ah, ah
je 0x5b86b5
test ecx, ecx
je 0x5b887c
push dword [esp + 0x70]
lea eax, [esp + 0x18c]
push eax
push edx
call fcn.0057c730
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add ecx, 3
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0xc]
cmp eax, ecx
jae 0x5b871a
lea esi, [eax + eax]
test eax, eax
mov eax, 8
cmove esi, eax
lea eax, [esi*8]
push 0xbf6
push 0xf0b144
push eax
push dword [edx + 8]
call fcn.006310a0
add esp, 0x10
test eax, eax
je 0x5ba35d
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], esi
mov ecx, dword [esp + 0xc]
call fcn.005ba780
test eax, eax
je 0x5ba35d
lea ecx, [esp + 0xa0]
push ecx
push eax
call fcn.005bb530
add esp, 8
test eax, eax
mov esi, dword [ebp + 8]
je 0x5b884f
mov ecx, dword [esp + 0xc]
call fcn.005ba810
test eax, eax
je 0x5ba35d
cmp dword [esp + 0x70], 0
je 0x5b8460
xor ebx, ebx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
jmp 0x5b87a0
mov dword [esp + 0x20], edi
mov eax, dword [esi + 8]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*8], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*8 + 4], edi
mov dword [esi], edx
mov ecx, dword [esp + 8]
add dword [ecx + 4], edi
mov edx, esi
inc ebx
cmp ebx, dword [esp + 0x70]
jae 0x5b8466
mov edi, dword [esp + ebx*8 + 0x18c]
test edi, edi
je 0x5b8795
test byte [ecx + 0x18], 2
jne 0x5b8795
mov eax, dword [esp + ebx*8 + 0x188]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx]
shl ecx, 4
lea esi, [eax + ecx]
add esi, 0x130
mov ecx, dword [edx]
lea edx, [ecx + 1]
mov eax, dword [esi + 0xc]
cmp eax, edx
jae 0x5b8770
lea ecx, [eax + eax]
test eax, eax
mov eax, 8
cmove ecx, eax
mov dword [esp + 0x24], ecx
lea eax, [ecx*8]
push 0xbf6
push 0xf0b144
push eax
push dword [esi + 8]
call fcn.006310a0
add esp, 0x10
test eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
je 0x5b8795
mov dword [esp + 0x20], edi
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xc], ecx
mov ecx, dword [edx]
mov esi, edx
lea edx, [ecx + 1]
jmp 0x5b877b
mov edi, dword [esp + 8]
test byte [edi + 0x3c], 1
jne 0x5b95cf
mov ecx, dword [esp + 0x14]
jmp 0x5b7dc4
mov eax, dword [esp + 8]
test byte [eax + 0x3c], 1
je 0x5b887c
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1d4
push eax
call fcn.006349b0
add esp, 4
mov eax, dword [esp + 8]
and byte [eax + 0x3c], 0xfe
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x38]
test eax, 0x100
mov ecx, dword [esp + 8]
je 0x5b9900
test byte [esi + 0xf9], 8
je 0x5b9900
push 1
push dword [esi + 0x5c]
lea eax, [esp + 0xa8]
push eax
call fcn.0057d610
add esp, 0xc
mov edi, dword [esp + 0xa8]
test edi, edi
je 0x5b9532
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1fc
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
lea eax, [esp + 0xa0]
push eax
call fcn.0057d670
add esp, 4
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xd0]
mov ecx, 0x8fffffff
and eax, ecx
mov dword [edi + 0xd0], eax
mov edx, dword [edi + 0xd4]
mov ecx, edx
and ecx, 0xfffffffe
mov dword [edi + 0xd4], ecx
mov dword [edi + 0x4c], 0
mov dword [edi + 0x48], 0
test dl, 4
je 0x5b89a1
mov ecx, dword [esp + 0xc]
call fcn.005ba780
test eax, eax
je 0x5ba35d
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esp + 0xc0], xmm0
lea ecx, [esp + 0xc0]
push ecx
push eax
call fcn.005bb4e0
add esp, 8
test eax, eax
je 0x5b95f9
mov ecx, dword [esp + 0xc]
call fcn.005ba810
test eax, eax
je 0x5ba35d
mov eax, dword [esp + 8]
or byte [eax + 0x18], 1
mov eax, dword [edi + 0xd0]
mov ecx, 0x20000000
or eax, ecx
mov dword [edi + 0xd0], eax
mov ecx, dword [edi + 0xd4]
mov dword [esp + 0x28], 1
test cl, 8
mov dword [esp + 0x10], edi
je 0x5b8aa4
and eax, 0xff00
cmp eax, 0x500
jne 0x5ba35d
mov ecx, dword [esp + 0xc]
call fcn.005ba780
test eax, eax
je 0x5ba35d
movsd xmm0, qword [edi + 0x20]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [edi + 0x30]
movsd qword [esp + 0xc8], xmm0
movzx ecx, byte [edi + 0xd1]
lea edx, [ecx - 3]
cmp edx, 4
jae 0x5b8b4b
movsd xmm0, qword [edi + 0x50]
movsd qword [esp + 0xd0], xmm0
lea ecx, [esp + 0xc0]
push ecx
push eax
call fcn.005bb480
add esp, 8
test eax, eax
je 0x5b95f9
mov ecx, dword [esp + 0xc]
call fcn.005ba810
test eax, eax
je 0x5ba35d
mov eax, dword [esp + 8]
or byte [eax + 0x18], 1
or byte [edi + 0xd3], 0x40
mov edi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
mov eax, dword [esp + 0x10]
lea esi, [eax + 0x60]
push esi
call fcn.005b2ef0
add esp, 4
cmp eax, edi
sbb edx, ebx
jb 0x5ba35d
mov edi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
push esi
call fcn.005b2ef0
add esp, 4
sub edi, eax
sbb ebx, edx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x48], edi
mov edi, dword [esp + 0x10]
mov dword [edi + 0x4c], ebx
mov eax, dword [edi + 0xd0]
mov dword [esp + 0x28], 1
mov ecx, eax
and ecx, 0xff0000
cmp ecx, 0x10000
jne 0x5b8b80
test byte [edi + 0xd4], 2
jne 0x5b8ada
lea eax, [edi + 0x80]
push 0
push eax
call fcn.005b3580
add esp, 8
test eax, eax
je 0x5b8b7a
mov ecx, dword [esp + 0xc]
call fcn.005ba780
test eax, eax
je 0x5ba35d
mov esi, eax
lea eax, [edi + 0x80]
push eax
call fcn.005b3540
add esp, 4
push edx
push eax
push dword [edi + 0x24]
push dword [edi + 0x20]
push esi
call fcn.005bb950
add esp, 0x14
test eax, eax
je 0x5b95f9
mov ecx, dword [esp + 0xc]
call fcn.005ba810
test eax, eax
je 0x5ba35d
mov eax, dword [esp + 8]
or byte [eax + 0x18], 1
mov eax, dword [edi + 0xd0]
mov ecx, 0x10000000
or eax, ecx
mov dword [edi + 0xd0], eax
mov dword [esp + 0x28], 1
jmp 0x5b8b80
cmp ecx, 2
jne 0x5ba35d
lea ecx, [esp + 0xd0]
push ecx
push dword [edi + 0x58]
mov esi, eax
call fcn.0057c460
add esp, 8
mov ecx, eax
mov eax, esi
test ecx, ecx
jne 0x5b8a0c
jmp 0x5ba35d
mov eax, dword [edi + 0xd0]
shr eax, 8
mov ecx, eax
add cl, 0xfc
cmp cl, 0xfd
jb 0x5b8ee0
movzx eax, al
add eax, 0xfffffff9
cmp eax, 0xfffffffd
ja 0x5b8ee0
test byte [edi + 0xd4], 8
jne 0x5ba35d
mov eax, dword [edi + 0x20]
mov dword [esp + 0x1a4], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x1a0], eax
mov esi, dword [edi + 0x58]
lea ecx, [edi + 0x60]
xorps xmm0, xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x88], ecx
push ecx
call fcn.005b2ef0
add esp, 4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0xf8], 2
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xc8]
push eax
push 0
mov dword [esp + 0x17c], esi
push esi
call fcn.0057bff0
add esp, 0x14
mov dword [esp + 0xfc], eax
test eax, eax
je 0x5b8ead
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, eax
or edx, ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x60], edx
jne 0x5b8cbb
test byte [esp + 0xdc], 2
je 0x5ba335
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
push dword [esp + 0x48]
push dword [esp + 0x50]
mov edi, dword [esp + 0x90]
push edi
call fcn.005b2d00
add esp, 0xc
mov esi, eax
mov ebx, edx
push edi
call fcn.005b2ef0
add esp, 4
add eax, esi
adc edx, ebx
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0xd4]
mov ecx, ebx
or ecx, edi
je 0x5b8d71
mov esi, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
add ebx, esi
adc edi, ecx
cmp eax, ebx
mov ebx, edx
sbb ebx, edi
jae 0x5b8d5e
mov edi, eax
sub edi, esi
mov ebx, edx
sbb ebx, ecx
mov dword [esp + 0x18], esi
mov esi, 0
cmovb edi, esi
cmovb ebx, esi
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd0], edi
mov ebx, dword [esp + 0xdc]
and ebx, 0xfffffffd
cmp dword [esp + 0x18], eax
sbb ecx, edx
mov dword [esp + 0xdc], ebx
jae 0x5b8d78
cmp dword [esp + 0xfc], 0
mov edi, dword [esp + 0x10]
jne 0x5b8d93
jmp 0x5b8ead
mov ebx, dword [esp + 0xdc]
test bl, 2
mov edi, dword [esp + 0x10]
je 0x5b8ead
cmp dword [esp + 0xfc], 0
je 0x5b8ead
mov dword [esp + 0x138], 2
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x108]
push eax
push 1
push dword [esp + 0x17c]
call fcn.0057bff0
add esp, 0x14
mov dword [esp + 0x13c], eax
test eax, eax
je 0x5b8f1e
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x114]
mov edx, eax
or edx, ecx
jne 0x5b8df8
test byte [esp + 0x11c], 2
je 0x5ba335
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
push dword [esp + 0x48]
push dword [esp + 0x50]
mov edi, dword [esp + 0x90]
push edi
call fcn.005b2d00
add esp, 0xc
mov esi, eax
mov ebx, edx
push edi
call fcn.005b2ef0
add esp, 4
add eax, esi
adc edx, ebx
mov ebx, dword [esp + 0x110]
mov edi, dword [esp + 0x114]
mov ecx, ebx
or ecx, edi
je 0x5b8f03
mov esi, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
add ebx, esi
adc edi, ecx
cmp eax, ebx
mov ebx, edx
sbb ebx, edi
mov edi, dword [esp + 0x10]
jae 0x5b8f1e
mov edi, eax
sub edi, esi
mov ebx, edx
sbb ebx, ecx
mov dword [esp + 0x18], esi
mov esi, 0
cmovb edi, esi
cmovb ebx, esi
mov dword [esp + 0x114], ebx
mov dword [esp + 0x110], edi
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x11c]
and ebx, 0xfffffffd
cmp dword [esp + 0x18], eax
sbb ecx, edx
mov dword [esp + 0x11c], ebx
jae 0x5b8f0e
jmp 0x5b8f1e
mov dword [edi + 0x48], 0
mov eax, dword [esp + 0x4c]
add eax, dword [edi + 0x48]
mov dword [esp + 0x4c], eax
mov dword [edi + 0x4c], 0
mov eax, dword [esp + 0x48]
adc eax, dword [edi + 0x4c]
mov dword [esp + 0x48], eax
nop word cs:[eax + eax]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
mov dword [edi + 0x18], eax
mov dword [edx], edi
mov edi, dword [esp + 0xa8]
test edi, edi
jne 0x5b88df
jmp 0x5b9900
mov ebx, dword [esp + 0x11c]
mov edi, dword [esp + 0x10]
test bl, 2
jne 0x5b8f1e
mov dword [esp + 0x13c], 0
mov edx, dword [esp + 0x8c]
shl edx, 4
add edx, dword [esp + 0x6c]
mov dword [esp + 0x168], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 8]
mov ebx, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, 0
test al, 1
jne 0x5b8f5f
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 0xc]
mov esi, dword [esp + 0x3c]
and esi, 1
mov dword [esp + 0x40], esi
shl esi, 6
mov dword [esp + 0x18], esi
cmp dword [esp + esi + 0xfc], 0
je 0x5b94ec
mov edx, dword [esp + 8]
add ecx, dword [edx + 4]
sub ebx, ecx
cmp ebx, 3
jb 0x5b98d8
test al, 2
jne 0x5ba339
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x18]
add eax, esp
add eax, 0xc0
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x24]
mov dword [esp + 0x54], eax
cmp dword [esp + 0x3c], 0
je 0x5b90f0
mov eax, dword [esp + 0x3c]
inc eax
mov esi, eax
and esi, 1
shl esi, 6
lea ebx, [esp + esi]
add ebx, 0xc0
lea ecx, [esp + esi + 0xf8]
mov dword [esp + esi + 0xf8], 2
lea edx, [esp + esi + 0xe8]
push ecx
push edx
push ebx
push eax
push dword [esp + 0x17c]
call fcn.0057bff0
add esp, 0x14
mov dword [esp + esi + 0xfc], eax
test eax, eax
je 0x5b90f0
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov edx, eax
or edx, ecx
mov edi, ebx
jne 0x5b902e
test byte [edi + 0x1c], 2
je 0x5ba335
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
push dword [esp + 0x48]
push dword [esp + 0x50]
mov esi, dword [esp + 0x90]
push esi
call fcn.005b2d00
add esp, 0xc
mov dword [esp + 0x78], eax
mov ebx, edx
push esi
call fcn.005b2ef0
add esp, 4
add eax, dword [esp + 0x78]
adc edx, ebx
mov ebx, dword [edi + 0x10]
mov esi, edi
mov edi, dword [edi + 0x14]
mov ecx, ebx
or ecx, edi
je 0x5b90dc
mov dword [esp + 0x78], edx
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x164], edx
add ebx, edx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x198]
adc edi, ecx
cmp eax, ebx
mov ebx, edx
sbb ebx, edi
mov edi, dword [esp + 0x10]
jae 0x5b90f0
mov edi, eax
sub edi, dword [esp + 0x164]
mov ebx, edx
sbb ebx, ecx
mov edx, 0
cmovb edi, edx
cmovb ebx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov edi, dword [esp + 0x10]
mov ebx, dword [esi + 0x1c]
and ebx, 0xfffffffd
cmp dword [esp + 0x164], eax
sbb ecx, dword [esp + 0x78]
mov dword [esi + 0x1c], ebx
jae 0x5b90e3
jmp 0x5b90f0
mov ebx, dword [esi + 0x1c]
mov edi, dword [esp + 0x10]
test bl, 2
jne 0x5b90f0
mov dword [esi + 0x3c], 0
nop
mov ecx, dword [esp + 0x20]
and byte [ecx + 0x1c], 0xfe
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x188], 0
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x18c]
push eax
call fcn.005baca0
add esp, 8
test eax, eax
je 0x5b98d8
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x188]
add edx, eax
mov esi, dword [esp + 0x18c]
adc esi, ecx
mov bl, 1
cmp dword [esp + 0x68], 0
jne 0x5b917b
mov edi, dword [esp + 0x40]
xor edi, 1
shl edi, 6
cmp dword [esp + edi + 0xfc], 0
mov edi, dword [esp + 0x10]
setne bl
cmp edx, dword [esp + 0x24]
sbb esi, 0
jae 0x5b9188
test bl, bl
jne 0x5b9199
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x9c], 0
je 0x5b94c0
mov esi, dword [esp + 0x20]
or byte [esi + 0x1c], 1
mov dword [esp + 0x184], 0
mov dword [esp + 0x180], 0
mov ecx, esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x484]
push eax
call fcn.005baca0
add esp, 8
test eax, eax
je 0x5b98d8
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x184]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov edx, dword [esi + 0x1c]
test dl, 2
je 0x5b920e
mov ebx, dword [esp + 0x40]
xor ebx, 1
shl ebx, 6
mov dword [esp + ebx + 0xfc], 0
cmp eax, dword [esp + 0x64]
sbb ecx, dword [esp + 0x54]
jae 0x5b921e
and edx, 0xfffffffd
mov dword [esi + 0x1c], edx
lea ecx, [esi + 0x28]
push dword [esi + 0x38]
push ecx
push eax
call fcn.0057c730
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add ecx, 3
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 0xc]
cmp eax, ecx
jae 0x5b9283
lea esi, [eax + eax]
test eax, eax
mov eax, 8
cmove esi, eax
lea eax, [esi*8]
push 0xbf6
push 0xf0b144
push eax
push dword [edx + 8]
mov ebx, edx
call fcn.006310a0
add esp, 0x10
test eax, eax
je 0x5ba339
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
call fcn.005ba780
test eax, eax
je 0x5ba339
mov ecx, dword [esp + 0x1a4]
mov dword [esi], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [esi + 4], ecx
push esi
push eax
call fcn.005bb710
add esp, 8
test eax, eax
je 0x5b98ab
mov ecx, dword [esp + 0xc]
call fcn.005ba810
test eax, eax
je 0x5ba339
cmp dword [esi + 0x38], 0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
je 0x5b93c0
lea eax, [esp + 0xec]
add dword [esp + 0x18], eax
xor edi, edi
jmp 0x5b9323
mov dword [esp + 0x40], esi
mov eax, dword [ebx + 8]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*8], esi
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*8 + 4], esi
mov dword [ebx], edx
mov ecx, dword [esp + 8]
add dword [ecx + 4], esi
mov edx, ebx
inc edi
mov esi, dword [esp + 0x20]
cmp edi, dword [esi + 0x38]
jae 0x5b93c0
mov eax, dword [esp + 0x18]
mov esi, dword [eax + edi*8]
test esi, esi
je 0x5b9315
test byte [ecx + 0x18], 2
jne 0x5b9315
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*8 - 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx]
shl ecx, 4
lea ebx, [eax + ecx]
add ebx, 0x130
mov ecx, dword [edx]
lea edx, [ecx + 1]
mov eax, dword [ebx + 0xc]
cmp eax, edx
jae 0x5b92f0
lea ecx, [eax + eax]
test eax, eax
mov eax, 8
cmove ecx, eax
mov dword [esp + 0x28], ecx
lea eax, [ecx*8]
push 0xbf6
push 0xf0b144
push eax
push dword [ebx + 8]
call fcn.006310a0
add esp, 0x10
test eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
je 0x5b9315
mov dword [esp + 0x40], esi
mov dword [ebx + 8], eax
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0xc], ecx
mov ecx, dword [edx]
mov ebx, edx
lea edx, [ecx + 1]
jmp 0x5b92fb
mov edx, ecx
mov ecx, dword [ecx + 0x18]
mov eax, ecx
or eax, 1
mov dword [edx + 0x18], eax
mov eax, dword [esi + 0x1c]
test al, 1
jne 0x5b93de
or ecx, 3
mov edx, dword [esp + 8]
mov dword [edx + 0x18], ecx
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov esi, edx
or esi, ecx
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x18], ebx
je 0x5b9426
add edx, edi
adc ecx, ebx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x60]
cmp edi, edx
mov esi, dword [esp + 0x2c]
mov ebx, esi
sbb ebx, ecx
cmovb esi, ecx
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
cmovb edi, edx
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x24]
jmp 0x5b942a
mov edx, edi
mov ecx, ebx
mov ebx, dword [esi]
mov dword [esp + 0x140], ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14c], edi
add edx, 0xffffffff
adc ecx, 0xffffffff
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], ecx
shr eax, 1
and eax, 1
mov ecx, dword [esp + 0x158]
and ecx, 0xfffffff8
or ecx, eax
mov dword [esp + 0x158], ecx
lea eax, [esp + 0x140]
push eax
push dword [esp + 0x1a0]
call fcn.005bb030
add esp, 8
test eax, eax
je 0x5ba335
inc dword [esp + 0x3c]
mov eax, dword [esp + 0x64]
cmp dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
sbb eax, dword [esp + 0x54]
mov dword [esp + 0x28], 1
mov edi, dword [esp + 0x10]
jae 0x5b8f46
jmp 0x5b94ec
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x1c]
and edx, 0xfffffffe
mov dword [esi + 0x1c], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esp + 0x168], 1
test dl, 2
jne 0x5b91f9
jmp 0x5b920e
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
sbb eax, dword [esp + 0x80]
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
mov eax, dword [esp + 0x4c]
add eax, dword [edi + 0x48]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
adc eax, dword [edi + 0x4c]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x168], 0
mov ecx, dword [esp + 8]
je 0x5b8ee4
jmp 0x5b98f5
mov ecx, dword [esp + 8]
jmp 0x5b9900
mov esi, dword [esp + 0x14]
lea eax, [esp + esi]
add eax, 0x1d4
push eax
call fcn.006349b0
mov ecx, esi
add esp, 4
and byte [edi + 0x3c], 0xfe
mov dword [edi + 0x1c], 0
mov esi, dword [ebp + 8]
jmp 0x5b810e
push ebx
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
je 0x5b97de
push esi
call fcn.005c2ae0
add esp, 4
add eax, 0xfffffff9
adc edx, 0xffffffff
mov ecx, 0x14
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x5b95c2
jmp dword [eax*4 + 0xf0b088]
test edi, 0x800
je 0x5b9570
jmp 0x5b7a14
mov esi, dword [esp + 0x14]
lea eax, [esp + esi]
add eax, 0x1d4
push eax
call fcn.006349b0
mov ecx, esi
add esp, 4
and byte [edi + 0x3c], 0xfe
mov dword [edi + 0x1c], 0
mov esi, dword [ebp + 8]
jmp 0x5b7dc4
mov ecx, dword [esp + 8]
test byte [ecx + 0x3c], 1
je 0x5b98f5
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1d4
push eax
call fcn.006349b0
mov ecx, dword [esp + 0xc]
add esp, 4
and byte [ecx + 0x3c], 0xfe
mov dword [ecx + 0x1c], 0
jmp 0x5b98f5
test edi, 0x800
jne 0x5b7a14
push ebx
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
je 0x5b97de
push esi
call fcn.005c2ae0
add esp, 4
add eax, 0xfffffff9
adc edx, 0xffffffff
mov ecx, 0x14
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x5b962f
jmp dword [eax*4 + 0xf0b034]
test edi, 0x800
jne 0x5b7a14
push ebx
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
je 0x5b97de
push esi
call fcn.005c2ae0
add esp, 4
add eax, 0xfffffff9
adc edx, 0xffffffff
mov ecx, 0x14
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x5b9680
jmp dword [eax*4 + 0xf0afe0]
test al, al
js 0x5b9746
test al, 0x40
jne 0x5b97b3
test eax, 0x800
jne 0x5b971a
push esi
call fcn.005c2ae0
add esp, 4
mov ecx, eax
xor ecx, 7
or ecx, edx
je 0x5b7a14
xor eax, 0x1b
or eax, edx
je 0x5b7a14
push ebx
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
jne 0x5b96e4
jmp 0x5b97de
push esi
call fcn.005c2ae0
add esp, 4
and eax, 0xfffffffe
xor eax, 0x18
or eax, edx
jne 0x5b7a14
push ebx
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
jne 0x5b971a
jmp 0x5b97de
test al, 0x40
jne 0x5b985a
test eax, 0x800
je 0x5b978b
push esi
call fcn.005c2ae0
add esp, 4
xor eax, 0x18
or eax, edx
jne 0x5b7a14
push ebx
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
jne 0x5b9755
jmp 0x5b97de
push ebx
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
je 0x5b97de
push esi
call fcn.005c2ae0
add esp, 4
mov ecx, 0x1b
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x5b977b
mov ecx, 0xa000080
bt ecx, eax
jae 0x5b977b
jmp 0x5b7a14
test eax, 0x800
je 0x5b9832
push esi
call fcn.005c2ae0
add esp, 4
xor eax, 0x19
or eax, edx
jne 0x5b7a14
push ebx
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
jne 0x5b97ba
test edi, 0x100
je 0x5b99cd
mov eax, dword [ebp + 8]
test byte [eax + 0xf9], 8
je 0x5b99cd
push 0
push dword [eax + 0x5c]
lea eax, [esp + 0xc8]
push eax
call fcn.0057d610
add esp, 0xc
cmp dword [esp + 0xc8], 0
jne 0x5b7a14
jmp 0x5b99cd
push ebx
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
je 0x5b97de
push esi
call fcn.005c2ae0
add esp, 4
mov ecx, 0x1b
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x5b9822
mov ecx, 0x9000080
bt ecx, eax
jae 0x5b9822
jmp 0x5b7a14
test eax, 0x800
je 0x5b9883
push esi
call fcn.005c2ae0
add esp, 4
jmp 0x5b7a14
push ebx
push esi
call fcn.005c3210
add esp, 8
mov esi, eax
test eax, eax
je 0x5b97de
push esi
call fcn.005c2ae0
add esp, 4
mov ecx, 0x1b
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x5b986f
mov ecx, 0xb000080
bt ecx, eax
jae 0x5b986f
jmp 0x5b7a14
mov eax, dword [esp + 8]
test byte [eax + 0x3c], 1
je 0x5b98d8
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1d4
push eax
call fcn.006349b0
add esp, 4
mov eax, dword [esp + 8]
and byte [eax + 0x3c], 0xfe
mov dword [eax + 0x1c], 0
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
sbb eax, dword [esp + 0x80]
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
mov dword [edi + 0x18], eax
mov dword [edx], edi
mov eax, dword [esp + 0x28]
or byte [ecx + 0x18], 1
mov esi, eax
test eax, eax
je 0x5b99da
mov dword [esp + 0x84], 0
shl esi, 3
and esi, 8
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x254
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov ecx, dword [esp + 8]
add eax, dword [ecx + 4]
mov edi, dword [esp + 0x50]
mov dword [edi + 8], eax
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0x5c]
movsd xmm0, qword [edx + ebx*8 + 0xd8]
movsd qword [edi], xmm0
mov eax, dword [edi + 0x20]
and eax, 0xffffffc0
xor ecx, ecx
cmp dword [esp + 0x84], 0
sete cl
or eax, esi
lea eax, [eax + ecx*4]
or eax, ebx
mov dword [edi + 0x20], eax
push dword [edx + 0x7c]
call dword [edx + 0x78]
add esp, 4
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x1ac]
movzx eax, byte [eax]
mov byte [edi + 0x50], al
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x9c], 0
mov eax, 1
mov ecx, dword [esp + 0x94]
cmovne ecx, eax
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 8]
add eax, dword [ecx + 4]
mov ecx, dword [esp + 0xc]
add eax, dword [ecx]
mov ecx, dword [esp + 0x17c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x58]
jmp 0x5b77b2
mov eax, dword [esp + 0x38]
test al, 2
jne 0x5b99e9
xor esi, esi
jmp 0x5b9923
test ax, ax
mov esi, 0
js 0x5b9a14
mov eax, 1
mov ecx, dword [esp + 0x5c]
shl eax, cl
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xf8]
shr ecx, 7
and eax, ecx
test al, 7
je 0x5b9923
mov ecx, dword [esp + 0xc]
call fcn.005ba780
test eax, eax
je 0x5ba35d
push eax
call fcn.005bb260
add esp, 4
test eax, eax
je 0x5ba35d
mov ecx, dword [esp + 0xc]
call fcn.005ba810
mov esi, 1
test eax, eax
jne 0x5b9912
jmp 0x5ba35d
mov esi, dword [esp + 0x1b8]
mov eax, dword [esp + 0x1f4]
test eax, eax
sete cl
test esi, esi
sete dl
or dl, cl
cmp dl, 1
jne 0x5b9a9a
cmp dword [esp + 0x94], 0
jne 0x5b9a9a
mov esi, dword [ebp + 8]
lea eax, [esi + 0x2c]
mov dword [esp + 0x20], eax
lea eax, [esi + 0xa4]
mov dword [esp + 0x5c], eax
xor ecx, ecx
mov dword [esp + 0xc], 0
jmp 0x5b9ae8
test esi, esi
sete cl
test eax, eax
sete al
or al, cl
je 0x5b9f7e
mov edi, 4
xor esi, esi
cmp dword [esp + 0x2a8], 0
jne 0x5ba01b
jmp 0x5ba100
cmp dword [ebx + 8], 0
setne al
movzx eax, al
mov dword [esi + 4], eax
mov dword [ebx + 0x48], 0
inc dword [esp + 0xc]
inc ecx
cmp ecx, 4
je 0x5ba0bc
imul eax, ecx, 0xb4
cmp dword [esp + eax + 0x1f4], 0
je 0x5b9ade
lea edx, [esp + eax]
add edx, 0x1b0
cmp dword [edx + 8], 0
je 0x5b9ade
mov esi, dword [edx + 0x18]
cmp esi, 4
jae 0x5ba384
mov dword [esp + 0x18], ecx
mov edi, dword [esi*4 + 0xf0b228]
mov eax, dword [edx + 0x48]
mov dword [esp + 8], eax
lea eax, [edx + 0x50]
mov dword [esp + 0xc0], eax
mov eax, esi
shl eax, 4
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + eax + 8]
mov dword [esp + 0xc4], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x24], esi
lea eax, [esi + esi*2]
mov ecx, dword [esp + 0x178]
mov eax, dword [ecx + eax*4 + 0xf0b1e8]
mov dword [esp + 0x44], eax
mov dword [esp + 0xd0], 0
mov esi, edx
mov ebx, dword [esp + 0x20]
push ebx
call fcn.005d1a00
add esp, 4
test eax, eax
cmovne eax, ebx
mov ebx, esi
mov dword [esp + 0xcc], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + edi*8 + 0xd8]
mov dword [esp + 0x1c], edi
mov ecx, dword [ecx + edi*8 + 0xdc]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], 1
mov esi, dword [esi + 0x4c]
jmp 0x5b9bd3
mov esi, dword [esi + 0x18]
test esi, esi
je 0x5b9c40
mov eax, dword [esi + 0xd0]
test eax, 0x60000000
je 0x5b9bd0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], edx
movsd xmm0, qword [0xf0afb0]
movups xmmword [esp + 0x148], xmm0
mov ecx, dword [esp + 0x158]
shr eax, 0x1c
and ecx, 0xfffffff8
and eax, 6
or eax, ecx
mov dword [esp + 0x158], eax
lea eax, [esp + 0x140]
push eax
push dword [esp + 0xc]
call fcn.005bb030
add esp, 8
test eax, eax
jne 0x5b9bd0
jmp 0x5ba384
push dword [esp + 8]
push dword [esp + 0x60]
call fcn.005c32d0
add esp, 8
test eax, eax
je 0x5ba384
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
add dword [eax + ecx*8 + 0xd8], 1
adc dword [eax + ecx*8 + 0xdc], 0
lea ecx, [esp + 0xc0]
push ecx
push dword [eax + 0x4c]
call fcn.005786d0
add esp, 8
test eax, eax
je 0x5ba0c6
mov esi, dword [ebx + 0x4c]
mov edi, 1
jmp 0x5b9ca3
mov esi, dword [esi + 0x18]
test esi, esi
je 0x5b9dc0
mov eax, dword [esi + 0xd0]
test eax, 0x10000000
jne 0x5b9d70
test eax, 0x20000000
jne 0x5b9d99
test eax, 0x40000000
je 0x5b9cd5
and byte [esi + 0xd4], 0xf7
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov edx, eax
or edx, ecx
je 0x5b9d05
lea edx, [esi + 0x60]
push ecx
push eax
push edx
call fcn.005b2dd0
add esp, 0xc
test eax, eax
je 0x5b9db0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x5c]
call fcn.0057ccf0
add esp, 8
movzx eax, byte [esi + 0xd1]
add al, 0xfc
cmp al, 0xfd
jb 0x5b9ca0
push dword [esi + 0x58]
call fcn.0057c1e0
add esp, 4
test eax, eax
jne 0x5b9ca0
push 0
push dword [esi + 0x58]
call fcn.0057c460
add esp, 8
test eax, eax
je 0x5b9ca0
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x5c]
call fcn.0057d0d0
add esp, 8
jmp 0x5b9ca0
and byte [esi + 0xd4], 0xfd
lea eax, [esi + 0x80]
push 1
push eax
call fcn.005b3580
add esp, 8
mov eax, dword [esi + 0xd0]
test eax, 0x20000000
je 0x5b9cc7
and byte [esi + 0xd4], 0xfb
test eax, 0x40000000
jne 0x5b9cce
jmp 0x5b9cd5
xor edi, edi
jmp 0x5b9cf7
mov eax, dword [esp + 8]
test byte [eax + 0x20], 8
je 0x5b9de6
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x1c]
rol eax, cl
shl eax, 7
or eax, 0xfffffc7f
mov ecx, dword [ebp + 8]
and dword [ecx + 0xf8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x54]
test al, 1
mov esi, dword [ebp + 0xc]
jne 0x5b9e23
test al, 2
jne 0x5b9e38
test al, 4
jne 0x5b9e5a
test al, 8
jne 0x5b9e7c
test al, 0x10
jne 0x5b9ea2
test al, 0x20
jne 0x5b9ecb
mov eax, dword [esp + 8]
test byte [eax + 0x20], 8
jne 0x5b9edf
jmp 0x5b9f40
mov eax, dword [ebp + 8]
and byte [eax + 0xf8], 0xfe
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x54]
test al, 2
je 0x5b9df8
mov eax, dword [ebp + 8]
and byte [eax + 0xf8], 0xfd
push 1
push dword [eax + 0x64]
call fcn.005b3580
add esp, 8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x54]
test al, 4
je 0x5b9dfc
mov eax, dword [ebp + 8]
and byte [eax + 0xf8], 0xfb
push 1
push dword [eax + 0x68]
call fcn.005b3580
add esp, 8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x54]
test al, 8
je 0x5b9e00
mov eax, dword [ebp + 8]
and byte [eax + 0xf8], 0xf7
push 1
push dword [eax + 0x6c]
call fcn.005b3580
add esp, 8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x54]
test al, 0x10
je 0x5b9e08
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x1c]
rol eax, cl
shl eax, 4
or eax, 0xffffff8f
mov ecx, dword [ebp + 8]
and dword [ecx + 0xf8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x54]
test al, 0x20
je 0x5b9e10
mov eax, dword [ebp + 8]
and byte [eax + 0xf9], 0xfb
mov eax, dword [esp + 8]
test byte [eax + 0x20], 8
je 0x5b9f40
mov eax, dword [ebp + 8]
push dword [eax + 0x58]
call fcn.005c20c0
add esp, 4
mov ecx, dword [esp + 0x24]
cmp ecx, 1
je 0x5b9f04
test ecx, ecx
jne 0x5b9f13
mov ecx, dword [eax]
mov edx, eax
test ecx, ecx
jne 0x5b9f10
jmp 0x5b9f13
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x5b9f13
mov edx, eax
add edx, 4
dec ecx
mov dword [edx], ecx
test dword [esp + 0x44], 0x2000
je 0x5b9f40
mov ecx, dword [esp + 0x1c]
mov ecx, dword [eax + ecx*4 + 8]
test ecx, ecx
je 0x5b9f40
dec ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + edx*4 + 8], ecx
nop word cs:[eax + eax]
test edi, edi
je 0x5ba0c6
mov al, 1
cmp dword [esi], 0
jne 0x5b9f5b
mov eax, dword [ebx + 0x48]
movzx eax, byte [eax + 0x20]
and al, 8
shr al, 3
movzx eax, al
mov dword [esi], eax
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jne 0x5b9ad3
cmp dword [ebx + 0x44], 0
jne 0x5b9ac6
xor eax, eax
jmp 0x5b9acd
mov eax, dword [esp + 0x1c8]
mov ecx, dword [esp + 0x1cc]
add ecx, ecx
and ecx, 4
test dword [esp + 0x25c], 0x4000
mov edi, 4
cmovne edi, ecx
test eax, eax
je 0x5ba006
lea ecx, [esp + 0xc0]
push ecx
push esi
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
call fcn.00578630
add esp, 0x10
test eax, eax
je 0x5ba0d2
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x200]
mov dword [esp + 0x240], eax
movzx eax, byte [esp + 0x208]
push ecx
push eax
call fcn.0057e530
add esp, 8
add eax, dword [esp + 0xc0]
mov esi, dword [esp + 0x1b8]
sub eax, esi
mov dword [esp + 0x254], eax
add esi, dword [esp + 0x254]
cmp dword [esp + 0x2a8], 0
je 0x5ba100
mov ecx, dword [esp + 0x26c]
test ecx, ecx
je 0x5ba100
cmp edi, 4
jne 0x5ba051
mov edi, 4
test byte [esp + 0x311], 0x40
je 0x5ba051
movzx eax, byte [esp + 0x280]
and al, 2
shr al, 1
movzx eax, al
lea edi, [eax + eax*2]
inc edi
mov eax, dword [esp + 0x27c]
test eax, eax
je 0x5ba0f7
lea edx, [esp + 0xc0]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
call fcn.00578630
add esp, 0x10
test eax, eax
je 0x5ba0f0
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x2b4]
mov dword [esp + 0x2f4], eax
movzx eax, byte [esp + 0x2bc]
push ecx
push eax
call fcn.0057e530
add esp, 8
add eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x26c]
sub eax, ecx
mov dword [esp + 0x308], eax
jmp 0x5ba0f7
mov esi, 1
jmp 0x5ba386
mov dword [ebx + 0x48], 0
jmp 0x5ba384
mov esi, dword [esp + 0x1b8]
add esi, dword [esp + 0x254]
cmp dword [esp + 0x2a8], 0
jne 0x5ba01b
jmp 0x5ba100
mov ecx, dword [esp + 0x26c]
add esi, dword [esp + 0x308]
add esi, ecx
cmp dword [esp + 0x35c], 0
je 0x5ba1b6
mov ecx, dword [esp + 0x320]
test ecx, ecx
je 0x5ba1b6
cmp edi, 4
jne 0x5ba13f
mov edi, 4
test byte [esp + 0x3c5], 0x40
je 0x5ba13f
movzx edi, byte [esp + 0x334]
and edi, 2
add edi, 2
mov eax, dword [esp + 0x330]
test eax, eax
je 0x5ba1ad
lea edx, [esp + 0xc0]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
call fcn.00578630
add esp, 0x10
test eax, eax
je 0x5ba1a6
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x368]
mov dword [esp + 0x3a8], eax
movzx eax, byte [esp + 0x370]
push ecx
push eax
call fcn.0057e530
add esp, 8
add eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x320]
sub eax, ecx
mov dword [esp + 0x3bc], eax
jmp 0x5ba1ad
mov ecx, dword [esp + 0x320]
add esi, dword [esp + 0x3bc]
add esi, ecx
cmp dword [esp + 0x410], 0
je 0x5ba26d
mov ecx, dword [esp + 0x3d4]
test ecx, ecx
je 0x5ba26d
cmp edi, 4
jne 0x5ba1f6
mov edi, 4
test byte [esp + 0x479], 0x40
je 0x5ba1f6
movzx eax, byte [esp + 0x3e8]
and al, 2
cmp al, 1
sbb edi, 0
mov eax, dword [esp + 0x3e4]
test eax, eax
je 0x5ba264
lea edx, [esp + 0xc0]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
call fcn.00578630
add esp, 0x10
test eax, eax
je 0x5ba25d
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x41c]
mov dword [esp + 0x45c], eax
movzx eax, byte [esp + 0x424]
push ecx
push eax
call fcn.0057e530
add esp, 8
add eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x3d4]
sub eax, ecx
mov dword [esp + 0x470], eax
jmp 0x5ba264
mov ecx, dword [esp + 0x3d4]
add esi, dword [esp + 0x470]
add esi, ecx
cmp edi, 4
je 0x5ba2fb
cmp esi, 0x4af
ja 0x5ba2fb
imul eax, edi, 0xb4
mov dword [esp + 0xc], 0
cmp dword [esp + eax + 0x1f4], 0
je 0x5ba384
lea edi, [esp + eax]
add edi, 0x1b0
cmp dword [edi + 0x48], 0
je 0x5ba384
mov ecx, edi
call fcn.005ba780
test eax, eax
je 0x5ba384
mov ebx, 0x4b0
sub ebx, esi
push ebx
push eax
call fcn.005bb240
add esp, 8
test eax, eax
je 0x5ba316
mov ecx, edi
call fcn.005ba810
mov esi, 0
test eax, eax
je 0x5ba386
mov eax, dword [edi + 0x48]
add dword [eax + 8], ebx
or byte [eax + 0x20], 4
mov eax, dword [edi + 0x48]
or dword [eax + 0x20], 4
jmp 0x5b9a7a
cmp esi, 0x4b0
jae 0x5b9a7a
mov esi, 1
mov dword [esp + 0xc], 0
jmp 0x5ba386
test byte [edi + 0x40], 1
je 0x5ba384
lea eax, [edi + 0x24]
push eax
call fcn.006349b0
add esp, 4
and byte [edi + 0x40], 0xfe
mov dword [edi + 0x20], 0
jmp 0x5ba384
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x7c]
sbb eax, dword [esp + 0x80]
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov dword [edi + 0x18], eax
mov dword [ecx], edi
push dword [esp + 0x50]
mov eax, dword [ebp + 8]
push dword [eax + 0x50]
call fcn.005bafd0
add esp, 8
mov eax, dword [esp + 0x90]
mov dword [eax], 0
mov dword [esp + 0xc], 0
xor esi, esi
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
call fcn.005794f0
add esp, 4
cmp dword [esp + 0x1f4], 0
je 0x5ba406
test byte [esp + 0x1f0], 1
je 0x5ba3cb
lea eax, [esp + 0x1d4]
push eax
call fcn.006349b0
add esp, 4
and byte [esp + 0x1f0], 0xfe
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1f4], 0
mov eax, dword [esp + 0x1f8]
test eax, eax
je 0x5ba406
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x50]
call fcn.005bafd0
add esp, 8
mov dword [esp + 0x1f8], 0
cmp dword [esp + 0x2a8], 0
je 0x5ba478
test byte [esp + 0x2a4], 1
je 0x5ba43d
lea eax, [esp + 0x288]
push eax
call fcn.006349b0
add esp, 4
and byte [esp + 0x2a4], 0xfe
mov dword [esp + 0x284], 0
mov dword [esp + 0x264], 0
mov dword [esp + 0x2a8], 0
mov eax, dword [esp + 0x2ac]
test eax, eax
je 0x5ba478
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x50]
call fcn.005bafd0
add esp, 8
mov dword [esp + 0x2ac], 0
cmp dword [esp + 0x35c], 0
je 0x5ba4ea
test byte [esp + 0x358], 1
je 0x5ba4af
lea eax, [esp + 0x33c]
push eax
call fcn.006349b0
add esp, 4
and byte [esp + 0x358], 0xfe
mov dword [esp + 0x338], 0
mov dword [esp + 0x318], 0
mov dword [esp + 0x35c], 0
mov eax, dword [esp + 0x360]
test eax, eax
je 0x5ba4ea
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x50]
call fcn.005bafd0
add esp, 8
mov dword [esp + 0x360], 0
cmp dword [esp + 0x410], 0
je 0x5ba551
test byte [esp + 0x40c], 1
je 0x5ba521
lea eax, [esp + 0x3f0]
push eax
call fcn.006349b0
add esp, 4
and byte [esp + 0x40c], 0xfe
mov dword [esp + 0x3ec], 0
mov dword [esp + 0x3cc], 0
mov dword [esp + 0x410], 0
mov eax, dword [esp + 0x414]
test eax, eax
je 0x5ba551
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x50]
call fcn.005bafd0
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret