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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x31
push 0
push 0
dec ecx
jne 0x52e014
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52facb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.0062df9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, dword [eax]
call dword [edx + 0x34]
call fcn.00539564
mov dword [ebp - 0xa8], eax
mov eax, dword [0x66ebb0]
test byte [eax + 1], 0x10
je 0x52fa86
mov eax, dword [ebp - 0xa8]
call fcn.005c208c
test al, al
jne 0x52fa86
mov eax, dword [ebp - 0xa8]
cmp dword [eax + 0x25c], 3
jl 0x52fa86
mov eax, dword [0x66fb2c]
cmp byte [eax], 0
jne 0x52fa86
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x25c]
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 0x258]
mov eax, dword [ebp - 0xa8]
call fcn.005c5464
mov edx, eax
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.005296c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
je 0x52fa86
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp dword [eax + 4], 0
jne 0x52fa86
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x454]
cmp dword [eax + 0x24], 0
jle 0x52fa86
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x258]
mov edx, dword [ebp - 0xa8]
mov edx, dword [edx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
call fcn.00551c4c
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 + 0x25c]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax - 1]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52fa7f
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x25c]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52e191
push ebp
call fcn.0052d6d0
pop ecx
test al, al
je 0x52fa7f
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
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, 9
jne 0x52e20b
mov dword [ebp - 0x7c], 0x409
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp dword [eax + 0x18], 0x409
jne 0x52e1d8
mov dword [ebp - 0x7c], 0x809
mov cl, 1
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.005296c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x52e20b
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
jne 0x52e206
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x454]
cmp dword [eax + 0x24], 0
jne 0x52e20b
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x90], 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
and eax, 0x3ff
cmp eax, 0xc
jne 0x52e232
mov dword [ebp - 0x90], 0xa
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x258]
mov edx, dword [ebp - 0xa8]
mov edx, dword [edx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
call fcn.00552cc8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
call fcn.0064d604
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
call fcn.0064d604
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 0x52e2f4
mov al, 1
call fcn.0062df9c
cmp dword [ebp - 0x18], 0
je 0x52e2f4
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.0064d604
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
cmp dword [ebp - 8], 0
jne 0x52e2f4
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 0x52e307
cmp dword [ebp - 0x18], 0
jne 0x52e636
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x258]
mov edx, dword [ebp - 0xb4]
mov dword [edx], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x25c]
sub eax, 0x3f
call fcn.00653548
mov edx, dword [ebp - 0xb4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x25c]
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 0x52e43d
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax - 1]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52e43d
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
dec edx
mov eax, dword [ebp - 0x20]
call fcn.0064eb1c
inc eax
jne 0x52e43d
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52e43d
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
call fcn.0064eb1c
inc eax
jne 0x52e43d
jmp 0x52e3ea
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 0x52e43d
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52e43d
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
call fcn.0064eb1c
inc eax
je 0x52e3d8
jmp 0x52e43d
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 0x52e49e
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52e42b
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
call fcn.0064eb1c
inc eax
jne 0x52e42b
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
mov al, byte [edx + eax]
mov edx, dword [0x66f72c]
and eax, 0xff
bt dword [edx], eax
jb 0x52e42b
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.00520334
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 8]
call fcn.0040330c
jmp 0x52e5e1
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.0052da10
pop ecx
test al, al
jne 0x52e5eb
jmp 0x52e531
lea eax, [ebp - 8]
call fcn.00653bbc
mov eax, dword [ebp - 0xb4]
inc dword [eax + 4]
mov eax, dword [ebp - 0xb0]
dec dword [eax + 0x10]
cmp dword [ebp - 8], 0
je 0x52e586
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52e586
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
call fcn.0064eb1c
inc eax
je 0x52e517
jmp 0x52e586
lea eax, [ebp - 8]
call fcn.00653bbc
mov eax, dword [ebp - 0xb4]
inc dword [eax + 4]
mov eax, dword [ebp - 0xb0]
dec dword [eax + 0x10]
cmp dword [ebp - 8], 0
je 0x52e5e1
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx + eax]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52e56c
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
mov al, byte [edx + eax]
mov edx, dword [0x66f72c]
and eax, 0xff
bt dword [edx], eax
jb 0x52e56c
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
call fcn.0064eb1c
inc eax
jne 0x52e56c
cmp dword [ebp - 8], 0
jne 0x52e4e8
mov eax, dword [ebp - 4]
lea edx, [eax + 0x70]
mov eax, dword [ebp - 0xa8]
call fcn.005c1b30
mov byte [ebp - 0x9f], al
mov eax, dword [ebp - 0xb4]
cmp dword [eax + 4], 0
jle 0x52e63d
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xac]
cmp byte [edx + eax - 1], 0x2e
jne 0x52e63d
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 0x52e63d
push ebp
call fcn.0052da10
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x458]
mov eax, dword [eax + 0xc]
call fcn.006538a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x52ea36
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.006541d0
test al, al
jne 0x52e69d
mov eax, dword [ebp - 8]
call fcn.0040351c
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
call fcn.00653f78
test eax, eax
je 0x52e6a1
xor eax, eax
jmp 0x52e6a3
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 0x52ea2c
mov dl, 0x20
mov eax, dword [ebp - 0x34]
call fcn.00653944
test eax, eax
je 0x52ea2c
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 0x52ea2c
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.00653538
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
call fcn.00654008
mov edi, eax
test edi, edi
jl 0x52e770
test edi, edi
jne 0x52e779
mov eax, dword [ebp - 0x38]
call fcn.0040351c
push eax
mov eax, dword [ebp - 8]
call fcn.0040351c
pop edx
cmp edx, eax
jge 0x52e779
mov esi, dword [ebp - 0x7c]
inc esi
jmp 0x52ea23
test edi, edi
jne 0x52ea1c
mov eax, dword [ebp - 0x38]
call fcn.0040351c
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.0040351c
cmp esi, eax
jle 0x52e805
mov eax, dword [ebp - 0x34]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.00653538
mov ecx, eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
call fcn.00654008
test eax, eax
je 0x52e805
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 0x52e805
cmp byte [ebp - 0x9f], 0
jne 0x52e809
cmp byte [ebp - 0xa0], 0
je 0x52e809
xor eax, eax
jmp 0x52e80b
mov al, 1
mov byte [ebp - 0x9e], al
mov esi, dword [ebp - 0x7c]
dec esi
cmp esi, 0
jl 0x52e8ff
cmp byte [ebp - 0x9e], 0
jne 0x52e8ff
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 0x52e8ff
mov eax, dword [ebp - 8]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.00653538
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
call fcn.00654008
test eax, eax
jne 0x52e8ff
mov eax, dword [ebp - 0x34]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.00653538
mov ecx, eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
call fcn.00654008
test eax, eax
je 0x52e8f5
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 0x52e8f5
cmp byte [ebp - 0x9f], 0
jne 0x52e8ee
cmp byte [ebp - 0xa0], 0
jne 0x52e8f5
mov byte [ebp - 0x9e], 1
dec esi
cmp esi, 0xffffffff
jne 0x52e81e
mov esi, dword [ebp - 0x7c]
inc esi
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x24]
dec eax
sub eax, esi
jl 0x52ea04
inc eax
mov dword [ebp - 0xc0], eax
cmp byte [ebp - 0x9e], 0
jne 0x52ea04
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 0x52ea04
mov eax, dword [ebp - 8]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.00653538
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
call fcn.00654008
test eax, eax
jne 0x52ea04
mov eax, dword [ebp - 0x34]
call fcn.0040351c
push eax
mov eax, dword [ebp - 0x38]
call fcn.0040351c
pop edx
call fcn.00653538
mov ecx, eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
call fcn.00654008
test eax, eax
je 0x52e9f7
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 0x52e9f7
cmp byte [ebp - 0x9f], 0
jne 0x52e9f0
cmp byte [ebp - 0xa0], 0
jne 0x52e9f7
mov byte [ebp - 0x9e], 1
inc esi
dec dword [ebp - 0xc0]
jne 0x52e91c
cmp byte [ebp - 0x9e], 0
je 0x52ea2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x52ea2c
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x78], eax
cmp esi, dword [ebp - 0x78]
jle 0x52e70b
dec ebx
cmp ebx, 0xffffffff
jne 0x52e664
call fcn.006538f0
mov eax, dword [ebp - 0xb4]
cmp dword [eax + 4], 0
jle 0x52edba
lea ecx, [ebp - 0x168]
mov eax, dword [ebp - 0xb0]
mov edx, eax
mov eax, dword [ebp - 0xa8]
call fcn.005c05d0
lea edx, [ebp - 0x168]
lea ecx, [ebp - 0x144]
mov eax, dword [ebp - 0xa8]
call fcn.005c0a30
cmp dword [ebp - 0x134], 0
jle 0x52edba
mov eax, dword [ebp - 0x140]
add eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0xb4]
cmp eax, dword [edx + 4]
jge 0x52edba
lea eax, [ebp - 0x158]
push eax
call fcn.00539564
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
mov ecx, dword [edx + 0x18]
lea edx, [ebp - 0x144]
call fcn.00524b50
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x44]
call fcn.00654668
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x44]
call fcn.0040330c
cmp dword [ebp - 0x140], 1
jle 0x52eba8
lea ecx, [ebp - 0x154]
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0xa8]
call fcn.005c05d0
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x154]
jne 0x52eba8
mov eax, dword [ebp - 0x140]
dec eax
cmp eax, dword [ebp - 0x150]
jne 0x52eb4d
lea ecx, [ebp - 0x168]
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0xa8]
call fcn.005c05d0
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 0x52eba8
lea eax, [ebp - 0x188]
push eax
mov ecx, dword [ebp - 0x140]
add ecx, dword [ebp - 0x134]
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x150]
call fcn.00543a28
lea edx, [ebp - 0x188]
lea ecx, [ebp - 0x158]
mov eax, dword [ebp - 0xa8]
call fcn.005c11dc
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x48]
call fcn.00654668
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 0x52ebda
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 0x52ec7e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov esi, dword [eax + 0x24]
dec esi
cmp esi, 0
jl 0x52edba
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.00653ba4
sub al, 0x53
je 0x52ec11
sub al, 0x20
jne 0x52ec6f
lea eax, [ebp - 0x4c]
call fcn.00653bdc
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.00528088
test al, al
jne 0x52ec6f
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 0x52ec5b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x52ec6f
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 0x52ebed
jmp 0x52edba
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 0x52ecb0
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 0x52edba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov esi, dword [eax + 0x24]
dec esi
cmp esi, 0
jl 0x52edba
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.00653ba4
sub al, 0x53
je 0x52edb0
sub al, 0x20
je 0x52edb0
mov eax, dword [ebp - 0x4c]
call fcn.00654278
test al, al
je 0x52ed0a
lea eax, [ebp - 0x4c]
mov edx, 0x52fae4
call fcn.00403524
jmp 0x52ed17
lea eax, [ebp - 0x4c]
mov edx, 0x52faf0
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.00528088
test al, al
jne 0x52edb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
and eax, 0x3ff
cmp eax, 9
jne 0x52ed7c
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 0x52edb0
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.0064f5d4
jmp 0x52edb0
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 0x52ed9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x52edb0
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 0x52ecc3
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x24], 0
je 0x52eddf
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 0x52f508
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.005c11dc
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.00520334
lea eax, [ebp - 0x2c]
call fcn.00403274
mov eax, dword [ebp - 0x24]
call fcn.0040351c
mov ebx, eax
jmp 0x52ee88
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 0x52eec6
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52ee64
jmp 0x52eec6
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 0x52eede
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
je 0x52eea2
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.0040330c
jmp 0x52ef0f
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 0x52ef4d
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52eeeb
jmp 0x52ef4d
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 0x52ef65
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
je 0x52ef29
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 0x52f098
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
mov dword [ebp - 0x74], 0xffffffff
cmp dword [ebp - 0x30], 0
je 0x52efd6
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
mov eax, dword [ebp - 0xc8]
xor edx, edx
mov dword [eax + 4], edx
cmp dword [ebp - 0x74], 0xffffffff
je 0x52f00e
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
mov eax, dword [ebp - 0x2c]
call fcn.0040351c
mov esi, eax
mov eax, dword [ebp - 0x30]
call fcn.0040351c
cmp esi, eax
jge 0x52f08e
cmp dword [ebp - 0x2c], 0
je 0x52f08e
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 0x52f08e
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 0x52ef7f
cmp byte [ebp - 0x9d], 0
jne 0x52f0e2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x52f0e2
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 0x52f0b0
call fcn.00658fe8
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x258]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x258]
inc eax
mov dword [ebp - 0x84], eax
jmp 0x52f3ca
xor eax, eax
mov dword [ebp - 0x94], eax
mov edi, dword [ebp - 0x80]
cmp dword [ebp - 0x94], 0
jne 0x52f133
cmp dword [ebp - 0x80], 0
jl 0x52f133
dec dword [ebp - 0x80]
jmp 0x52f167
cmp dword [ebp - 0x94], 1
jne 0x52f3b7
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x84]
jle 0x52f3b7
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.005bd358
dec eax
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x158]
push eax
call fcn.00539564
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
mov ecx, dword [edx + 0x18]
lea edx, [ebp - 0x114]
call fcn.00524b50
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.00520334
mov ebx, 1
cmp dword [ebp - 0x24], 0
je 0x52f3b7
jmp 0x52f1d2
inc ebx
mov eax, dword [ebp - 0x24]
call fcn.0040351c
cmp ebx, eax
jg 0x52f1f2
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
jne 0x52f1d1
lea eax, [ebp - 0x28]
call fcn.00403274
jmp 0x52f21d
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 0x52f23d
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
je 0x52f1fc
call fcn.00658fe8
sub eax, dword [ebp - 0x98]
cmp eax, 0x32
jl 0x52f26e
mov dword [ebp - 0x80], 0xffffffff
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x84], eax
jmp 0x52f3b7
cmp dword [ebp - 0x28], 0
je 0x52f3a7
mov eax, dword [ebp - 0xa8]
cmp edi, dword [eax + 0x258]
jne 0x52f29b
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x25c]
inc eax
cmp ebx, eax
je 0x52f3a7
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 0x52f2bf
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 0x52f3a6
mov eax, dword [0x66fffc]
mov byte [eax + 0x2d], 0
mov esi, ebx
jmp 0x52f380
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi - 1], 0x20
jne 0x52f39d
lea eax, [ebp - 0x28]
mov edx, 0x52fafc
call fcn.00403524
inc esi
jmp 0x52f324
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 0x52f344
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + esi - 1]
mov edx, dword [0x66fffc]
cmp byte [edx + eax], 0
je 0x52f303
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 0x52f380
mov eax, dword [ebp - 0x64]
shl eax, 3
add eax, dword [ebp - 0x54]
inc dword [eax + 4]
cmp dword [ebp - 0x68], 0xffffffff
je 0x52f37a
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 0x52f39d
mov eax, dword [ebp - 0x24]
call fcn.0040351c
cmp esi, eax
jle 0x52f2e5
mov eax, dword [0x66fffc]
mov byte [eax + 0x2d], 1
inc ebx
mov eax, dword [ebp - 0x24]
call fcn.0040351c
cmp ebx, eax
jle 0x52f1d2
inc dword [ebp - 0x94]
cmp dword [ebp - 0x94], 2
jne 0x52f11c
cmp dword [ebp - 0x80], 0
jge 0x52f114
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x84]
jg 0x52f114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x24]
dec eax
test eax, eax
jle 0x52f487
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 0x52f47e
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.0052dbd4
pop ecx
test al, al
je 0x52f475
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 0x52f423
inc ebx
dec dword [ebp - 0xc0]
jne 0x52f40c
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 0x52f508
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 0x52f4a9
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 0x52f54a
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 0x52f52a
push ebp
mov eax, dword [ebp - 0x88]
call fcn.0052ddd0
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 0
jl 0x52f619
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 [0x66ebb0]
add eax, dword [edx + 0x64]
cmp esi, eax
jge 0x52f60f
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.0061f000
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 0x52f5ed
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 0x52f60f
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 0x52f5d1
dec ebx
cmp ebx, 0xffffffff
jne 0x52f56a
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.006538a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x24]
dec ebx
cmp ebx, 1
jl 0x52f71d
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.00653944
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x52f714
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x9c]
dec edx
mov eax, dword [ebp - 0xc]
call fcn.00654748
mov eax, dword [ebp - 0xc]
call fcn.006541d0
test al, al
jne 0x52f6aa
mov eax, dword [ebp - 8]
call fcn.0040351c
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00653f78
test eax, eax
je 0x52f6ae
xor eax, eax
jmp 0x52f6b0
mov al, 1
mov byte [ebp - 0xa0], al
mov esi, ebx
dec esi
cmp esi, 0
jl 0x52f714
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.006540e0
test eax, eax
jne 0x52f70e
cmp byte [ebp - 0x9f], 0
jne 0x52f6ff
mov eax, dword [ebp - 0x50]
call fcn.006541d0
test al, al
je 0x52f70e
cmp byte [ebp - 0xa0], 0
jne 0x52f70e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x52f714
dec esi
cmp esi, 0xffffffff
jne 0x52f6be
dec ebx
test ebx, ebx
jne 0x52f642
call fcn.006538f0
jmp 0x52f739
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 0x52f724
cmp dword [ebp - 0x88], 1
jne 0x52f75a
xor eax, eax
call fcn.0062df9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x24], 0
jg 0x52f778
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
call fcn.00520228
test al, al
jne 0x52f77e
cmp dword [ebp - 0x18], 0
je 0x52f798
inc dword [ebp - 0x88]
add dword [ebp - 0xdc], 4
cmp dword [ebp - 0x88], 2
jne 0x52e28b
cmp dword [ebp - 0x18], 0
je 0x52fa67
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 0x52fa1f
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 0x52f81a
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 0x52fa15
cmp dword [ebp - 0x64], 0xffffffff
je 0x52f82b
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x66e8a8]
mov ax, word [eax + 0xa9]
mov word [ebp - 0x5e], ax
mov eax, dword [0x66e8a8]
mov dx, word [0x52fb00]
not edx
and dx, word [eax + 0xa9]
mov eax, dword [0x66e8a8]
mov word [eax + 0xa9], 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.00528088
test al, al
jne 0x52f896
mov byte [ebp - 0xa1], 1
jmp 0x52f960
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x18]
call fcn.0064d604
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x18c]
push eax
mov ecx, 0x52fb0c
mov edx, 0x52fafc
mov eax, dword [ebp - 0xc]
call fcn.00654804
mov eax, dword [ebp - 0x18c]
mov ecx, 0x52fb0c
mov edx, 0x52fb18
call fcn.00654804
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0xd8]
call fcn.0064f34c
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x24], 1
jne 0x52f905
mov byte [ebp - 0xa1], 0
jmp 0x52f955
mov byte [ebp - 0xa1], 1
mov eax, dword [ebp - 0xd8]
mov esi, dword [eax + 0x24]
dec esi
cmp esi, 0
jl 0x52f955
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.00528088
test al, al
je 0x52f94f
mov byte [ebp - 0xa1], 0
jmp 0x52f955
dec esi
cmp esi, 0xffffffff
jne 0x52f91b
mov eax, dword [ebp - 0xd8]
call fcn.004028c0
mov eax, dword [0x66e8a8]
mov dx, word [ebp - 0x5e]
mov word [eax + 0xa9], dx
cmp byte [ebp - 0xa1], 0
je 0x52fa15
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 0x52f9e6
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 0x52f9dd
mov dword [ebp - 0x70], esi
jmp 0x52f9e6
inc esi
dec dword [ebp - 0xc0]
jne 0x52f9b5
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x5c]
call fcn.0064fcec
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
inc eax
jne 0x52fa15
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.0064f5d4
dec ebx
cmp ebx, 0xffffffff
jne 0x52f7be
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.0052ddd0
pop ecx
jmp 0x52fa56
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 0x52fa41
mov eax, dword [ebp - 0x10]
call fcn.004028c0
mov eax, dword [ebp - 0x14]
call fcn.004028c0
mov eax, dword [ebp - 0x20]
call fcn.0064edac
mov eax, dword [0x66ebf4]
dec dword [eax]
mov al, 2
call fcn.0062df9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52fad2
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