Function at 0x560e20
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.00522c60
add esp, 4
push dword [edi + 0x58]
call fcn.0056b830
add esp, 4
cmp dword [eax], 0
mov ecx, 1
jne 0x560ed8
cmp dword [eax + 4], 0
jne 0x560ed8
cmp dword [eax + 8], 0
jne 0x560ed8
cmp dword [eax + 0xc], 0
jne 0x560ed8
cmp dword [eax + 0x10], 0
jne 0x560ed8
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 0x560f2c
mov ecx, edi
inc ecx
cmp ecx, 4
je 0x5631c1
test ecx, ecx
je 0x560f90
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 0x560f80
cmp ecx, 1
jne 0x560f80
mov ebx, ecx
jmp 0x560fc1
mov ebx, 2
jmp 0x560fc1
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.00521d80
add esp, 8
test eax, eax
je 0x560f20
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 + 0x9ed518]
mov ecx, edi
jne 0x56100a
mov eax, edx
and eax, 0x10000
je 0x560f22
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 0x561128
mov eax, edi
test al, 4
je 0x561071
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.00525760
add esp, 0x14
test eax, eax
jne 0x561184
mov eax, edi
test al, 1
jne 0x56114a
test edi, 0x2000
je 0x561098
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xf8]
shr eax, 7
bt eax, ebx
jb 0x561184
test edi, 0x200
jne 0x561663
mov eax, edi
test al, 8
je 0x5610ba
mov eax, dword [ebp + 8]
test byte [eax + 0xf8], 1
jne 0x561184
test edi, 0x400
je 0x5610e2
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 0x561184
cmp dword [esp + 0x34], 2
je 0x562f4e
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x54]
call fcn.0056c960
add esp, 8
test eax, eax
je 0x562f4e
mov esi, eax
mov eax, edi
test al, 0x20
je 0x562cf4
test eax, 0x1000
jne 0x562e41
test al, al
js 0x562e10
jmp 0x562dbf
mov esi, dword [ebp + 8]
push dword [esi + 0x58]
call fcn.0056b830
add esp, 4
mov edx, dword [esp + 0x34]
cmp edx, 1
je 0x561173
test edx, edx
jne 0x561179
cmp dword [eax], 0
jne 0x5611a0
jmp 0x561179
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x58]
call fcn.0056b870
add esp, 8
test eax, eax
jne 0x561184
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xf8]
shr eax, 4
bt eax, ebx
jb 0x561184
jmp 0x56107b
cmp dword [eax + 4], 0
jne 0x5611f4
cmp dword [eax + ebx*4 + 8], 0
je 0x56102b
mov edx, dword [esp + 0x34]
lea eax, [edx - 2]
cmp eax, 2
jb 0x5611ca
cmp edx, 1
mov esi, dword [ebp + 8]
je 0x5611f4
test edx, edx
jne 0x5631c1
imul eax, edx, 0xb4
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx*4 + 0x9ed518]
mov dword [esp + eax + 0x25c], ecx
mov eax, 0x9001
mov dword [esp + 8], 0
jmp 0x56121c
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 0x56121c
imul eax, edx, 0xb4
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx*4 + 0x9ed524]
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 0x5612a1
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.00527ca0
add esp, 8
test eax, eax
je 0x5631c1
mov edi, eax
push dword [esi + 0x4c]
call fcn.00523090
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 0x5631c1
mov dword [esp + 0xc0], eax
lea ecx, [esp + 0xc0]
push ecx
push eax
push dword [esp + 0x3c]
push dword [ebx + 0x4c]
call fcn.00521df0
add esp, 0x10
test eax, eax
je 0x5631c1
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 0x561395
mov eax, 1
test cx, cx
js 0x56138d
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 0x5631c1
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 0x561453
mov eax, dword [esp + 0x6c]
add eax, esi
push 0xd0
push 0x9ed474
push edi
push dword [eax]
call fcn.005db4d0
add esp, 0x10
test eax, eax
je 0x5631c1
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 0x561499
mov ecx, dword [eax*4 + 0x9ed558]
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 0x563aec
lea edi, [esp + ebx]
add edi, 0x1f8
push dword [esi + 0x50]
mov dword [esp + 0x3c], eax
call fcn.00564680
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 0x563aec
lea eax, [esp + ecx]
add eax, 0x1b4
mov dword [esp + 8], eax
xor eax, eax
test dl, 8
je 0x561540
test byte [esi + 0xf8], 1
je 0x561540
mov edx, dword [esp + 8]
test byte [edx + 0x18], 1
mov eax, 0
jne 0x561529
mov eax, dword [edx + 0xc]
add eax, dword [edx + 4]
cmp dword [edx], eax
jne 0x5615fe
mov edx, dword [esp + 0x38]
xor eax, eax
nop word [eax + eax]
mov dword [esp + 0x28], eax
test edx, 0x200
je 0x56187e
test byte [esi + 0xf8], 2
jne 0x56156a
push 0
push dword [esi + 0x64]
call fcn.0055ccf0
add esp, 8
test eax, eax
je 0x5615e8
xor eax, eax
mov ecx, dword [esp + 8]
test byte [ecx + 0x18], 1
jne 0x561579
mov eax, dword [ecx + 0xc]
mov edx, ecx
mov ecx, dword [ecx]
add eax, dword [edx + 4]
sub ecx, eax
cmp ecx, 2
jb 0x5615e8
mov ecx, dword [esp + 0xc]
call fcn.00563ef0
mov ecx, esi
mov esi, eax
push dword [ecx + 0x64]
call fcn.0055ccb0
add esp, 4
test esi, esi
je 0x563acd
push edx
push eax
push esi
call fcn.00565080
add esp, 0xc
test eax, eax
je 0x5616d7
mov eax, dword [esp + 0x50]
or byte [eax + 0x54], 2
mov ecx, dword [esp + 0xc]
call fcn.00563f80
test eax, eax
je 0x563acd
mov ecx, dword [esp + 8]
or byte [ecx + 0x18], 1
mov dword [esp + 0x28], 1
jmp 0x561704
mov ecx, dword [esp + 8]
test byte [esi + 0xf8], 4
je 0x561710
jmp 0x561729
mov ecx, dword [esp + 0xc]
call fcn.00563ef0
test eax, eax
je 0x563acd
push eax
call fcn.00565420
add esp, 4
test eax, eax
je 0x561fa8
mov eax, dword [esp + 0x50]
or byte [eax + 0x54], 1
mov ecx, dword [esp + 0xc]
call fcn.00563f80
test eax, eax
je 0x563acd
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 0x561550
jmp 0x56187e
mov eax, dword [ebp + 8]
test byte [eax + 0xf8], 2
jne 0x561184
push 0
push dword [eax + 0x64]
call fcn.0055ccf0
add esp, 8
test eax, eax
jne 0x561184
mov eax, dword [ebp + 8]
test byte [eax + 0xf8], 4
jne 0x561184
push 0
push dword [eax + 0x68]
call fcn.0055ccf0
add esp, 8
test eax, eax
jne 0x561184
mov eax, dword [ebp + 8]
test byte [eax + 0xf8], 8
jne 0x561184
push 0
push dword [eax + 0x6c]
call fcn.0055ccf0
add esp, 8
test eax, eax
jne 0x561184
jmp 0x5610a4
mov ecx, dword [esp + 8]
test byte [ecx + 0x3c], 1
je 0x561704
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1d4
push eax
call fcn.005dede0
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 0x561729
push 0
push dword [esi + 0x68]
call fcn.0055ccf0
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x5617ce
xor eax, eax
test byte [ecx + 0x18], 1
jne 0x561734
mov eax, dword [ecx + 0xc]
mov edx, ecx
mov ecx, dword [ecx]
add eax, dword [edx + 4]
sub ecx, eax
cmp ecx, 2
jb 0x5617ce
mov ecx, dword [esp + 0xc]
call fcn.00563ef0
mov ecx, esi
mov esi, eax
push dword [ecx + 0x68]
call fcn.0055ccb0
add esp, 4
test esi, esi
je 0x563acd
push edx
push eax
push 0
push esi
call fcn.00565110
add esp, 0x10
test eax, eax
je 0x5617a2
mov eax, dword [esp + 0x50]
or byte [eax + 0x54], 4
mov ecx, dword [esp + 0xc]
call fcn.00563f80
test eax, eax
je 0x563acd
mov eax, dword [esp + 8]
or byte [eax + 0x18], 1
mov dword [esp + 0x28], 1
jmp 0x5617cb
mov esi, dword [esp + 8]
test byte [esi + 0x3c], 1
je 0x5617cb
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1d4
push eax
call fcn.005dede0
add esp, 4
and byte [esi + 0x3c], 0xfe
mov dword [esi + 0x1c], 0
mov esi, dword [ebp + 8]
test byte [esi + 0xf8], 8
jne 0x5617f0
push 0
push dword [esi + 0x6c]
call fcn.0055ccf0
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x56187e
xor eax, eax
mov ecx, dword [esp + 8]
test byte [ecx + 0x18], 1
jne 0x5617ff
mov eax, dword [ecx + 0xc]
mov edx, ecx
mov ecx, dword [ecx]
add eax, dword [edx + 4]
sub ecx, eax
cmp ecx, 2
jb 0x56187a
mov ecx, dword [esp + 0xc]
call fcn.00563ef0
mov ecx, esi
mov esi, eax
push dword [ecx + 0x6c]
call fcn.0055ccb0
add esp, 4
test esi, esi
je 0x563acd
push edx
push eax
push 1
push esi
call fcn.00565110
add esp, 0x10
test eax, eax
je 0x561869
mov eax, dword [esp + 0x50]
or byte [eax + 0x54], 8
mov ecx, dword [esp + 0xc]
call fcn.00563f80
test eax, eax
je 0x563acd
mov eax, dword [esp + 8]
or byte [eax + 0x18], 1
mov dword [esp + 0x28], 1
jmp 0x561877
mov edi, dword [esp + 8]
test byte [edi + 0x3c], 1
jne 0x562cab
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.0056c960
add esp, 8
test eax, eax
je 0x561b38
mov esi, eax
movd xmm0, dword [esp + 0x38]
pshufd xmm0, xmm0, 0
pand xmm0, xmmword [0x9ed2d0]
pcmpeqd xmm0, xmmword [0x9ed300]
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 0x561927
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.0056c980
add esp, 8
mov esi, eax
test eax, eax
je 0x561b12
push esi
call fcn.0056c250
add esp, 4
mov edi, eax
mov ebx, edx
push esi
call fcn.0056c260
add esp, 4
mov dword [esp + 0x24], eax
push esi
call fcn.0056c270
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 0x561a01
jmp dword [eax*4 + 0x9ed40c]
test byte [esp + 0x68], 1
mov ecx, dword [esp + 8]
jne 0x561910
mov dword [esp + 0x40], edi
mov edx, dword [ecx]
mov eax, dword [ecx + 0x18]
xor edi, edi
test al, 1
jne 0x561a22
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 0x561b12
test edi, edi
je 0x561ad8
test al, 2
jne 0x563acd
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 0x561ab7
lea ebx, [eax + eax]
test eax, eax
mov eax, 8
cmove ebx, eax
lea eax, [ebx*8]
push 0xbf6
push 0x9ed474
push eax
push dword [edi + 8]
call fcn.005db4d0
add esp, 0x10
test eax, eax
je 0x563acd
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 0x561aba
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.00564770
add esp, 8
mov eax, 0x1d
mov ecx, dword [esp + 0x40]
cmp eax, ecx
mov eax, 0
sbb eax, dword [esp + 0x20]
jb 0x5618fa
mov eax, 0x3000000d
bt eax, ecx
jb 0x561910
jmp 0x5618fa
cmp dword [esp + 0x10], 0
mov esi, dword [ebp + 8]
je 0x561b38
mov eax, dword [esp + 0x38]
test al, 4
jne 0x561b5a
test eax, 0x100
mov ecx, dword [esp + 8]
jne 0x561fff
jmp 0x563070
mov ecx, esi
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x68]
call fcn.00564160
add esp, 8
mov eax, dword [esp + 0x38]
test al, 4
je 0x561b24
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov dword [esp + 0x30], 2
cmp ecx, 3
ja 0x561b78
mov eax, dword [ecx*4 + 0x9ed558]
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 0x561c5b
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.005647a0
add esp, 8
inc ebx
mov dword [esp + 0x28], 1
test eax, eax
je 0x563acd
mov ecx, dword [esp + 8]
test byte [ecx + 0x18], 1
mov eax, 0
mov esi, dword [ebp + 8]
jne 0x561c70
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx]
add eax, dword [ecx + 4]
sub edi, eax
cmp edi, 4
jb 0x561fec
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.00525760
add esp, 0x14
test eax, eax
je 0x561fec
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 0x561fec
mov ebx, edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
lea eax, [esp + 0xa0]
push eax
call fcn.00564cf0
add esp, 4
test eax, eax
je 0x561fec
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 0x561e25
test al, al
je 0x561e25
test ah, ah
je 0x561e25
test ecx, ecx
je 0x561fec
push dword [esp + 0x70]
lea eax, [esp + 0x18c]
push eax
push edx
call fcn.00525ea0
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 0x561e8a
lea esi, [eax + eax]
test eax, eax
mov eax, 8
cmove esi, eax
lea eax, [esi*8]
push 0xbf6
push 0x9ed474
push eax
push dword [edx + 8]
call fcn.005db4d0
add esp, 0x10
test eax, eax
je 0x563acd
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], esi
mov ecx, dword [esp + 0xc]
call fcn.00563ef0
test eax, eax
je 0x563acd
lea ecx, [esp + 0xa0]
push ecx
push eax
call fcn.00564ca0
add esp, 8
test eax, eax
mov esi, dword [ebp + 8]
je 0x561fbf
mov ecx, dword [esp + 0xc]
call fcn.00563f80
test eax, eax
je 0x563acd
cmp dword [esp + 0x70], 0
je 0x561bd0
xor ebx, ebx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
jmp 0x561f10
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 0x561bd6
mov edi, dword [esp + ebx*8 + 0x18c]
test edi, edi
je 0x561f05
test byte [ecx + 0x18], 2
jne 0x561f05
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 0x561ee0
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 0x9ed474
push eax
push dword [esi + 8]
call fcn.005db4d0
add esp, 0x10
test eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
je 0x561f05
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 0x561eeb
mov edi, dword [esp + 8]
test byte [edi + 0x3c], 1
jne 0x562d3f
mov ecx, dword [esp + 0x14]
jmp 0x561534
mov eax, dword [esp + 8]
test byte [eax + 0x3c], 1
je 0x561fec
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1d4
push eax
call fcn.005dede0
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 0x563070
test byte [esi + 0xf9], 8
je 0x563070
push 1
push dword [esi + 0x5c]
lea eax, [esp + 0xa8]
push eax
call fcn.00526d80
add esp, 0xc
mov edi, dword [esp + 0xa8]
test edi, edi
je 0x562ca2
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.00526de0
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 0x562111
mov ecx, dword [esp + 0xc]
call fcn.00563ef0
test eax, eax
je 0x563acd
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esp + 0xc0], xmm0
lea ecx, [esp + 0xc0]
push ecx
push eax
call fcn.00564c50
add esp, 8
test eax, eax
je 0x562d69
mov ecx, dword [esp + 0xc]
call fcn.00563f80
test eax, eax
je 0x563acd
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 0x562214
and eax, 0xff00
cmp eax, 0x500
jne 0x563acd
mov ecx, dword [esp + 0xc]
call fcn.00563ef0
test eax, eax
je 0x563acd
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 0x5622bb
movsd xmm0, qword [edi + 0x50]
movsd qword [esp + 0xd0], xmm0
lea ecx, [esp + 0xc0]
push ecx
push eax
call fcn.00564bf0
add esp, 8
test eax, eax
je 0x562d69
mov ecx, dword [esp + 0xc]
call fcn.00563f80
test eax, eax
je 0x563acd
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.0055c660
add esp, 4
cmp eax, edi
sbb edx, ebx
jb 0x563acd
mov edi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
push esi
call fcn.0055c660
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 0x5622f0
test byte [edi + 0xd4], 2
jne 0x56224a
lea eax, [edi + 0x80]
push 0
push eax
call fcn.0055ccf0
add esp, 8
test eax, eax
je 0x5622ea
mov ecx, dword [esp + 0xc]
call fcn.00563ef0
test eax, eax
je 0x563acd
mov esi, eax
lea eax, [edi + 0x80]
push eax
call fcn.0055ccb0
add esp, 4
push edx
push eax
push dword [edi + 0x24]
push dword [edi + 0x20]
push esi
call fcn.005650c0
add esp, 0x14
test eax, eax
je 0x562d69
mov ecx, dword [esp + 0xc]
call fcn.00563f80
test eax, eax
je 0x563acd
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 0x5622f0
cmp ecx, 2
jne 0x563acd
lea ecx, [esp + 0xd0]
push ecx
push dword [edi + 0x58]
mov esi, eax
call fcn.00525bd0
add esp, 8
mov ecx, eax
mov eax, esi
test ecx, ecx
jne 0x56217c
jmp 0x563acd
mov eax, dword [edi + 0xd0]
shr eax, 8
mov ecx, eax
add cl, 0xfc
cmp cl, 0xfd
jb 0x562650
movzx eax, al
add eax, 0xfffffff9
cmp eax, 0xfffffffd
ja 0x562650
test byte [edi + 0xd4], 8
jne 0x563acd
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.0055c660
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.00525760
add esp, 0x14
mov dword [esp + 0xfc], eax
test eax, eax
je 0x56261d
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 0x56242b
test byte [esp + 0xdc], 2
je 0x563aa5
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.0055c470
add esp, 0xc
mov esi, eax
mov ebx, edx
push edi
call fcn.0055c660
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 0x5624e1
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 0x5624ce
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 0x5624e8
cmp dword [esp + 0xfc], 0
mov edi, dword [esp + 0x10]
jne 0x562503
jmp 0x56261d
mov ebx, dword [esp + 0xdc]
test bl, 2
mov edi, dword [esp + 0x10]
je 0x56261d
cmp dword [esp + 0xfc], 0
je 0x56261d
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.00525760
add esp, 0x14
mov dword [esp + 0x13c], eax
test eax, eax
je 0x56268e
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x114]
mov edx, eax
or edx, ecx
jne 0x562568
test byte [esp + 0x11c], 2
je 0x563aa5
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.0055c470
add esp, 0xc
mov esi, eax
mov ebx, edx
push edi
call fcn.0055c660
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 0x562673
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 0x56268e
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 0x56267e
jmp 0x56268e
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 0x56204f
jmp 0x563070
mov ebx, dword [esp + 0x11c]
mov edi, dword [esp + 0x10]
test bl, 2
jne 0x56268e
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 0x5626cf
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 0x562c5c
mov edx, dword [esp + 8]
add ecx, dword [edx + 4]
sub ebx, ecx
cmp ebx, 3
jb 0x563048
test al, 2
jne 0x563aa9
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 0x562860
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.00525760
add esp, 0x14
mov dword [esp + esi + 0xfc], eax
test eax, eax
je 0x562860
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov edx, eax
or edx, ecx
mov edi, ebx
jne 0x56279e
test byte [edi + 0x1c], 2
je 0x563aa5
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.0055c470
add esp, 0xc
mov dword [esp + 0x78], eax
mov ebx, edx
push esi
call fcn.0055c660
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 0x56284c
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 0x562860
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 0x562853
jmp 0x562860
mov ebx, dword [esi + 0x1c]
mov edi, dword [esp + 0x10]
test bl, 2
jne 0x562860
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.00564410
add esp, 8
test eax, eax
je 0x563048
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 0x5628eb
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 0x5628f8
test bl, bl
jne 0x562909
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x9c], 0
je 0x562c30
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.00564410
add esp, 8
test eax, eax
je 0x563048
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 0x56297e
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 0x56298e
and edx, 0xfffffffd
mov dword [esi + 0x1c], edx
lea ecx, [esi + 0x28]
push dword [esi + 0x38]
push ecx
push eax
call fcn.00525ea0
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 0x5629f3
lea esi, [eax + eax]
test eax, eax
mov eax, 8
cmove esi, eax
lea eax, [esi*8]
push 0xbf6
push 0x9ed474
push eax
push dword [edx + 8]
mov ebx, edx
call fcn.005db4d0
add esp, 0x10
test eax, eax
je 0x563aa9
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
call fcn.00563ef0
test eax, eax
je 0x563aa9
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.00564e80
add esp, 8
test eax, eax
je 0x56301b
mov ecx, dword [esp + 0xc]
call fcn.00563f80
test eax, eax
je 0x563aa9
cmp dword [esi + 0x38], 0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
je 0x562b30
lea eax, [esp + 0xec]
add dword [esp + 0x18], eax
xor edi, edi
jmp 0x562a93
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 0x562b30
mov eax, dword [esp + 0x18]
mov esi, dword [eax + edi*8]
test esi, esi
je 0x562a85
test byte [ecx + 0x18], 2
jne 0x562a85
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 0x562a60
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 0x9ed474
push eax
push dword [ebx + 8]
call fcn.005db4d0
add esp, 0x10
test eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
je 0x562a85
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 0x562a6b
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 0x562b4e
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 0x562b96
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 0x562b9a
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.005647a0
add esp, 8
test eax, eax
je 0x563aa5
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 0x5626b6
jmp 0x562c5c
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 0x562969
jmp 0x56297e
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 0x562654
jmp 0x563065
mov ecx, dword [esp + 8]
jmp 0x563070
mov esi, dword [esp + 0x14]
lea eax, [esp + esi]
add eax, 0x1d4
push eax
call fcn.005dede0
mov ecx, esi
add esp, 4
and byte [edi + 0x3c], 0xfe
mov dword [edi + 0x1c], 0
mov esi, dword [ebp + 8]
jmp 0x56187e
push ebx
push esi
call fcn.0056c980
add esp, 8
mov esi, eax
test eax, eax
je 0x562f4e
push esi
call fcn.0056c250
add esp, 4
add eax, 0xfffffff9
adc edx, 0xffffffff
mov ecx, 0x14
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x562d32
jmp dword [eax*4 + 0x9ed3b8]
test edi, 0x800
je 0x562ce0
jmp 0x561184
mov esi, dword [esp + 0x14]
lea eax, [esp + esi]
add eax, 0x1d4
push eax
call fcn.005dede0
mov ecx, esi
add esp, 4
and byte [edi + 0x3c], 0xfe
mov dword [edi + 0x1c], 0
mov esi, dword [ebp + 8]
jmp 0x561534
mov ecx, dword [esp + 8]
test byte [ecx + 0x3c], 1
je 0x563065
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1d4
push eax
call fcn.005dede0
mov ecx, dword [esp + 0xc]
add esp, 4
and byte [ecx + 0x3c], 0xfe
mov dword [ecx + 0x1c], 0
jmp 0x563065
test edi, 0x800
jne 0x561184
push ebx
push esi
call fcn.0056c980
add esp, 8
mov esi, eax
test eax, eax
je 0x562f4e
push esi
call fcn.0056c250
add esp, 4
add eax, 0xfffffff9
adc edx, 0xffffffff
mov ecx, 0x14
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x562d9f
jmp dword [eax*4 + 0x9ed364]
test edi, 0x800
jne 0x561184
push ebx
push esi
call fcn.0056c980
add esp, 8
mov esi, eax
test eax, eax
je 0x562f4e
push esi
call fcn.0056c250
add esp, 4
add eax, 0xfffffff9
adc edx, 0xffffffff
mov ecx, 0x14
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x562df0
jmp dword [eax*4 + 0x9ed310]
test al, al
js 0x562eb6
test al, 0x40
jne 0x562f23
test eax, 0x800
jne 0x562e8a
push esi
call fcn.0056c250
add esp, 4
mov ecx, eax
xor ecx, 7
or ecx, edx
je 0x561184
xor eax, 0x1b
or eax, edx
je 0x561184
push ebx
push esi
call fcn.0056c980
add esp, 8
mov esi, eax
test eax, eax
jne 0x562e54
jmp 0x562f4e
push esi
call fcn.0056c250
add esp, 4
and eax, 0xfffffffe
xor eax, 0x18
or eax, edx
jne 0x561184
push ebx
push esi
call fcn.0056c980
add esp, 8
mov esi, eax
test eax, eax
jne 0x562e8a
jmp 0x562f4e
test al, 0x40
jne 0x562fca
test eax, 0x800
je 0x562efb
push esi
call fcn.0056c250
add esp, 4
xor eax, 0x18
or eax, edx
jne 0x561184
push ebx
push esi
call fcn.0056c980
add esp, 8
mov esi, eax
test eax, eax
jne 0x562ec5
jmp 0x562f4e
push ebx
push esi
call fcn.0056c980
add esp, 8
mov esi, eax
test eax, eax
je 0x562f4e
push esi
call fcn.0056c250
add esp, 4
mov ecx, 0x1b
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x562eeb
mov ecx, 0xa000080
bt ecx, eax
jae 0x562eeb
jmp 0x561184
test eax, 0x800
je 0x562fa2
push esi
call fcn.0056c250
add esp, 4
xor eax, 0x19
or eax, edx
jne 0x561184
push ebx
push esi
call fcn.0056c980
add esp, 8
mov esi, eax
test eax, eax
jne 0x562f2a
test edi, 0x100
je 0x56313d
mov eax, dword [ebp + 8]
test byte [eax + 0xf9], 8
je 0x56313d
push 0
push dword [eax + 0x5c]
lea eax, [esp + 0xc8]
push eax
call fcn.00526d80
add esp, 0xc
cmp dword [esp + 0xc8], 0
jne 0x561184
jmp 0x56313d
push ebx
push esi
call fcn.0056c980
add esp, 8
mov esi, eax
test eax, eax
je 0x562f4e
push esi
call fcn.0056c250
add esp, 4
mov ecx, 0x1b
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x562f92
mov ecx, 0x9000080
bt ecx, eax
jae 0x562f92
jmp 0x561184
test eax, 0x800
je 0x562ff3
push esi
call fcn.0056c250
add esp, 4
jmp 0x561184
push ebx
push esi
call fcn.0056c980
add esp, 8
mov esi, eax
test eax, eax
je 0x562f4e
push esi
call fcn.0056c250
add esp, 4
mov ecx, 0x1b
cmp ecx, eax
mov ecx, 0
sbb ecx, edx
jb 0x562fdf
mov ecx, 0xb000080
bt ecx, eax
jae 0x562fdf
jmp 0x561184
mov eax, dword [esp + 8]
test byte [eax + 0x3c], 1
je 0x563048
mov eax, dword [esp + 0x14]
add eax, esp
add eax, 0x1d4
push eax
call fcn.005dede0
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 0x56314a
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 0x560f22
mov eax, dword [esp + 0x38]
test al, 2
jne 0x563159
xor esi, esi
jmp 0x563093
test ax, ax
mov esi, 0
js 0x563184
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 0x563093
mov ecx, dword [esp + 0xc]
call fcn.00563ef0
test eax, eax
je 0x563acd
push eax
call fcn.005649d0
add esp, 4
test eax, eax
je 0x563acd
mov ecx, dword [esp + 0xc]
call fcn.00563f80
mov esi, 1
test eax, eax
jne 0x563082
jmp 0x563acd
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 0x56320a
cmp dword [esp + 0x94], 0
jne 0x56320a
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 0x563258
test esi, esi
sete cl
test eax, eax
sete al
or al, cl
je 0x5636ee
mov edi, 4
xor esi, esi
cmp dword [esp + 0x2a8], 0
jne 0x56378b
jmp 0x563870
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 0x56382c
imul eax, ecx, 0xb4
cmp dword [esp + eax + 0x1f4], 0
je 0x56324e
lea edx, [esp + eax]
add edx, 0x1b0
cmp dword [edx + 8], 0
je 0x56324e
mov esi, dword [edx + 0x18]
cmp esi, 4
jae 0x563af4
mov dword [esp + 0x18], ecx
mov edi, dword [esi*4 + 0x9ed558]
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 + 0x9ed518]
mov dword [esp + 0x44], eax
mov dword [esp + 0xd0], 0
mov esi, edx
mov ebx, dword [esp + 0x20]
push ebx
call fcn.0057b170
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 0x563343
mov esi, dword [esi + 0x18]
test esi, esi
je 0x5633b0
mov eax, dword [esi + 0xd0]
test eax, 0x60000000
je 0x563340
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], edx
movsd xmm0, qword [0x9ed2e0]
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.005647a0
add esp, 8
test eax, eax
jne 0x563340
jmp 0x563af4
push dword [esp + 8]
push dword [esp + 0x60]
call fcn.0056ca40
add esp, 8
test eax, eax
je 0x563af4
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.00521e40
add esp, 8
test eax, eax
je 0x563836
mov esi, dword [ebx + 0x4c]
mov edi, 1
jmp 0x563413
mov esi, dword [esi + 0x18]
test esi, esi
je 0x563530
mov eax, dword [esi + 0xd0]
test eax, 0x10000000
jne 0x5634e0
test eax, 0x20000000
jne 0x563509
test eax, 0x40000000
je 0x563445
and byte [esi + 0xd4], 0xf7
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov edx, eax
or edx, ecx
je 0x563475
lea edx, [esi + 0x60]
push ecx
push eax
push edx
call fcn.0055c540
add esp, 0xc
test eax, eax
je 0x563520
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x5c]
call fcn.00526460
add esp, 8
movzx eax, byte [esi + 0xd1]
add al, 0xfc
cmp al, 0xfd
jb 0x563410
push dword [esi + 0x58]
call fcn.00525950
add esp, 4
test eax, eax
jne 0x563410
push 0
push dword [esi + 0x58]
call fcn.00525bd0
add esp, 8
test eax, eax
je 0x563410
push esi
mov eax, dword [ebp + 8]
push dword [eax + 0x5c]
call fcn.00526840
add esp, 8
jmp 0x563410
and byte [esi + 0xd4], 0xfd
lea eax, [esi + 0x80]
push 1
push eax
call fcn.0055ccf0
add esp, 8
mov eax, dword [esi + 0xd0]
test eax, 0x20000000
je 0x563437
and byte [esi + 0xd4], 0xfb
test eax, 0x40000000
jne 0x56343e
jmp 0x563445
xor edi, edi
jmp 0x563467
mov eax, dword [esp + 8]
test byte [eax + 0x20], 8
je 0x563556
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 0x563593
test al, 2
jne 0x5635a8
test al, 4
jne 0x5635ca
test al, 8
jne 0x5635ec
test al, 0x10
jne 0x563612
test al, 0x20
jne 0x56363b
mov eax, dword [esp + 8]
test byte [eax + 0x20], 8
jne 0x56364f
jmp 0x5636b0
mov eax, dword [ebp + 8]
and byte [eax + 0xf8], 0xfe
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x54]
test al, 2
je 0x563568
mov eax, dword [ebp + 8]
and byte [eax + 0xf8], 0xfd
push 1
push dword [eax + 0x64]
call fcn.0055ccf0
add esp, 8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x54]
test al, 4
je 0x56356c
mov eax, dword [ebp + 8]
and byte [eax + 0xf8], 0xfb
push 1
push dword [eax + 0x68]
call fcn.0055ccf0
add esp, 8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x54]
test al, 8
je 0x563570
mov eax, dword [ebp + 8]
and byte [eax + 0xf8], 0xf7
push 1
push dword [eax + 0x6c]
call fcn.0055ccf0
add esp, 8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x54]
test al, 0x10
je 0x563578
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 0x563580
mov eax, dword [ebp + 8]
and byte [eax + 0xf9], 0xfb
mov eax, dword [esp + 8]
test byte [eax + 0x20], 8
je 0x5636b0
mov eax, dword [ebp + 8]
push dword [eax + 0x58]
call fcn.0056b830
add esp, 4
mov ecx, dword [esp + 0x24]
cmp ecx, 1
je 0x563674
test ecx, ecx
jne 0x563683
mov ecx, dword [eax]
mov edx, eax
test ecx, ecx
jne 0x563680
jmp 0x563683
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x563683
mov edx, eax
add edx, 4
dec ecx
mov dword [edx], ecx
test dword [esp + 0x44], 0x2000
je 0x5636b0
mov ecx, dword [esp + 0x1c]
mov ecx, dword [eax + ecx*4 + 8]
test ecx, ecx
je 0x5636b0
dec ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + edx*4 + 8], ecx
nop word cs:[eax + eax]
test edi, edi
je 0x563836
mov al, 1
cmp dword [esi], 0
jne 0x5636cb
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 0x563243
cmp dword [ebx + 0x44], 0
jne 0x563236
xor eax, eax
jmp 0x56323d
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 0x563776
lea ecx, [esp + 0xc0]
push ecx
push esi
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
call fcn.00521da0
add esp, 0x10
test eax, eax
je 0x563842
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.00527ca0
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 0x563870
mov ecx, dword [esp + 0x26c]
test ecx, ecx
je 0x563870
cmp edi, 4
jne 0x5637c1
mov edi, 4
test byte [esp + 0x311], 0x40
je 0x5637c1
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 0x563867
lea edx, [esp + 0xc0]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
call fcn.00521da0
add esp, 0x10
test eax, eax
je 0x563860
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.00527ca0
add esp, 8
add eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x26c]
sub eax, ecx
mov dword [esp + 0x308], eax
jmp 0x563867
mov esi, 1
jmp 0x563af6
mov dword [ebx + 0x48], 0
jmp 0x563af4
mov esi, dword [esp + 0x1b8]
add esi, dword [esp + 0x254]
cmp dword [esp + 0x2a8], 0
jne 0x56378b
jmp 0x563870
mov ecx, dword [esp + 0x26c]
add esi, dword [esp + 0x308]
add esi, ecx
cmp dword [esp + 0x35c], 0
je 0x563926
mov ecx, dword [esp + 0x320]
test ecx, ecx
je 0x563926
cmp edi, 4
jne 0x5638af
mov edi, 4
test byte [esp + 0x3c5], 0x40
je 0x5638af
movzx edi, byte [esp + 0x334]
and edi, 2
add edi, 2
mov eax, dword [esp + 0x330]
test eax, eax
je 0x56391d
lea edx, [esp + 0xc0]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
call fcn.00521da0
add esp, 0x10
test eax, eax
je 0x563916
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.00527ca0
add esp, 8
add eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x320]
sub eax, ecx
mov dword [esp + 0x3bc], eax
jmp 0x56391d
mov ecx, dword [esp + 0x320]
add esi, dword [esp + 0x3bc]
add esi, ecx
cmp dword [esp + 0x410], 0
je 0x5639dd
mov ecx, dword [esp + 0x3d4]
test ecx, ecx
je 0x5639dd
cmp edi, 4
jne 0x563966
mov edi, 4
test byte [esp + 0x479], 0x40
je 0x563966
movzx eax, byte [esp + 0x3e8]
and al, 2
cmp al, 1
sbb edi, 0
mov eax, dword [esp + 0x3e4]
test eax, eax
je 0x5639d4
lea edx, [esp + 0xc0]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x4c]
call fcn.00521da0
add esp, 0x10
test eax, eax
je 0x5639cd
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.00527ca0
add esp, 8
add eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x3d4]
sub eax, ecx
mov dword [esp + 0x470], eax
jmp 0x5639d4
mov ecx, dword [esp + 0x3d4]
add esi, dword [esp + 0x470]
add esi, ecx
cmp edi, 4
je 0x563a6b
cmp esi, 0x4af
ja 0x563a6b
imul eax, edi, 0xb4
mov dword [esp + 0xc], 0
cmp dword [esp + eax + 0x1f4], 0
je 0x563af4
lea edi, [esp + eax]
add edi, 0x1b0
cmp dword [edi + 0x48], 0
je 0x563af4
mov ecx, edi
call fcn.00563ef0
test eax, eax
je 0x563af4
mov ebx, 0x4b0
sub ebx, esi
push ebx
push eax
call fcn.005649b0
add esp, 8
test eax, eax
je 0x563a86
mov ecx, edi
call fcn.00563f80
mov esi, 0
test eax, eax
je 0x563af6
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 0x5631ea
cmp esi, 0x4b0
jae 0x5631ea
mov esi, 1
mov dword [esp + 0xc], 0
jmp 0x563af6
test byte [edi + 0x40], 1
je 0x563af4
lea eax, [edi + 0x24]
push eax
call fcn.005dede0
add esp, 4
and byte [edi + 0x40], 0xfe
mov dword [edi + 0x20], 0
jmp 0x563af4
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.00564740
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.00522c60
add esp, 4
cmp dword [esp + 0x1f4], 0
je 0x563b76
test byte [esp + 0x1f0], 1
je 0x563b3b
lea eax, [esp + 0x1d4]
push eax
call fcn.005dede0
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 0x563b76
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x50]
call fcn.00564740
add esp, 8
mov dword [esp + 0x1f8], 0
cmp dword [esp + 0x2a8], 0
je 0x563be8
test byte [esp + 0x2a4], 1
je 0x563bad
lea eax, [esp + 0x288]
push eax
call fcn.005dede0
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 0x563be8
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x50]
call fcn.00564740
add esp, 8
mov dword [esp + 0x2ac], 0
cmp dword [esp + 0x35c], 0
je 0x563c5a
test byte [esp + 0x358], 1
je 0x563c1f
lea eax, [esp + 0x33c]
push eax
call fcn.005dede0
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 0x563c5a
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x50]
call fcn.00564740
add esp, 8
mov dword [esp + 0x360], 0
cmp dword [esp + 0x410], 0
je 0x563cc1
test byte [esp + 0x40c], 1
je 0x563c91
lea eax, [esp + 0x3f0]
push eax
call fcn.005dede0
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 0x563cc1
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x50]
call fcn.00564740
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