Function at 0x52c020
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x31
push 0
push 0
dec ecx
jne 0x52c028
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52daf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [eax]
call dword [edx + 0x34]
call fcn.005397f4
mov dword [ebp - 0xa8], eax
mov eax, dword [0x672428]
test byte [eax + 0x17d], 0x10
je 0x52dab2
mov eax, dword [ebp - 0xa8]
call fcn.005c514c
test al, al
jne 0x52dab2
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x254], 3
jl 0x52dab2
call fcn.00501d74
cmp byte [eax + 0x291], 0
jne 0x52dab2
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x254]
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 0x250]
mov eax, dword [ebp - 0xa8]
call fcn.005c86c0
mov edx, eax
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.005271f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
je 0x52dab2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp dword [eax + 4], 0
jne 0x52dab2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x454]
cmp dword [eax + 0x24], 0
jle 0x52dab2
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0xa8]
mov edx, dword [edx + 0xa8]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
call fcn.005522c0
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 4]
add eax, 0x70
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x254]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax - 1]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52daab
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x254]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52c1a5
push ebp
call fcn.0052b6d8
pop ecx
test al, al
je 0x52daab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
and eax, 0x3ff
cmp eax, 9
jne 0x52c21e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp dword [eax + 0x18], 0x409
jne 0x52c1ed
mov cl, 1
mov edx, 0x809
mov eax, dword [ebp - 4]
call fcn.005271f0
mov dword [ebp - 0x18], eax
jmp 0x52c1ff
mov cl, 1
mov edx, 0x409
mov eax, dword [ebp - 4]
call fcn.005271f0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
jne 0x52c217
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x454]
cmp dword [eax + 0x24], 0
jne 0x52c223
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x52c223
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
and eax, 0x3ff
cmp eax, 0xc
jne 0x52c242
mov dword [ebp - 0x90], 0xa
jmp 0x52c24c
mov dword [ebp - 0x90], 6
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0xa8]
mov edx, dword [edx + 0xa8]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
call fcn.005532dc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
call fcn.006562a4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
call fcn.006562a4
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0x88], 1
jne 0x52c30e
mov al, 1
call fcn.0065503c
cmp dword [ebp - 0x18], 0
je 0x52c30e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
call fcn.006562a4
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
cmp dword [ebp - 8], 0
jne 0x52c30e
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x40]
call fcn.0040330c
mov eax, dword [ebp - 4]
lea edi, [eax + 0x70]
lea esi, [ebp - 0x12c]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x88], 0
je 0x52c321
cmp dword [ebp - 0x18], 0
jne 0x52c650
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0xb4]
mov dword [edx], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x254]
sub eax, 0x3f
call fcn.0065b29c
mov edx, dword [ebp - 0xb4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x254]
mov edx, dword [ebp - 0xb4]
sub eax, dword [edx + 4]
mov edx, dword [ebp - 0xb0]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0xb4]
cmp dword [eax + 4], 0
jle 0x52c457
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax - 1]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52c457
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
dec edx
mov eax, dword [ebp - 0x20]
call fcn.00656d70
inc eax
jne 0x52c457
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52c457
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
call fcn.00656d70
inc eax
jne 0x52c457
jmp 0x52c404
mov eax, dword [ebp - 0xb4]
inc dword [eax + 4]
mov eax, dword [ebp - 0xb0]
dec dword [eax + 0x10]
mov eax, dword [ebp - 0xb0]
cmp dword [eax + 0x10], 0
jle 0x52c457
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52c457
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
call fcn.00656d70
inc eax
je 0x52c3f2
jmp 0x52c457
mov eax, dword [ebp - 0xb4]
inc dword [eax + 4]
mov eax, dword [ebp - 0xb0]
dec dword [eax + 0x10]
mov eax, dword [ebp - 0xb0]
cmp dword [eax + 0x10], 0
jle 0x52c4b8
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52c445
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
call fcn.00656d70
inc eax
jne 0x52c445
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
mov al, byte [edx + eax]
mov edx, dword [0x672568]
and eax, 0xff
bt dword [edx], eax
jb 0x52c445
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
add edx, dword [ebp - 0xac]
lea eax, [ebp - 8]
call fcn.00403358
lea ecx, [ebp - 0x158]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 8]
call fcn.0051dc24
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 8]
call fcn.0040330c
jmp 0x52c5fb
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 8]
call fcn.0040330c
mov eax, dword [ebp - 4]
lea esi, [eax + 0x70]
lea edi, [ebp - 0x12c]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.0052ba18
pop ecx
test al, al
jne 0x52c605
jmp 0x52c54b
lea eax, [ebp - 8]
call fcn.0065b8f0
mov eax, dword [ebp - 0xb4]
inc dword [eax + 4]
mov eax, dword [ebp - 0xb0]
dec dword [eax + 0x10]
cmp dword [ebp - 8], 0
je 0x52c5a0
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52c5a0
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
call fcn.00656d70
inc eax
je 0x52c531
jmp 0x52c5a0
lea eax, [ebp - 8]
call fcn.0065b8f0
mov eax, dword [ebp - 0xb4]
inc dword [eax + 4]
mov eax, dword [ebp - 0xb0]
dec dword [eax + 0x10]
cmp dword [ebp - 8], 0
je 0x52c5fb
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52c586
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
mov al, byte [edx + eax]
mov edx, dword [0x672568]
and eax, 0xff
bt dword [edx], eax
jb 0x52c586
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
call fcn.00656d70
inc eax
jne 0x52c586
cmp dword [ebp - 8], 0
jne 0x52c502
mov eax, dword [ebp - 4]
lea edx, [eax + 0x70]
mov eax, dword [ebp - 0xa8]
call fcn.005c4c04
mov byte [ebp - 0x9f], al
mov eax, dword [ebp - 0xb4]
cmp dword [eax + 4], 0
jle 0x52c657
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
cmp byte [edx + eax - 1], 0x2e
jne 0x52c657
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [eax]
call dword [edx + 0x34]
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x52c657
push ebp
call fcn.0052ba18
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x458]
mov eax, dword [eax + 0xc]
call fcn.0065b5d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x52ca50
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + ebx*4]
call fcn.0040330c
mov eax, dword [ebp - 0x34]
call fcn.0065beb0
test al, al
jne 0x52c6b7
mov eax, dword [ebp - 8]
call fcn.0040351c
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
call fcn.0065bc58
test eax, eax
je 0x52c6bb
xor eax, eax
jmp 0x52c6bd
mov al, 1
mov byte [ebp - 0xa0], al
mov eax, dword [ebp - 0x34]
call fcn.0040351c
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.0040351c
cmp esi, eax
jle 0x52ca46
mov dl, 0x20
mov eax, dword [ebp - 0x34]
call fcn.0065b678
test eax, eax
je 0x52ca46
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x458]
mov dword [ebp - 0xbc], eax
xor esi, esi
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x24]
dec eax
mov dword [ebp - 0x78], eax
cmp esi, dword [ebp - 0x78]
jg 0x52ca46
mov eax, dword [ebp - 0x78]
add eax, esi
shr eax, 1
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0xbc]
mov edx, dword [edx + 0x14]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [edx + ecx*4]
call fcn.0040330c
mov eax, dword [ebp - 8]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.0065b28c
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
call fcn.0065bce8
mov edi, eax
test edi, edi
jl 0x52c78a
test edi, edi
jne 0x52c793
mov eax, dword [ebp - 0x38]
call fcn.0040351c
push eax
mov eax, dword [ebp - 8]
call fcn.0040351c
pop edx
cmp edx, eax
jge 0x52c793
mov esi, dword [ebp - 0x7c]
inc esi
jmp 0x52ca3d
test edi, edi
jne 0x52ca36
mov eax, dword [ebp - 0x38]
call fcn.0040351c
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.0040351c
cmp esi, eax
jle 0x52c81f
mov eax, dword [ebp - 0x34]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.0065b28c
mov ecx, eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
call fcn.0065bce8
test eax, eax
je 0x52c81f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x454]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp esi, eax
jge 0x52c81f
cmp byte [ebp - 0x9f], 0
jne 0x52c823
cmp byte [ebp - 0xa0], 0
je 0x52c823
xor eax, eax
jmp 0x52c825
mov al, 1
mov byte [ebp - 0x9e], al
mov esi, dword [ebp - 0x7c]
dec esi
cmp esi, 0
jl 0x52c919
cmp byte [ebp - 0x9e], 0
jne 0x52c919
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0xbc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
call fcn.0040330c
mov eax, dword [ebp - 0x38]
call fcn.0040351c
mov edi, eax
mov eax, dword [ebp - 8]
call fcn.0040351c
cmp edi, eax
jle 0x52c919
mov eax, dword [ebp - 8]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.0065b28c
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
call fcn.0065bce8
test eax, eax
jne 0x52c919
mov eax, dword [ebp - 0x34]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.0065b28c
mov ecx, eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
call fcn.0065bce8
test eax, eax
je 0x52c90f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x454]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
mov edx, esi
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp edi, eax
jge 0x52c90f
cmp byte [ebp - 0x9f], 0
jne 0x52c908
cmp byte [ebp - 0xa0], 0
jne 0x52c90f
mov byte [ebp - 0x9e], 1
dec esi
cmp esi, 0xffffffff
jne 0x52c838
mov esi, dword [ebp - 0x7c]
inc esi
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x24]
dec eax
sub eax, esi
jl 0x52ca1e
inc eax
mov dword [ebp - 0xc0], eax
cmp byte [ebp - 0x9e], 0
jne 0x52ca1e
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0xbc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
call fcn.0040330c
mov eax, dword [ebp - 0x38]
call fcn.0040351c
mov edi, eax
mov eax, dword [ebp - 8]
call fcn.0040351c
cmp edi, eax
jl 0x52ca1e
mov eax, dword [ebp - 8]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.0065b28c
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
call fcn.0065bce8
test eax, eax
jne 0x52ca1e
mov eax, dword [ebp - 0x34]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.0065b28c
mov ecx, eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
call fcn.0065bce8
test eax, eax
je 0x52ca11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x454]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
mov edx, esi
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp edi, eax
jge 0x52ca11
cmp byte [ebp - 0x9f], 0
jne 0x52ca0a
cmp byte [ebp - 0xa0], 0
jne 0x52ca11
mov byte [ebp - 0x9e], 1
inc esi
dec dword [ebp - 0xc0]
jne 0x52c936
cmp byte [ebp - 0x9e], 0
je 0x52ca46
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x52ca46
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x78], eax
cmp esi, dword [ebp - 0x78]
jle 0x52c725
dec ebx
cmp ebx, 0xffffffff
jne 0x52c67e
call fcn.0065b624
mov eax, dword [ebp - 0xb4]
cmp dword [eax + 4], 0
jle 0x52cddd
lea ecx, [ebp - 0x168]
mov eax, dword [ebp - 0xb0]
mov edx, eax
mov eax, dword [ebp - 0xa8]
call fcn.005c35f4
lea edx, [ebp - 0x168]
lea ecx, [ebp - 0x144]
mov eax, dword [ebp - 0xa8]
call fcn.005c3a64
cmp dword [ebp - 0x134], 0
jle 0x52cddd
mov eax, dword [ebp - 0x140]
add eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0xb4]
cmp eax, dword [edx + 4]
jge 0x52cddd
lea eax, [ebp - 0x158]
push eax
call fcn.005397f4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
mov ecx, dword [edx + 0x18]
lea edx, [ebp - 0x144]
call fcn.00522628
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x44]
call fcn.0065c348
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x44]
call fcn.0040330c
cmp dword [ebp - 0x140], 1
jle 0x52cbcb
lea ecx, [ebp - 0x154]
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0xa8]
call fcn.005c35f4
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x154]
jne 0x52cbcb
mov eax, dword [ebp - 0x140]
dec eax
cmp eax, dword [ebp - 0x150]
jne 0x52cb67
lea ecx, [ebp - 0x168]
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0xa8]
call fcn.005c35f4
lea esi, [ebp - 0x168]
lea edi, [ebp - 0x154]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x154]
jne 0x52cbcb
mov eax, dword [ebp - 0x140]
add eax, dword [ebp - 0x134]
push eax
lea eax, [ebp - 0x188]
push eax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x150]
call fcn.00543f90
lea edx, [ebp - 0x188]
lea ecx, [ebp - 0x158]
mov eax, dword [ebp - 0xa8]
call fcn.005c4240
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x48]
call fcn.0065c348
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x46c]
mov edx, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x40]
inc eax
jne 0x52cbfd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x46c]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x40]
inc eax
je 0x52cca1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov esi, dword [eax + 0x24]
dec esi
cmp esi, 0
jl 0x52cddd
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
call fcn.0040330c
mov eax, dword [ebp - 0x4c]
call fcn.0065b8d8
sub al, 0x53
je 0x52cc34
sub al, 0x20
jne 0x52cc92
lea eax, [ebp - 0x4c]
call fcn.0065b910
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
push eax
push 0
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor ecx, ecx
mov edx, dword [ebp - 0x4c]
call fcn.00525b60
test al, al
jne 0x52cc92
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
inc eax
je 0x52cc7e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x52cc92
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x14]
lea eax, [eax + esi*4]
mov edx, dword [ebp - 0x4c]
call fcn.004032c8
dec esi
cmp esi, 0xffffffff
jne 0x52cc10
jmp 0x52cddd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x470]
mov edx, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x40]
inc eax
jne 0x52ccd3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x470]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x40]
inc eax
je 0x52cddd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov esi, dword [eax + 0x24]
dec esi
cmp esi, 0
jl 0x52cddd
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
call fcn.0040330c
mov eax, dword [ebp - 0x4c]
call fcn.0065b8d8
sub al, 0x53
je 0x52cdd3
sub al, 0x20
je 0x52cdd3
mov eax, dword [ebp - 0x4c]
call fcn.0065bf58
test al, al
je 0x52cd2d
lea eax, [ebp - 0x4c]
mov edx, 0x52db08
call fcn.00403524
jmp 0x52cd3a
lea eax, [ebp - 0x4c]
mov edx, 0x52db14
call fcn.00403524
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
push eax
push 0
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor ecx, ecx
mov edx, dword [ebp - 0x4c]
call fcn.00525b60
test al, al
jne 0x52cdd3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
and eax, 0x3ff
cmp eax, 9
jne 0x52cd9f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
inc eax
jne 0x52cdd3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0x4c]
call fcn.00657778
jmp 0x52cdd3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
inc eax
je 0x52cdbf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x52cdd3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x14]
lea eax, [eax + esi*4]
mov edx, dword [ebp - 0x4c]
call fcn.004032c8
dec esi
cmp esi, 0xffffffff
jne 0x52cce6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x24], 0
jne 0x52cdf0
xor eax, eax
mov dword [ebp - 0x54], eax
jmp 0x52ce04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x24]
shl eax, 3
call fcn.00401e58
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x24], 1
jle 0x52d531
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 4]
lea esi, [eax + 0x70]
lea edi, [ebp - 0xec]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xfc], eax
xor eax, eax
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x158]
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 0xa8]
call fcn.005c4240
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
mov edx, dword [edx + 0x18]
call fcn.0051dc24
lea eax, [ebp - 0x2c]
call fcn.00403274
mov eax, dword [ebp - 0x24]
call fcn.0040351c
mov ebx, eax
jmp 0x52cead
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403418
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
call fcn.00403568
dec ebx
test ebx, ebx
jle 0x52ceeb
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52ce89
jmp 0x52ceeb
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403418
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
call fcn.00403568
dec ebx
test ebx, ebx
jle 0x52cf03
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
je 0x52cec7
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.0040330c
jmp 0x52cf34
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403418
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
call fcn.00403568
dec ebx
test ebx, ebx
jle 0x52cf72
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52cf10
jmp 0x52cf72
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403418
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
call fcn.00403568
dec ebx
test ebx, ebx
jle 0x52cf8a
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
je 0x52cf4e
mov byte [ebp - 0x9d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x52d0c1
mov eax, ebx
shl eax, 3
add eax, dword [ebp - 0x54]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [eax], ebx
cmp dword [ebp - 0x30], 0
jne 0x52cfc9
mov dword [ebp - 0x74], 0xffffffff
jmp 0x52cffd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + ebx*4]
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x30]
call fcn.00403568
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x458]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffff
je 0x52d02c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x458]
mov edx, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x18]
imul eax, eax, 0x3c
mov edx, dword [ebp - 0xc8]
mov dword [edx + 4], eax
mov byte [ebp - 0x9d], 1
jmp 0x52d037
mov eax, dword [ebp - 0xc8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x2c]
call fcn.0040351c
mov esi, eax
mov eax, dword [ebp - 0x30]
call fcn.0040351c
cmp esi, eax
jge 0x52d0b7
cmp dword [ebp - 0x2c], 0
je 0x52d0b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + ebx*4]
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x2c]
call fcn.00403568
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x458]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffff
je 0x52d0b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x458]
mov edx, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x18]
shl eax, 2
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0xc8]
add dword [edx + 4], eax
mov byte [ebp - 0x9d], 1
dec ebx
cmp ebx, 0xffffffff
jne 0x52cfa4
cmp byte [ebp - 0x9d], 0
jne 0x52d10b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x52d10b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x454]
mov ecx, dword [eax]
call dword [ecx + 0x18]
inc eax
mov edx, ebx
shl edx, 3
add edx, dword [ebp - 0x54]
mov dword [edx + 4], eax
dec ebx
cmp ebx, 0xffffffff
jne 0x52d0d9
call fcn.00660e34
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x250]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x250]
inc eax
mov dword [ebp - 0x84], eax
jmp 0x52d3f3
xor eax, eax
mov dword [ebp - 0x94], eax
mov edi, dword [ebp - 0x80]
cmp dword [ebp - 0x94], 0
jne 0x52d15c
cmp dword [ebp - 0x80], 0
jl 0x52d15c
dec dword [ebp - 0x80]
jmp 0x52d190
cmp dword [ebp - 0x94], 1
jne 0x52d3e0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x84]
jle 0x52d3e0
mov edi, dword [ebp - 0x84]
inc dword [ebp - 0x84]
mov dword [ebp - 0x114], edi
xor eax, eax
mov dword [ebp - 0x110], eax
mov edx, edi
mov eax, dword [ebp - 0xa8]
call fcn.005c0358
dec eax
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x158]
push eax
call fcn.005397f4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
mov ecx, dword [edx + 0x18]
lea edx, [ebp - 0x114]
call fcn.00522628
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
mov edx, dword [edx + 0x18]
call fcn.0051dc24
mov ebx, 1
cmp dword [ebp - 0x24], 0
je 0x52d3e0
jmp 0x52d1fb
inc ebx
mov eax, dword [ebp - 0x24]
call fcn.0040351c
cmp ebx, eax
jg 0x52d21b
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
jne 0x52d1fa
lea eax, [ebp - 0x28]
call fcn.00403274
jmp 0x52d246
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + ebx - 1]
call fcn.00403418
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0x28]
call fcn.00403524
inc ebx
mov eax, dword [ebp - 0x24]
call fcn.0040351c
cmp ebx, eax
jg 0x52d266
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
je 0x52d225
call fcn.00660e34
sub eax, dword [ebp - 0x98]
cmp eax, 0x32
jl 0x52d297
mov dword [ebp - 0x80], 0xffffffff
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x84], eax
jmp 0x52d3e0
cmp dword [ebp - 0x28], 0
je 0x52d3d0
mov eax, dword [ebp - 0xa8]
cmp edi, dword [eax + 0x250]
jne 0x52d2c4
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x254]
inc eax
cmp ebx, eax
je 0x52d3d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffff
je 0x52d2e8
mov eax, dword [ebp - 0x64]
shl eax, 3
add eax, dword [ebp - 0x54]
add dword [eax + 4], 3
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x24]
call fcn.0040351c
cmp ebx, eax
jge 0x52d3cf
mov eax, dword [0x672838]
mov byte [eax + 0x2d], 0
mov esi, ebx
jmp 0x52d3a9
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi - 1], 0x20
jne 0x52d3c6
lea eax, [ebp - 0x28]
mov edx, 0x52db20
call fcn.00403524
inc esi
jmp 0x52d34d
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + esi - 1]
call fcn.00403418
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0x28]
call fcn.00403524
inc esi
mov eax, dword [ebp - 0x24]
call fcn.0040351c
cmp esi, eax
jg 0x52d36d
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + esi - 1]
mov edx, dword [0x672838]
cmp byte [edx + eax], 0
je 0x52d32c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffff
je 0x52d3a9
mov eax, dword [ebp - 0x64]
shl eax, 3
add eax, dword [ebp - 0x54]
inc dword [eax + 4]
cmp dword [ebp - 0x68], 0xffffffff
je 0x52d3a3
mov eax, dword [ebp - 0x68]
shl eax, 3
add eax, dword [ebp - 0x54]
sub dword [eax + 4], 3
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
call fcn.0040351c
cmp eax, 0x3f
jge 0x52d3c6
mov eax, dword [ebp - 0x24]
call fcn.0040351c
cmp esi, eax
jle 0x52d30e
mov eax, dword [0x672838]
mov byte [eax + 0x2d], 1
inc ebx
mov eax, dword [ebp - 0x24]
call fcn.0040351c
cmp ebx, eax
jle 0x52d1fb
inc dword [ebp - 0x94]
cmp dword [ebp - 0x94], 2
jne 0x52d145
cmp dword [ebp - 0x80], 0
jge 0x52d13d
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x84]
jg 0x52d13d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x24]
dec eax
test eax, eax
jle 0x52d4b0
mov dword [ebp - 0xc0], eax
mov ebx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov esi, dword [eax + 0x24]
dec esi
mov eax, ebx
sub eax, esi
jg 0x52d4a7
dec eax
mov dword [ebp - 0xcc], eax
mov eax, esi
dec eax
mov edi, eax
shl edi, 3
add edi, dword [ebp - 0x54]
mov eax, esi
shl eax, 3
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
push ebp
mov edx, edi
mov eax, dword [ebp - 0x58]
call fcn.0052bbdc
pop ecx
test al, al
je 0x52d49e
mov eax, dword [edi]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [edi], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x6c]
mov dword [eax], edx
mov eax, dword [edi + 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x6c]
mov dword [eax + 4], edx
dec esi
inc dword [ebp - 0xcc]
jne 0x52d44c
inc ebx
dec dword [ebp - 0xc0]
jne 0x52d435
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x52d531
mov eax, ebx
shl eax, 3
add eax, dword [ebp - 0x54]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x14]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0xd0]
mov edx, dword [edx]
mov ecx, dword [ebp - 0xdc]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + edx*4]
call fcn.004032c8
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, ebx
mov esi, dword [eax]
call dword [esi + 0x24]
dec ebx
cmp ebx, 0xffffffff
jne 0x52d4d2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x52d573
mov eax, ebx
shl eax, 3
add eax, dword [ebp - 0x54]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov edx, ebx
mov esi, dword [eax]
call dword [esi + 0x24]
dec ebx
cmp ebx, 0xffffffff
jne 0x52d553
push ebp
mov eax, dword [ebp - 0x88]
call fcn.0052bdd8
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x52d645
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + ebx*4]
call fcn.0040351c
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.0040351c
mov edx, dword [0x672428]
add eax, dword [edx + 0x1e0]
cmp esi, eax
jge 0x52d63b
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, 0x32
call fcn.00629410
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov esi, ebx
jmp 0x52d619
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp esi, dword [eax + 0x24]
jge 0x52d63b
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp eax, dword [ebp - 0x8c]
jl 0x52d5fd
dec ebx
cmp ebx, 0xffffffff
jne 0x52d593
mov eax, dword [ebp - 0x54]
call fcn.00401fac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
call fcn.0065b5d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 1
jl 0x52d749
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + ebx*4]
call fcn.0040330c
mov dl, 0x20
mov eax, dword [ebp - 0xc]
call fcn.0065b678
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x52d740
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x9c]
dec edx
mov eax, dword [ebp - 0xc]
call fcn.0065c428
mov eax, dword [ebp - 0xc]
call fcn.0065beb0
test al, al
jne 0x52d6d6
mov eax, dword [ebp - 8]
call fcn.0040351c
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0065bc58
test eax, eax
je 0x52d6da
xor eax, eax
jmp 0x52d6dc
mov al, 1
mov byte [ebp - 0xa0], al
mov esi, ebx
dec esi
cmp esi, 0
jl 0x52d740
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
call fcn.0040330c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x3c]
call fcn.0065bdc0
test eax, eax
jne 0x52d73a
cmp byte [ebp - 0x9f], 0
jne 0x52d72b
mov eax, dword [ebp - 0x50]
call fcn.0065beb0
test al, al
je 0x52d73a
cmp byte [ebp - 0xa0], 0
jne 0x52d73a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x52d740
dec esi
cmp esi, 0xffffffff
jne 0x52d6ea
dec ebx
test ebx, ebx
jne 0x52d66e
call fcn.0065b624
jmp 0x52d765
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [eax + 0x24]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x90]
jg 0x52d750
cmp dword [ebp - 0x88], 1
jne 0x52d786
mov al, 2
call fcn.0065503c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x24], 0
jg 0x52d7a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
call fcn.0051db18
test al, al
jne 0x52d7aa
cmp dword [ebp - 0x18], 0
je 0x52d7c4
inc dword [ebp - 0x88]
add dword [ebp - 0xdc], 4
cmp dword [ebp - 0x88], 2
jne 0x52c2a5
cmp dword [ebp - 0x18], 0
je 0x52da93
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x52da4b
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + ebx*4]
call fcn.0040330c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffff
je 0x52d846
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp esi, eax
jle 0x52da41
cmp dword [ebp - 0x64], 0xffffffff
je 0x52d857
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x672428]
mov ax, word [eax + 0xb5]
mov word [ebp - 0x5e], ax
mov eax, dword [0x672428]
mov dx, word [0x52db24]
not edx
and dx, word [eax + 0xb5]
mov eax, dword [0x672428]
mov word [eax + 0xb5], dx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 0x18]
push eax
push 0
push 1
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xd4]
call fcn.00525b60
test al, al
jne 0x52d8c2
mov byte [ebp - 0xa1], 1
jmp 0x52d98c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
call fcn.006562a4
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x18c]
push eax
mov ecx, 0x52db30
mov edx, 0x52db20
mov eax, dword [ebp - 0xc]
call fcn.0065c4e4
mov eax, dword [ebp - 0x18c]
mov ecx, 0x52db30
mov edx, 0x52db3c
call fcn.0065c4e4
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0xd8]
call fcn.006575b4
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x24], 1
jne 0x52d931
mov byte [ebp - 0xa1], 0
jmp 0x52d981
mov byte [ebp - 0xa1], 1
mov eax, dword [ebp - 0xd8]
mov esi, dword [eax + 0x24]
dec esi
cmp esi, 0
jl 0x52d981
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 0x18]
push eax
push 0
push 1
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + esi*4]
xor ecx, ecx
mov eax, dword [ebp - 0xd4]
call fcn.00525b60
test al, al
je 0x52d97b
mov byte [ebp - 0xa1], 0
jmp 0x52d981
dec esi
cmp esi, 0xffffffff
jne 0x52d947
mov eax, dword [ebp - 0xd8]
call fcn.004028c0
mov eax, dword [0x672428]
mov dx, word [ebp - 0x5e]
mov word [eax + 0xb5], dx
cmp byte [ebp - 0xa1], 0
je 0x52da41
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x24]
dec eax
test eax, eax
jl 0x52da12
inc eax
mov dword [ebp - 0xc0], eax
xor esi, esi
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x14]
mov edx, dword [eax + esi*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp eax, dword [ebp - 0x8c]
jge 0x52da09
mov dword [ebp - 0x70], esi
jmp 0x52da12
inc esi
dec dword [ebp - 0xc0]
jne 0x52d9e1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x5c]
call fcn.00657dcc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
inc eax
jne 0x52da41
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00657778
dec ebx
cmp ebx, 0xffffffff
jne 0x52d7ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.004028c0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x68], edx
push ebp
mov eax, 0x80000000
call fcn.0052bdd8
pop ecx
jmp 0x52da82
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [eax + 0x24]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x90]
jg 0x52da6d
mov eax, dword [ebp - 0x10]
call fcn.004028c0
mov eax, dword [ebp - 0x14]
call fcn.004028c0
mov eax, dword [ebp - 0x20]
call fcn.00656ff0
mov eax, dword [0x672130]
dec dword [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52daf7
lea eax, [ebp - 0x18c]
call fcn.00403274
lea eax, [ebp - 0x158]
call fcn.00403274
lea eax, [ebp - 0x50]
mov edx, 0xc
call fcn.00403298
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403298
ret