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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov eax, 0x52a644
call fcn.00508d0c
mov edx, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0xdc], 0x548650
mov word [ebp - 0xa6], 0
xor eax, eax
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov edx, 1
shl edx, cl
and edx, dword [ebp - 0x58]
je 0x408840
mov ax, 3
mov ecx, dword [ebp - 0x5c]
add ecx, ecx
shl ax, cl
or word [ebp - 0xa6], ax
inc dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 8
jl 0x40881e
mov edx, dword [ebp - 0xdc]
mov ax, word [ebp - 0xa6]
mov word [edx], ax
inc dword [ebp - 0x58]
add dword [ebp - 0xdc], 2
cmp dword [ebp - 0x58], 0x100
jl 0x408810
mov edx, dword [ebp - 0x9c]
xor eax, eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x15c]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x9c]
push eax
call fcn.0042dde8
pop ecx
mov byte [ebp + eax - 0x15d], 0
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0042dde8
pop ecx
add dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00408748
pop ecx
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x9c]
push eax
call fcn.0042dde8
pop ecx
add dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00408748
pop ecx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.0042dde8
pop ecx
add dword [ebp - 0x9c], eax
mov word [ebp - 0x30], 8
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x9c]
call fcn.005145e8
inc dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [ebp - 0x44]
call fcn.00436498
mov dword [ebp - 0x94], eax
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00514748
mov word [ebp - 0x30], 0x14
lea edx, [ebp - 0x15c]
lea eax, [ebp - 8]
call fcn.005145e8
inc dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x74c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xa0], eax
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00514748
cmp dword [ebp - 0xa0], 0
jge 0x4089dd
mov word [ebp - 0x30], 0x20
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0xc]
call fcn.005145e8
inc dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x764]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xa4], eax
dec dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00514748
cmp dword [ebp - 0xa4], 0
jge 0x4089dd
mov ecx, dword [ebp - 0x40]
mov dword fs:[0], ecx
jmp 0x4094cb
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x328]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x32c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x33c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [0x525918]
call fcn.00525ba8
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x750]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xb0], ecx
cmp dword [ebp - 0xa0], 0
jl 0x408a7a
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x760]
mov dl, 1
mov eax, dword [0x478be8]
call fcn.0047d4f4
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x884], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x750]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xb0], ecx
jmp 0x408abb
cmp dword [ebp - 0xa4], 0
jl 0x408abb
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x778]
mov dl, 1
mov eax, dword [0x478be8]
call fcn.0047d4f4
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x884], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x768]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x884]
xor ecx, ecx
mov edx, dword [ebp - 0xb0]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x884]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x74]
shl eax, 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x74], 0x21
jne 0x408b80
mov dword [ebp - 0x98], 0x8235
cmp dword [ebp - 0x74], 0xf
jne 0x408b90
mov dword [ebp - 0x98], 0x1046a
mov edx, dword [ebp - 0x68]
add edx, edx
push edx
call fcn.00507c80
pop ecx
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x68]
add ecx, ecx
push ecx
call fcn.00507c80
pop ecx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x68]
add eax, eax
push eax
call fcn.00507c80
pop ecx
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0x68]
shl edx, 2
push edx
call fcn.00507c80
pop ecx
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0x68]
shl ecx, 2
push ecx
call fcn.00507c80
pop ecx
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
add ecx, ecx
mov edx, dword [ebp - 0xb4]
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
add ecx, ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
add ecx, ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
shl ecx, 2
mov edx, dword [ebp - 0xc0]
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x68]
shl ecx, 2
mov edx, dword [ebp - 0xc4]
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0x90], 0
je 0x408cdc
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x8c]
add edx, dword [ebp - 0xb0]
mov eax, dword [ecx + 0x884]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 0x90], 0x3d0900
jge 0x408cbe
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x44]
call fcn.00412cf8
mov dword [ebp - 0xc8], 1
jmp 0x408cdc
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x44]
add edx, dword [ebp - 0xb0]
call fcn.00412f30
mov dword [ebp - 0xc8], 2
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x88c], 1
mov eax, dword [ebp - 0x44]
call fcn.004042b0
mov byte [0x547b35], 1
mov byte [0x547b36], 1
xor edx, edx
mov dword [0x547b38], edx
mov dl, 1
mov eax, dword [0x4c0400]
call fcn.004c67cc
mov dword [ebp - 0xcc], eax
mov dl, 6
mov eax, dword [ebp - 0xcc]
call fcn.004c7e84
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x7c]
add edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x80]
add edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dl, 1
mov eax, dword [0x4c0400]
call fcn.004c67cc
mov dword [ebp - 0xd0], eax
mov dl, 6
mov eax, dword [ebp - 0xd0]
call fcn.004c7e84
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x44]
mov dl, 1
mov byte [eax + 0x26384], dl
mov ecx, dword [ebp - 0x44]
cmp byte [ecx + 0x26384], 0
je 0x408daf
mov dl, 7
mov eax, dword [ebp - 0xcc]
call fcn.004c7e84
mov dl, 7
mov eax, dword [ebp - 0xd0]
call fcn.004c7e84
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x3dc]
call fcn.004c6d94
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.004c1cb4
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x3dc]
call fcn.004c6d94
mov eax, dword [eax + 0x14]
mov edx, 0xffffff
call fcn.004c1b98
push 0x258
lea ecx, [ebp - 0x16c]
push ecx
mov ecx, 0x320
xor edx, edx
xor eax, eax
call fcn.0047952c
lea eax, [ebp - 0x16c]
push eax
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x3dc]
call fcn.004c6d94
pop edx
call fcn.004c2278
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0xd8], eax
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x58], eax
mov byte [0x548648], 0
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x68]
jge 0x409315
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x58]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x44]
add edx, dword [ebp - 0xb0]
mov eax, dword [ecx + 0x884]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x58]
movsx ecx, word [eax + edx*2]
sub ecx, 1
jb 0x408e85
je 0x408fab
dec ecx
je 0x4090ec
jmp 0x40925f
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x694]
call fcn.0047d6c4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + 0x694]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x58]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x884]
mov eax, dword [eax + 0x694]
call fcn.0047d274
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x694]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov word [ebp - 0x30], 0x2c
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x694]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov word [ebp - 0x30], 0
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xd0]
call fcn.004c6d94
xor ecx, ecx
xor edx, edx
call fcn.004c2150
cmp word [ebp - 0x2e], 0
je 0x408f27
ret
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x44]
call fcn.004094e4
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xcc]
call fcn.004c6d94
call fcn.004c27f0
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov eax, dword [ebp - 0x84]
push eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
call fcn.004c27f0
push eax
call sub.gdi32.dll_BitBlt
xor edx, edx
mov dword [ebp - 0x78], edx
jmp 0x40925f
cmp dword [ebp - 0x78], 0
jne 0x40925f
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x694]
call fcn.0047d6c4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x58]
mov eax, dword [eax + 0x694]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x58]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x884]
mov eax, dword [eax + 0x694]
call fcn.0047d274
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x694]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov word [ebp - 0x30], 0x38
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x694]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov word [ebp - 0x30], 0
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xd0]
call fcn.004c6d94
mov edx, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x58]
movsx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0x58]
movsx edx, word [edx + ebx*2]
call fcn.004c2150
cmp word [ebp - 0x2e], 0
je 0x40906d
ret
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x44]
call fcn.004094e4
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xcc]
call fcn.004c6d94
call fcn.004c27f0
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov eax, dword [ebp - 0x84]
push eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
call fcn.004c27f0
push eax
call sub.gdi32.dll_BitBlt
jmp 0x40925f
cmp dword [ebp - 0x78], 0
je 0x40925f
mov edx, dword [ebp - 0x58]
dec edx
mov dword [ebp - 0x5c], edx
jmp 0x409250
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x5c]
movsx edx, word [ecx + eax*2]
sub edx, 1
jb 0x409126
je 0x409244
dec edx
je 0x40924d
jmp 0x40924d
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x694]
call fcn.0047d6c4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax + 0x694]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x5c]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x884]
mov eax, dword [eax + 0x694]
call fcn.0047d274
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x694]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov word [ebp - 0x30], 0x44
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x694]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov word [ebp - 0x30], 0
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xd0]
call fcn.004c6d94
xor ecx, ecx
xor edx, edx
call fcn.004c2150
cmp word [ebp - 0x2e], 0
je 0x4091c8
ret
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x44]
call fcn.004094e4
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xcc]
call fcn.004c6d94
call fcn.004c27f0
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov eax, dword [ebp - 0x84]
push eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
call fcn.004c27f0
push eax
call sub.gdi32.dll_BitBlt
jmp 0x40924d
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x78]
mov dword [ebp - 0x5c], edx
dec dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x78]
cmp ecx, dword [ebp - 0x5c]
jle 0x409102
mov eax, dword [0x543010]
mov eax, dword [eax]
call fcn.004d525c
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x58]
imul dword [ebp - 0x98]
mov ebx, 0x3e8
cdq
idiv ebx
sub ecx, eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x74]
jg 0x4092b4
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x74]
je 0x4092aa
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x4c]
push ecx
call sub.kernel32.dll_Sleep
inc dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x78], eax
jmp 0x4092e8
mov eax, dword [ebp - 0x4c]
cdq
idiv dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x4c]
imul ecx, dword [ebp - 0x78]
sub eax, ecx
mov edx, dword [ebp - 0x74]
sub edx, eax
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0
je 0x4092e1
mov ecx, dword [ebp - 0x54]
push ecx
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 0x78]
inc eax
add dword [ebp - 0x58], eax
cmp dword [0x547b38], 0
je 0x409309
cmp dword [ebp - 0x94], 0
je 0x409309
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x3040], 1
jmp 0x409315
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x68]
jl 0x408e3f
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0x68]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [ebp - 0x44]
add edx, dword [ebp - 0xb0]
xor ecx, ecx
mov eax, dword [eax + 0x884]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x694]
call fcn.0047d6c4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x68]
mov eax, dword [eax + 0x694]
mov edx, dword [edx + ecx*4 - 4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x68]
mov eax, dword [edx + eax*4 - 4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x884]
mov eax, dword [eax + 0x694]
call fcn.0047d274
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x694]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x694]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0xc8]
dec edx
je 0x4093bb
dec edx
je 0x4093c5
jmp 0x4093cd
mov eax, dword [ebp - 0x44]
call fcn.00413250
jmp 0x4093cd
mov eax, dword [ebp - 0x44]
call fcn.004132ac
mov edx, dword [ebp - 0x44]
mov byte [0x547b36], 0
mov byte [0x547b35], 0
mov byte [edx + 0x88c], 0
mov eax, dword [ebp - 0x44]
call fcn.004042b0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x328]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x32c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x33c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x884]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x409450
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov word [ebp - 0x30], 0x5c
mov edx, 3
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x30], 0x50
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x409480
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
mov word [ebp - 0x30], 0x74
mov edx, 3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x30], 0x68
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00507ab8
pop ecx
mov edx, dword [ebp - 0xbc]
push edx
call fcn.00507ab8
pop ecx
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.00507ab8
pop ecx
mov eax, dword [ebp - 0xc0]
push eax
call fcn.00507ab8
pop ecx
mov edx, dword [ebp - 0xc4]
push edx
call fcn.00507ab8
pop ecx
mov ecx, dword [ebp - 0x40]
mov dword fs:[0], ecx
mov esp, ebp
mov edi, dword [ebp - 0x178]
mov esi, dword [ebp - 0x174]
mov ebx, dword [ebp - 0x170]
pop ebp
ret