Function at 0x5304d0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x65e51c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x5304f4
jmp 0x533910
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0x13920]
jbe 0x530520
mov ecx, dword [ebp - 4]
call fcn.00511360
mov eax, dword [0x6f73fc]
add eax, 0xea60
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13920], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x5b8]
jbe 0x533910
mov word [0x9c7c0c], 0
mov dword [0x9d35f0], 0
mov ecx, dword [ebp - 4]
call fcn.004be4c0
cmp eax, 0x16
je 0x530580
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0x5c4]
jb 0x530580
mov eax, dword [0x6f73fc]
add eax, 0x2710
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c4], eax
mov ecx, dword [ebp - 4]
call fcn.00549b30
mov ecx, dword [ebp - 4]
call fcn.004be4c0
cmp eax, 0x12
jne 0x5307de
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x44]
cmp ecx, dword [eax + 0x38]
jge 0x530774
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x44]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x28ac], 0
je 0x530693
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28b0], 0
je 0x530693
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
fld dword [ecx + 0x28c0]
fadd dword [edx + 0x28b4]
mov eax, dword [ebp - 4]
fstp dword [eax + 0x28c0]
mov ecx, dword [ebp - 4]
fld dword [ecx + 0x28c0]
fcomp qword [0x5e0d80]
fnstsw ax
test ah, 1
jne 0x530693
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x44]
cmp ecx, dword [eax + 0x38]
jge 0x530686
mov edx, dword [ebp - 4]
fld dword [edx + 0x28c0]
call fcn.005b9110
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x44]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], edx
mov ecx, dword [ebp - 4]
fld dword [ecx + 0x28c0]
call fcn.005b9110
mov dword [ebp - 0xbc], eax
fild dword [ebp - 0xbc]
mov edx, dword [ebp - 4]
fsubr dword [edx + 0x28c0]
mov eax, dword [ebp - 4]
fstp dword [eax + 0x28c0]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x44]
cmp eax, dword [edx + 0x38]
jle 0x530684
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x44], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28c0], 0
jmp 0x530693
mov edx, dword [ebp - 4]
mov dword [edx + 0x28c0], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2894], 0
je 0x530774
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x2898], 0
je 0x530774
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
fld dword [edx + 0x28a8]
fadd dword [eax + 0x289c]
mov ecx, dword [ebp - 4]
fstp dword [ecx + 0x28a8]
mov edx, dword [ebp - 4]
fld dword [edx + 0x28a8]
fcomp qword [0x5e0d80]
fnstsw ax
test ah, 1
jne 0x530774
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x38]
jge 0x530767
mov eax, dword [ebp - 4]
fld dword [eax + 0x28a8]
call fcn.005b9110
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x44]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], edx
mov ecx, dword [ebp - 4]
fld dword [ecx + 0x28a8]
call fcn.005b9110
mov dword [ebp - 0xc0], eax
fild dword [ebp - 0xc0]
mov edx, dword [ebp - 4]
fsubr dword [edx + 0x28a8]
mov eax, dword [ebp - 4]
fstp dword [eax + 0x28a8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x44]
cmp eax, dword [edx + 0x38]
jle 0x530765
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x44], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28a8], 0
jmp 0x530774
mov edx, dword [ebp - 4]
mov dword [edx + 0x28a8], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
cmp edx, dword [ecx + 0x40]
jge 0x530791
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x48]
cmp edx, dword [ecx + 0x3c]
jge 0x5307c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x281c]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
je 0x5307c4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x281c]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x281c], eax
jmp 0x530a66
mov ecx, dword [ebp - 4]
call fcn.0047c780
test eax, eax
jne 0x530a66
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x44]
cmp ecx, dword [eax + 0x38]
jge 0x5309eb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x281c]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
je 0x5309eb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x44]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x28ac], 0
je 0x53090a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28b0], 0
je 0x53090a
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
fld dword [ecx + 0x28c0]
fadd dword [edx + 0x28b4]
mov eax, dword [ebp - 4]
fstp dword [eax + 0x28c0]
mov ecx, dword [ebp - 4]
fld dword [ecx + 0x28c0]
fcomp qword [0x5e0d80]
fnstsw ax
test ah, 1
jne 0x53090a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x44]
cmp ecx, dword [eax + 0x38]
jge 0x5308fd
mov edx, dword [ebp - 4]
fld dword [edx + 0x28c0]
call fcn.005b9110
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x44]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], edx
mov ecx, dword [ebp - 4]
fld dword [ecx + 0x28c0]
call fcn.005b9110
mov dword [ebp - 0xc4], eax
fild dword [ebp - 0xc4]
mov edx, dword [ebp - 4]
fsubr dword [edx + 0x28c0]
mov eax, dword [ebp - 4]
fstp dword [eax + 0x28c0]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x44]
cmp eax, dword [edx + 0x38]
jle 0x5308fb
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x44], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28c0], 0
jmp 0x53090a
mov edx, dword [ebp - 4]
mov dword [edx + 0x28c0], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2894], 0
je 0x5309eb
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x2898], 0
je 0x5309eb
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
fld dword [edx + 0x28a8]
fadd dword [eax + 0x289c]
mov ecx, dword [ebp - 4]
fstp dword [ecx + 0x28a8]
mov edx, dword [ebp - 4]
fld dword [edx + 0x28a8]
fcomp qword [0x5e0d80]
fnstsw ax
test ah, 1
jne 0x5309eb
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x38]
jge 0x5309de
mov eax, dword [ebp - 4]
fld dword [eax + 0x28a8]
call fcn.005b9110
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x44]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], edx
mov ecx, dword [ebp - 4]
fld dword [ecx + 0x28a8]
call fcn.005b9110
mov dword [ebp - 0xc8], eax
fild dword [ebp - 0xc8]
mov edx, dword [ebp - 4]
fsubr dword [edx + 0x28a8]
mov eax, dword [ebp - 4]
fstp dword [eax + 0x28a8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x44]
cmp eax, dword [edx + 0x38]
jle 0x5309dc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x44], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28a8], 0
jmp 0x5309eb
mov edx, dword [ebp - 4]
mov dword [edx + 0x28a8], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
cmp edx, dword [ecx + 0x40]
jge 0x530a1e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x281c]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
je 0x530a1e
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4c], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x48]
cmp ecx, dword [eax + 0x3c]
jge 0x530a51
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x281c]
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
je 0x530a51
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x281c]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x281c], eax
mov ecx, dword [ebp - 4]
call fcn.0051f9e0
cmp eax, 1
je 0x530a80
mov ecx, dword [ebp - 4]
call fcn.0051f9e0
cmp eax, 2
jne 0x530ac4
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x3150]
jbe 0x530abf
mov word [ebp - 0x50], 0
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 4]
call fcn.0051fa20
mov word [ebp - 0x54], 2
mov word [ebp - 0x58], 0x6f
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0052fb40
jmp 0x530b91
mov ecx, dword [ebp - 4]
call fcn.0051f9e0
cmp eax, 3
jne 0x530b91
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x3150]
jbe 0x530b91
mov ecx, dword [ebp - 4]
call fcn.00533bc0
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [0x6bc7a0]
call fcn.0047c6e0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x530b65
mov ecx, dword [ebp - 0x14]
call fcn.00402fa0
mov esi, eax
mov ecx, dword [ebp - 4]
call fcn.0051fa00
cmp esi, eax
jne 0x530b65
mov ecx, dword [ebp - 0x14]
call fcn.0051fa00
mov esi, eax
mov ecx, dword [ebp - 4]
call fcn.00402fa0
cmp esi, eax
jne 0x530b65
mov word [ebp - 0x60], 1
mov word [ebp - 0x64], 0xbd
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0052fb40
mov ecx, dword [ebp - 0x14]
call fcn.00533be0
mov ecx, dword [ebp - 0x14]
call fcn.004cadc0
mov word [ebp - 0x68], 1
mov word [ebp - 0x6c], 0xbd
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 4]
call fcn.0052fb40
mov ecx, dword [ebp - 4]
call fcn.00533be0
mov ecx, dword [ebp - 4]
call fcn.004cadc0
mov eax, dword [0x6bc7a0]
cmp dword [eax + 0x46c], 0
jne 0x530bc4
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
sub edx, dword [ecx + 0x35f0]
mov eax, dword [ebp - 4]
mov dword [eax + 0x35f4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x35f0], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 0x10000
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xd0]
or edx, dword [ebp - 0xcc]
test edx, edx
je 0x530c3a
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x160]
jbe 0x530c3a
mov edx, dword [ebp - 4]
mov dword [edx + 0x160], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
mov edx, dword [eax + 0x5b4]
and edx, 0xfffeffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0
mov eax, dword [ecx + 0x5b4]
and eax, 0x20000
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd8]
or ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x530cae
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x15c]
jbe 0x530cae
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x15c], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ecx, 0xfffdffff
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0
mov edx, dword [eax + 0x5b4]
and edx, 0x40000
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xe0]
or eax, dword [ebp - 0xdc]
test eax, eax
je 0x530d23
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0x168]
jbe 0x530d23
mov eax, dword [ebp - 4]
mov dword [eax + 0x168], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
mov eax, dword [ecx + 0x5b4]
and eax, 0xfffbffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x20000
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe8]
or edx, dword [ebp - 0xe4]
test edx, edx
je 0x530e82
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x54e]
test ecx, ecx
je 0x530dcf
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x3b4]
jbe 0x530dcf
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x54e]
push edx
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x530db3
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x9c7c08]
call fcn.005757c0
mov ecx, dword [0x9c7c08]
call fcn.00403950
mov ecx, dword [0x6f73fc]
add ecx, eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x3b4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0xf0]
jbe 0x530e82
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x54e]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xfffdffff
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xf0], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x54e], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1ce], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x5b0]
mov dword [ecx + 4], edx
mov eax, dword [eax + 0x5b4]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
mov dword [ebp - 8], ecx
mov edx, dword [0x9d35f0]
add edx, 1
mov dword [0x9d35f0], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x3622]
test ecx, ecx
je 0x53106a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x20000000
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xf0]
or edx, dword [ebp - 0xec]
test edx, edx
je 0x531046
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x3628]
jbe 0x531044
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x20000000
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0xf8]
or edx, dword [ebp - 0xf4]
test edx, edx
je 0x530f38
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0xdfffffff
mov edx, dword [eax + 0x5b4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3622], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 0x1000
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0x100]
or edx, dword [ebp - 0xfc]
test edx, edx
je 0x530f97
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
mov edx, dword [eax + 0x5b4]
and dh, 0xef
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov word [ebp - 0x70], 0xfffe
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [0x6bc7a0]
call fcn.00481b40
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x531044
mov word [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x18]
call fcn.00402d00
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], 0xde0
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], 8
mov edx, dword [ebp - 0x18]
add edx, 0x14
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 4]
call fcn.00403b50
mov ecx, dword [ebp - 0xc]
mov word [ecx], ax
mov edx, dword [ebp - 0xc]
mov word [edx + 2], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1c], 0
je 0x531044
mov edx, dword [ebp - 4]
add edx, 0x16
push edx
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x1c]
call fcn.004bd1c0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x6bc7a0]
call fcn.00482570
jmp 0x53106a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
or edx, 0x20000000
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 0x3620]
test eax, eax
je 0x531244
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + 0x3621]
test edx, edx
je 0x531214
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x3624]
jbe 0x531212
mov ecx, dword [ebp - 4]
call fcn.004f89b0
sub eax, 0x3e8
mov dword [ebp - 0x74], eax
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 4]
call fcn.00533a50
mov ecx, dword [ebp - 4]
call fcn.00407260
mov esi, eax
mov ecx, dword [ebp - 4]
call fcn.004f89b0
cmp esi, eax
jle 0x5310f8
mov ecx, dword [ebp - 4]
call fcn.004f89b0
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 4]
call fcn.004cad50
push 0
mov ecx, dword [ebp - 4]
call fcn.005102f0
push 1
mov ecx, dword [ebp - 4]
call fcn.005102f0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3621], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0x3620], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0
mov edx, dword [eax + 0x5b4]
and edx, 0x4000
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x108]
or eax, dword [ebp - 0x104]
test eax, eax
je 0x53116b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
mov eax, dword [ecx + 0x5b4]
and ah, 0xbf
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov word [ebp - 0x7c], 0xfffe
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [0x6bc7a0]
call fcn.00481b40
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x531212
mov ecx, dword [ebp - 0x20]
call fcn.00402d00
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xc], 0xde1
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x10], 8
mov eax, dword [ebp - 0x20]
add eax, 0x14
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
call fcn.00403b50
mov ecx, dword [ebp - 0xc]
mov word [ecx], ax
mov edx, dword [ebp - 0xc]
mov word [edx + 2], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1c], 0
je 0x531212
mov edx, dword [ebp - 4]
add edx, 0x16
push edx
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x1c]
call fcn.004bd1c0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [0x6bc7a0]
call fcn.00482570
jmp 0x531244
mov ecx, dword [ebp - 4]
call fcn.004f89b0
add eax, 0x3e8
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00533a50
push 1
mov ecx, dword [ebp - 4]
call fcn.005102f0
mov edx, dword [ebp - 4]
mov byte [edx + 0x3621], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0
mov edx, dword [eax + 0x5b4]
and edx, 0x40
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x110]
or eax, dword [ebp - 0x10c]
test eax, eax
je 0x531372
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0x3608]
jbe 0x531372
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
mov edx, dword [eax + 0x5b4]
and edx, 0xffffffbf
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov word [ebp - 0x84], 0xfffe
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [0x6bc7a0]
call fcn.00481b40
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x531372
mov ecx, dword [ebp - 0x24]
call fcn.00402d00
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xc], 0xde2
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], 0x10
mov edx, dword [ebp - 0x24]
add edx, 0x14
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
call fcn.00403b50
mov ecx, dword [ebp - 0x10]
mov word [ecx + 2], ax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x360c]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3610]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x531372
mov ecx, dword [ebp - 4]
add ecx, 0x16
push ecx
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
call fcn.004bd1c0
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [0x6bc7a0]
call fcn.00482570
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x3617]
test ecx, ecx
je 0x531615
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x3618]
jbe 0x531615
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x30]
call fcn.004e8b70
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x88]
push ecx
mov ecx, 0x6b2680
call fcn.0043a570
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
jmp 0x5313f1
push 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00461740
lea ecx, [ebp - 0x90]
push ecx
mov ecx, 0x6b2680
call fcn.0043a5a0
push eax
lea ecx, [ebp - 0x30]
call fcn.0043a410
and eax, 0xff
test eax, eax
je 0x53160b
lea ecx, [ebp - 0x30]
call fcn.0048a920
mov edx, dword [eax + 4]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x531544
mov ecx, dword [ebp - 4]
call fcn.0047d760
and eax, 0xffff
cmp eax, 1
je 0x531454
mov ecx, dword [ebp - 4]
call fcn.0047d760
and eax, 0xffff
cmp eax, 2
jne 0x531470
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 1
je 0x53146b
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 8], 0
je 0x53146b
jmp 0x5313e0
jmp 0x531531
mov ecx, dword [ebp - 4]
call fcn.0047d760
and eax, 0xffff
cmp eax, 4
je 0x531494
mov ecx, dword [ebp - 4]
call fcn.0047d760
and eax, 0xffff
cmp eax, 8
jne 0x5314b0
mov edx, dword [ebp - 0x40]
cmp dword [edx + 8], 2
je 0x5314ab
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 0
je 0x5314ab
jmp 0x5313e0
jmp 0x531531
mov ecx, dword [ebp - 4]
call fcn.0047d760
and eax, 0xffff
cmp eax, 0x10
je 0x5314d4
mov ecx, dword [ebp - 4]
call fcn.0047d760
and eax, 0xffff
cmp eax, 0x20
jne 0x5314ed
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 8], 3
je 0x5314eb
mov edx, dword [ebp - 0x40]
cmp dword [edx + 8], 0
je 0x5314eb
jmp 0x5313e0
jmp 0x531531
mov ecx, dword [ebp - 4]
call fcn.0047d760
and eax, 0xffff
cmp eax, 0x40
je 0x531513
mov ecx, dword [ebp - 4]
call fcn.0047d760
and eax, 0xffff
cmp eax, 0x80
jne 0x53152c
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 4
je 0x53152a
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 8], 0
je 0x53152a
jmp 0x5313e0
jmp 0x531531
jmp 0x5313e0
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x38], edx
jmp 0x531549
jmp 0x5313e0
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [0x6bc79c]
call fcn.0042fde0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x531606
cmp dword [ebp - 0x38], 0
jg 0x531577
mov dword [ebp - 0x114], 1
jmp 0x531580
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x114], ecx
mov dx, word [ebp - 0x114]
mov word [ebp - 0x94], dx
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [0x6bc7a0]
call fcn.00486cb0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x531606
mov dword [ebp - 0x44], 0
jmp 0x5315c3
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x96
jge 0x5315e8
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 4]
call fcn.004fda40
test eax, eax
je 0x5315e6
mov byte [ebp - 0x3c], 1
jmp 0x5315e8
jmp 0x5315ba
mov eax, dword [ebp - 0x3c]
and eax, 0xff
test eax, eax
je 0x531606
push 0
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00501e50
mov byte [ebp - 0x3c], 0
jmp 0x5313e0
mov edx, dword [ebp - 4]
mov byte [edx + 0x3617], 0
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x3614]
test ecx, ecx
je 0x531824
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x35fc]
jbe 0x53174c
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3614], 0
mov word [ebp - 0x98], 0xfffe
lea edx, [ebp - 0x98]
push edx
mov ecx, dword [0x6bc7a0]
call fcn.00481b40
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x531747
mov ecx, dword [ebp - 0x48]
call fcn.00402d00
mov eax, dword [ebp - 0x48]
mov dword [eax + 0xc], 0xdde
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x10], 8
mov eax, dword [ebp - 0x48]
add eax, 0x14
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
call fcn.00403b50
mov ecx, dword [ebp - 0xc]
mov word [ecx], ax
mov edx, dword [ebp - 0xc]
mov word [edx + 2], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0
mov eax, dword [ecx + 0x5b4]
and eax, 0x8000
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x11c]
or ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x531712
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ch, 0x7f
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x531747
mov ecx, dword [ebp - 4]
add ecx, 0x16
push ecx
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
call fcn.004bd1c0
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [0x6bc7a0]
call fcn.00482570
jmp 0x531824
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x3600]
jbe 0x531824
mov ecx, dword [ebp - 4]
call fcn.00407260
sub eax, 0xf
mov dword [ebp - 0x9c], eax
lea edx, [ebp - 0x9c]
push edx
mov ecx, dword [ebp - 4]
call fcn.004cad50
mov ecx, dword [ebp - 4]
call fcn.00407260
test eax, eax
jg 0x531805
mov dword [ebp - 0xa0], 1
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 4]
call fcn.004cad50
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3614], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 0x8000
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x124]
or edx, dword [ebp - 0x120]
test edx, edx
je 0x531805
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
mov edx, dword [eax + 0x5b4]
and dh, 0x7f
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [0x6f73fc]
add ecx, 0x3e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3600], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.005102f0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0x80000
mov edx, dword [eax + 0x5b4]
and edx, 0
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x12c]
or eax, dword [ebp - 0x128]
test eax, eax
je 0x531985
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x552]
test edx, edx
je 0x5318d2
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x3c4]
jbe 0x5318d2
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x552]
push eax
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x5318b6
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [0x9c7c08]
call fcn.005757c0
mov ecx, dword [0x9c7c08]
call fcn.00403950
mov edx, dword [0x6f73fc]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c4], edx
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0xf8]
jbe 0x531985
mov eax, dword [ebp - 4]
mov cx, word [eax + 0x552]
mov word [0x9c7c0c], cx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0xfff7ffff
mov ecx, dword [edx + 0x5b4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0xf8], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x552], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x1d2], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x5b0]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x5b4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [0x9d35f0]
add ecx, 1
mov dword [0x9d35f0], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x200000
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x134]
or edx, dword [ebp - 0x130]
test edx, edx
je 0x531ae4
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x556]
test ecx, ecx
je 0x531a31
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x3d4]
jbe 0x531a31
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x556]
push edx
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x531a15
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x9c7c08]
call fcn.005757c0
mov ecx, dword [0x9c7c08]
call fcn.00403950
mov ecx, dword [0x6f73fc]
add ecx, eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x3d4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x100]
jbe 0x531ae4
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x556]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xffdfffff
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x100], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x556], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1d6], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x5b0]
mov dword [ecx + 4], edx
mov eax, dword [eax + 0x5b4]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
mov dword [ebp - 8], ecx
mov edx, dword [0x9d35f0]
add edx, 1
mov dword [0x9d35f0], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0x200
mov edx, dword [eax + 0x5b4]
and edx, 0
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x13c]
or eax, dword [ebp - 0x138]
test eax, eax
je 0x531c09
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x53e]
test edx, edx
je 0x531b65
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x53e]
push ecx
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x531b65
push 0
push 0
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [0x9c7c08]
call fcn.005757c0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xd0]
cmp ecx, dword [0x6f73fc]
jae 0x531c09
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x53e]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and dh, 0xfd
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xd0], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x1be], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x5b0]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x5b4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [0x9d35f0]
add ecx, 1
mov dword [0x9d35f0], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 0x40
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x144]
or edx, dword [ebp - 0x140]
test edx, edx
je 0x531c85
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x144]
cmp ecx, dword [0x6f73fc]
jae 0x531c85
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ecx, 0xffffffbf
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x144], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1f8], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 0x80
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x14c]
or edx, dword [ebp - 0x148]
test edx, edx
je 0x531d04
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x148]
cmp ecx, dword [0x6f73fc]
jae 0x531d04
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and cl, 0x7f
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x148], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1fa], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 0x100
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x154]
or edx, dword [ebp - 0x150]
test edx, edx
je 0x531d83
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14c]
cmp ecx, dword [0x6f73fc]
jae 0x531d83
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ch, 0xfe
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14c], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1fc], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 0x200
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x15c]
or edx, dword [ebp - 0x158]
test edx, edx
je 0x531e02
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x150]
cmp ecx, dword [0x6f73fc]
jae 0x531e02
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ch, 0xfd
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x150], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1fe], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 8
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0x164]
or edx, dword [ebp - 0x160]
test edx, edx
je 0x531f1b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb8]
cmp ecx, dword [0x6f73fc]
jae 0x531f1b
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x1b2]
push eax
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x531e81
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [0x9c7c08]
call fcn.00576cd0
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x532]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xfffffff7
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x80], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x5b0]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x5b4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [0x9d35f0]
add ecx, 1
mov dword [0x9d35f0], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.005339f0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x20
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x16c]
or edx, dword [ebp - 0x168]
test edx, edx
je 0x532034
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc0]
cmp ecx, dword [0x6f73fc]
jae 0x532034
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x1b6]
push eax
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x531f9a
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [0x9c7c08]
call fcn.00576cd0
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x536]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xffffffdf
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc0], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x84], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x5b0]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x5b4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [0x9d35f0]
add ecx, 1
mov dword [0x9d35f0], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.005339f0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x100
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], ecx
mov edx, dword [ebp - 0x174]
or edx, dword [ebp - 0x170]
test edx, edx
je 0x53210c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xcc]
cmp ecx, dword [0x6f73fc]
jae 0x53210c
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x1bc]
push eax
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x5320b5
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [0x9c7c08]
call fcn.00576cd0
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x53c]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and dh, 0xfe
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xcc], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0x10
mov eax, dword [ecx + 0x5b4]
and eax, 0
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x17c]
or ecx, dword [ebp - 0x178]
test ecx, ecx
je 0x53221c
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xbc]
cmp eax, dword [0x6f73fc]
jae 0x53221c
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x1b4]
push edx
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x53218b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x9c7c08]
call fcn.00576cd0
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0x534]
mov word [0x9c7c0c], dx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0xffffffef
mov edx, dword [eax + 0x5b4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xbc], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x5b0]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x5b4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [0x9d35f0]
add ecx, 1
mov dword [0x9d35f0], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x40
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x184]
or edx, dword [ebp - 0x180]
test edx, edx
je 0x532335
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc4]
cmp ecx, dword [0x6f73fc]
jae 0x532335
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x1b8]
push eax
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x53229b
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [0x9c7c08]
call fcn.00576cd0
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x538]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xffffffbf
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x5b0]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x5b4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [0x9d35f0]
add ecx, 1
mov dword [0x9d35f0], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.005339f0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x80
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x18c]
or edx, dword [ebp - 0x188]
test edx, edx
je 0x532450
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc8]
cmp ecx, dword [0x6f73fc]
jae 0x532450
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x1ba]
push eax
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x5323b6
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [0x9c7c08]
call fcn.00576cd0
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x53a]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and dl, 0x7f
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc8], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x90], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x5b0]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x5b4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [0x9d35f0]
add ecx, 1
mov dword [0x9d35f0], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.005339f0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x10000
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x194]
or edx, dword [ebp - 0x190]
test edx, edx
je 0x53253e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xec]
cmp ecx, dword [0x6f73fc]
jae 0x53253e
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x54c]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xfffeffff
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xec], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x1cc], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x38]
sub eax, dword [edx + 0x74]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jge 0x532518
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x44]
cmp ecx, dword [eax + 0x38]
jle 0x532532
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x44], ecx
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x40000
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x19c]
or edx, dword [ebp - 0x198]
test edx, edx
je 0x53262c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xf4]
cmp ecx, dword [0x6f73fc]
jae 0x53262c
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x550]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xfffbffff
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xf4], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x1d0], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x3c]
sub eax, dword [edx + 0x78]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jge 0x532606
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x48]
cmp ecx, dword [eax + 0x3c]
jle 0x532620
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x48], ecx
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x100000
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x1a4]
or edx, dword [ebp - 0x1a0]
test edx, edx
je 0x532724
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xfc]
cmp ecx, dword [0x6f73fc]
jae 0x532724
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x554]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xffefffff
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xfc], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x1d4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x7c], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x40]
sub ecx, dword [eax + 0x7c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x40], 0
jge 0x5326fe
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
cmp edx, dword [ecx + 0x40]
jle 0x532718
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x4c], edx
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov eax, dword [0x6f73fc]
add eax, 0x3e8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b8], eax
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x5bc]
jbe 0x5338d0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 2
mov eax, dword [ecx + 0x5b4]
and eax, 0
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1ac]
or ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x532804
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb0]
cmp eax, dword [0x6f73fc]
jae 0x532804
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xfffffffd
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xb0], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x5b0]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x5b4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [0x9d35f0]
add ecx, 1
mov dword [0x9d35f0], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 4
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b4]
or edx, dword [ebp - 0x1b0]
test edx, edx
je 0x5328af
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb4]
cmp ecx, dword [0x6f73fc]
jae 0x5328af
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x530]
mov word [0x9c7c0c], ax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xfffffffb
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xb4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x94], 0
mov ecx, dword [ebp - 4]
call fcn.004ef750
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
push 0
mov ecx, dword [ebp - 4]
call fcn.005339f0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0x800
mov eax, dword [ecx + 0x5b4]
and eax, 0
mov dword [ebp - 0x1bc], edx
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1bc]
or ecx, dword [ebp - 0x1b8]
test ecx, ecx
je 0x532985
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0xd8]
jbe 0x532985
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and dh, 0xf7
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xd8], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x1c2], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
xor ecx, ecx
mov cx, word [0x9c7c0c]
or eax, ecx
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x5b0]
mov dword [ecx + 4], edx
mov eax, dword [eax + 0x5b4]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
mov dword [ebp - 8], ecx
mov edx, dword [0x9d35f0]
add edx, 1
mov dword [0x9d35f0], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0x400
mov edx, dword [eax + 0x5b4]
and edx, 0
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1c4]
or eax, dword [ebp - 0x1c0]
test eax, eax
je 0x532a5c
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0xd4]
jbe 0x532a5c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ch, 0xfb
mov edx, dword [eax + 0x5b4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xd4], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x1c0], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
xor ecx, ecx
mov cx, word [0x9c7c0c]
or eax, ecx
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x5b0]
mov dword [ecx + 4], edx
mov eax, dword [eax + 0x5b4]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
mov dword [ebp - 8], ecx
mov edx, dword [0x9d35f0]
add edx, 1
mov dword [0x9d35f0], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0x1000
mov edx, dword [eax + 0x5b4]
and edx, 0
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1cc]
or eax, dword [ebp - 0x1c8]
test eax, eax
je 0x532b33
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0xdc]
jbe 0x532b33
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ch, 0xef
mov edx, dword [eax + 0x5b4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xdc], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x1c4], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
xor ecx, ecx
mov cx, word [0x9c7c0c]
or eax, ecx
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x5b0]
mov dword [ecx + 4], edx
mov eax, dword [eax + 0x5b4]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
mov dword [ebp - 8], ecx
mov edx, dword [0x9d35f0]
add edx, 1
mov dword [0x9d35f0], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0x4000
mov edx, dword [eax + 0x5b4]
and edx, 0
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0x1d4]
or eax, dword [ebp - 0x1d0]
test eax, eax
je 0x532c0a
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0xe4]
jbe 0x532c0a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ch, 0xbf
mov edx, dword [eax + 0x5b4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xe4], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x1c8], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
xor ecx, ecx
mov cx, word [0x9c7c0c]
or eax, ecx
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x5b0]
mov dword [ecx + 4], edx
mov eax, dword [eax + 0x5b4]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
mov dword [ebp - 8], ecx
mov edx, dword [0x9d35f0]
add edx, 1
mov dword [0x9d35f0], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0x2000
mov edx, dword [eax + 0x5b4]
and edx, 0
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x1dc]
or eax, dword [ebp - 0x1d8]
test eax, eax
je 0x532ce1
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0xe0]
jbe 0x532ce1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ch, 0xdf
mov edx, dword [eax + 0x5b4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xe0], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x1c6], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
xor ecx, ecx
mov cx, word [0x9c7c0c]
or eax, ecx
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x5b0]
mov dword [ecx + 4], edx
mov eax, dword [eax + 0x5b4]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
mov dword [ebp - 8], ecx
mov edx, dword [0x9d35f0]
add edx, 1
mov dword [0x9d35f0], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0x8000
mov edx, dword [eax + 0x5b4]
and edx, 0
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp - 0x1e4]
or eax, dword [ebp - 0x1e0]
test eax, eax
je 0x532d6c
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0xe8]
jbe 0x532d6c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ch, 0x7f
mov edx, dword [eax + 0x5b4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xe8], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x1ca], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0x800000
mov edx, dword [eax + 0x5b4]
and edx, 0
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], edx
mov eax, dword [ebp - 0x1ec]
or eax, dword [ebp - 0x1e8]
test eax, eax
je 0x532dfa
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0x108]
jbe 0x532dfa
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0xff7fffff
mov edx, dword [eax + 0x5b4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x108], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x1da], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0x400000
mov edx, dword [eax + 0x5b4]
and edx, 0
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0x1f4]
or eax, dword [ebp - 0x1f0]
test eax, eax
je 0x532ece
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0x104]
jbe 0x532ece
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2854], 0
je 0x532e66
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x2854]
mov word [ecx + 0x32], ax
jmp 0x532e74
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x34]
mov word [ecx + 0x32], ax
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0x558]
mov word [0x9c7c0c], dx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0xffbfffff
mov edx, dword [eax + 0x5b4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x104], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x1d8], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0x2000000
mov edx, dword [eax + 0x5b4]
and edx, 0
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x1fc]
or eax, dword [ebp - 0x1f8]
test eax, eax
je 0x532fab
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0x110]
jbe 0x532fab
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x1de]
push ecx
mov ecx, dword [0x6bc79c]
call fcn.0042fd30
mov dword [0x9c7c08], eax
cmp dword [0x9c7c08], 0
je 0x532f52
push 0
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [0x9c7c08]
call fcn.00579f00
mov eax, dword [ebp - 4]
mov cx, word [eax + 0x55e]
mov word [0x9c7c0c], cx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0xfdffffff
mov ecx, dword [edx + 0x5b4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x110], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1de], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x20000000
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x204]
or edx, dword [ebp - 0x200]
test edx, edx
je 0x533046
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 0x3622]
test ecx, ecx
jne 0x533046
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x120]
jbe 0x533046
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xdfffffff
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x120], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x1e6], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0x1000000
mov eax, dword [ecx + 0x5b4]
and eax, 0
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x20c]
or ecx, dword [ebp - 0x208]
test ecx, ecx
je 0x533114
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x10c]
jbe 0x533114
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0xfeffffff
mov eax, dword [ecx + 0x5b4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x10c], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x1dc], 0
mov ecx, dword [ebp - 4]
call fcn.00403b50
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x5b0]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x5b4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [0x9d35f0]
add ecx, 1
mov dword [0x9d35f0], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0x40000000
mov ecx, dword [edx + 0x5b4]
and ecx, 0
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0x214]
or edx, dword [ebp - 0x210]
test edx, edx
je 0x5331a0
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x124]
jbe 0x5331a0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0xbfffffff
mov ecx, dword [edx + 0x5b4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x124], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1e8], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 1
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x21c]
or edx, dword [ebp - 0x218]
test edx, edx
je 0x533228
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x12c]
jbe 0x533228
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ecx, 0xfffffffe
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x12c], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1ec], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 0x400
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x224]
or edx, dword [ebp - 0x220]
test edx, edx
je 0x5332b3
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x19c]
jbe 0x5332b3
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ch, 0xfb
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x19c], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x224], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 0x1000
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x22c]
or edx, dword [ebp - 0x228]
test edx, edx
je 0x53333a
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x16c]
jbe 0x53333a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ch, 0xef
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x19c], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x224], 0
mov ecx, dword [ebp - 4]
call fcn.0050e4f0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 0x800
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x234]
or edx, dword [ebp - 0x230]
test edx, edx
je 0x5333ea
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x1a0]
jbe 0x5333ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ch, 0xf7
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x1a0], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x226], 0
mov ecx, dword [ebp - 4]
call fcn.00533a20
and eax, 0xff
test eax, eax
je 0x5333de
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2620]
and al, 0xbf
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2620], eax
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 2
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x23c]
or edx, dword [ebp - 0x238]
test edx, edx
je 0x53350a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x5334b3
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
call fcn.0047d0d0
push eax
mov ecx, dword [0x6bc79c]
call fcn.00420240
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x5334b1
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov ax, word [edx + 0xc]
cmp eax, 0x40
je 0x5334b1
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0x130]
jbe 0x5334b1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
mov edx, dword [eax + 0x5b4]
and edx, 0xfffffffd
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x130], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x1ee], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
jmp 0x53350a
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x130]
jbe 0x53350a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ecx, 0xfffffffd
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x130], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1ee], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
and eax, 0
mov ecx, dword [edx + 0x5b4]
and ecx, 4
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], ecx
mov edx, dword [ebp - 0x244]
or edx, dword [ebp - 0x240]
test edx, edx
je 0x53359f
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x134]
jbe 0x53359f
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b0]
mov ecx, dword [edx + 0x5b4]
and ecx, 0xfffffffb
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b0], eax
mov dword [edx + 0x5b4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x134], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1f0], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x2b4], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0
mov edx, dword [eax + 0x5b4]
and edx, 8
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x24c]
or eax, dword [ebp - 0x248]
test eax, eax
je 0x53364d
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0x138]
jbe 0x53364d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
mov edx, dword [eax + 0x5b4]
and edx, 0xfffffff7
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x9c], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x138], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1f2], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x572], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
and ecx, 0
mov edx, dword [eax + 0x5b4]
and edx, 0x10
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x250], edx
mov eax, dword [ebp - 0x254]
or eax, dword [ebp - 0x250]
test eax, eax
je 0x53370c
mov ecx, dword [ebp - 4]
mov edx, dword [0x6f73fc]
cmp edx, dword [ecx + 0x13c]
jbe 0x53370c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b0]
mov edx, dword [eax + 0x5b4]
and edx, 0xffffffef
mov eax, dword [ebp - 4]
mov dword [eax + 0x5b0], ecx
mov dword [eax + 0x5b4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x9c], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x13c], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1f4], 0
mov edx, dword [ebp - 4]
mov word [edx + 0x574], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x2bc], 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.004cd520
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
and edx, 0
mov eax, dword [ecx + 0x5b4]
and eax, 0x20
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x25c]
or ecx, dword [ebp - 0x258]
test ecx, ecx
je 0x533787
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x140]
jbe 0x533787
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b0]
mov eax, dword [ecx + 0x5b4]
and al, 0xdf
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5b0], edx
mov dword [ecx + 0x5b4], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x140], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c0], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x3510], 0xffffff9c
jge 0x53388d
mov edx, dword [ebp - 4]
mov eax, dword [0x6f73fc]
cmp eax, dword [edx + 0x3514]
jbe 0x53388d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3510]
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x260]
add eax, 0x12e
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0xc1
ja case.0x5337e9.4
mov edx, dword [ebp - 0x260]
xor ecx, ecx
mov cl, byte [edx + 0x53392b]
jmp dword [ecx*4 + 0x533917]
mov word [ebp - 0xa4], 1
mov word [ebp - 0xa8], 0x46
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0052fb40
jmp case.0x5337e9.4
mov word [ebp - 0xac], 2
mov word [ebp - 0xb0], 0x46
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 4]
call fcn.0052fb40
jmp case.0x5337e9.4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x35b0], 0
jmp case.0x5337e9.4
mov word [ebp - 0xb4], 5
mov word [ebp - 0xb8], 0xc3
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0052fb40
push 0
mov ecx, dword [ebp - 4]
call fcn.00568bc0
mov ecx, dword [ebp - 4]
call fcn.004cadc0
mov ecx, dword [0x6f73fc]
add ecx, 0x1388
mov edx, dword [ebp - 4]
mov dword [edx + 0x5bc], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [0x6f73fc]
cmp ecx, dword [eax + 0x5c0]
jbe 0x5338d0
mov ecx, dword [ebp - 4]
call fcn.00533a90
mov edx, dword [0x6f73fc]
add edx, 0xea60
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c0], edx
cmp dword [0x9d35f0], 0
je 0x533910
mov ecx, dword [0x9d35f0]
imul ecx, ecx, 0xc
mov dword [0x65e518], ecx
mov edx, dword [ebp - 4]
add edx, 0x16
push edx
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
push 0x65e508
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
call fcn.004bd750
mov dword [0x9d35f0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret