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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], eax
mov eax, 0x530718
call fcn.0050f344
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0xb4], edx
lea esi, [ebp - 0x160]
mov ecx, dword [ebp - 0xb4]
mov edi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004322c8
pop ecx
mov byte [ebp + eax - 0x161], 0
mov edx, dword [ebp - 0xb4]
push edx
call fcn.004322c8
pop ecx
add dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.00408de8
pop ecx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004322c8
pop ecx
add dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
push edx
call fcn.00408de8
pop ecx
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.004322c8
pop ecx
add dword [ebp - 0xb4], eax
mov word [ebp - 0x48], 8
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xb4]
call fcn.0051ac20
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
call fcn.0043ae48
mov dword [ebp - 0xb0], eax
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0051ad80
mov word [ebp - 0x48], 0x14
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x18]
call fcn.0051ac20
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x79c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xb8], eax
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0051ad80
cmp dword [ebp - 0xb8], 0
jge 0x4081ad
mov word [ebp - 0x48], 0x20
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x1c]
call fcn.0051ac20
inc dword [ebp - 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x7b4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xbc], eax
dec dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0051ad80
cmp dword [ebp - 0xbc], 0
jge 0x4081ad
mov ecx, dword [ebp - 0x58]
mov dword fs:[0], ecx
jmp 0x408de0
mov eax, dword [ebp - 0x5c]
xor edx, edx
mov eax, dword [eax + 0x39c]
call fcn.004b8974
mov ecx, dword [ebp - 0x5c]
xor edx, edx
mov eax, dword [ecx + 0x3b0]
call fcn.004b8974
mov ecx, dword [ebp - 0x5c]
xor edx, edx
mov eax, dword [ecx + 0x3c0]
call fcn.004b8974
mov ecx, dword [ebp - 0x5c]
xor edx, edx
mov eax, dword [ecx + 0x3ac]
call fcn.004b8974
cmp dword [ebp - 0x64], 0
je 0x408244
mov dl, 1
mov eax, dword [0x4c6a38]
call fcn.004cce04
mov dword [0x55002c], eax
mov dl, 6
mov eax, dword [0x55002c]
call fcn.004ce4bc
mov edx, 0x320
mov eax, dword [0x55002c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 0x258
mov eax, dword [0x55002c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
xor edx, edx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xb0], edx
mov dl, 1
mov eax, dword [0x52bf50]
call fcn.0052c1e0
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xb8], 0
jl 0x408299
push 0
mov dl, 1
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x44a1a8]
mov ecx, dword [ecx + 0x7b0]
call fcn.0044eab4
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x8d4], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x7a0]
mov eax, dword [ebp - 0xb8]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xc4], edx
jmp 0x4082da
cmp dword [ebp - 0xbc], 0
jl 0x4082da
push 0
mov dl, 1
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x44a1a8]
mov ecx, dword [ecx + 0x7c8]
call fcn.0044eab4
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x8d4], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x7b8]
mov eax, dword [ebp - 0xbc]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xc4], edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x8d4]
xor ecx, ecx
mov edx, dword [ebp - 0xc4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x8d4]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x84]
add eax, eax
push eax
call fcn.0050e2b8
pop ecx
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0x84]
add edx, edx
push edx
call fcn.0050e2b8
pop ecx
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x84]
add ecx, ecx
push ecx
call fcn.0050e2b8
pop ecx
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x84]
shl eax, 2
push eax
call fcn.0050e2b8
pop ecx
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0x84]
shl edx, 2
push edx
call fcn.0050e2b8
pop ecx
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
add ecx, ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
add ecx, ecx
mov edx, dword [ebp - 0xcc]
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
add ecx, ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
shl ecx, 2
mov edx, dword [ebp - 0xd4]
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
shl ecx, 2
mov edx, dword [ebp - 0xd8]
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 8]
xor eax, eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xac], 0
je 0x4084f0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x8d4]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 0xac], 0x3d0900
jge 0x4084d2
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x5c]
call fcn.004135a4
mov dword [ebp - 0xdc], 1
jmp 0x4084f0
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc4]
call fcn.004137dc
mov dword [ebp - 0xdc], 2
mov ecx, dword [ebp - 0x5c]
mov byte [ecx + 0x8dc], 1
mov eax, dword [ebp - 0x5c]
call fcn.00404690
mov byte [0x54f515], 1
mov byte [0x54f516], 1
xor edx, edx
mov dword [0x54f518], edx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0xe0], eax
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x74], eax
mov byte [0x550028], 0
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x84]
jge 0x408b6d
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x74]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x8d4]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x74]
movsx ecx, word [eax + edx*2]
sub ecx, 1
jb 0x40858c
je 0x408735
dec ecx
je 0x408910
jmp 0x408a9e
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x6e4]
call fcn.0044ec84
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [eax + 0x6e4]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x74]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x8d4]
mov eax, dword [eax + 0x6e4]
call fcn.0044e834
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x6e4]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x6e4]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp dword [ebp - 0x64], 0
jne 0x40864d
mov word [ebp - 0x48], 0x2c
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x2f8]
mov eax, dword [edx + 0x160]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
call fcn.004c8788
mov word [ebp - 0x48], 0
jmp 0x408728
mov word [ebp - 0x48], 0x38
mov eax, dword [ebp - 0xc0]
call fcn.0052ca9c
mov word [ebp - 0x48], 0
jmp 0x40867e
mov ecx, dword [ebp - 0xc0]
mov eax, dword [0x55002c]
push ecx
call fcn.004cd3cc
xor ecx, ecx
xor edx, edx
call fcn.004c8788
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x40c]
push edx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x408]
mov ecx, dword [0x55002c]
mov eax, dword [ebp - 0x5c]
call fcn.00431990
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x40c]
call fcn.004cd3cc
call fcn.004c8e28
push eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x40c]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x40c]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
mov eax, dword [ebp - 0xa0]
push eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
call fcn.004c8e28
push eax
call sub.gdi32.dll_BitBlt
xor edx, edx
mov dword [ebp - 0x94], edx
jmp 0x408a9e
cmp dword [ebp - 0x94], 0
jne 0x408a9e
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x6e4]
call fcn.0044ec84
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x74]
mov eax, dword [eax + 0x6e4]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x74]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x8d4]
mov eax, dword [eax + 0x6e4]
call fcn.0044e834
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x6e4]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x6e4]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp dword [ebp - 0x64], 0
jne 0x408822
mov word [ebp - 0x48], 0x44
mov edx, dword [ebp - 0xc0]
push edx
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xd0]
movsx ecx, word [eax + edx*2]
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x74]
add ecx, dword [ebp - 0xa4]
movsx edx, word [eax + edx*2]
mov eax, dword [ebp - 0x5c]
add edx, dword [ebp - 0xa0]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x160]
call fcn.004c8788
mov word [ebp - 0x48], 0
jmp 0x408a9e
mov word [ebp - 0x48], 0x50
mov eax, dword [ebp - 0xc0]
call fcn.0052ca9c
mov word [ebp - 0x48], 0
jmp 0x40884b
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x55002c]
push edx
call fcn.004cd3cc
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x74]
movsx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0x74]
movsx edx, word [edx + ebx*2]
call fcn.004c8788
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x40c]
push ecx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x408]
mov ecx, dword [0x55002c]
mov eax, dword [ebp - 0x5c]
call fcn.00431990
push 0xcc0020
push 0
push 0
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x40c]
call fcn.004cd3cc
call fcn.004c8e28
push eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x40c]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x40c]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
mov eax, dword [ebp - 0xa0]
push eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
call fcn.004c8e28
push eax
call sub.gdi32.dll_BitBlt
jmp 0x408a9e
cmp dword [ebp - 0x94], 0
je 0x408a9e
mov edx, dword [ebp - 0x74]
dec edx
mov dword [ebp - 0x78], edx
jmp 0x408a8c
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x78]
movsx edx, word [ecx + eax*2]
sub edx, 1
jb 0x40894d
je 0x408a7d
dec edx
je 0x408a89
jmp 0x408a89
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x6e4]
call fcn.0044ec84
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x6e4]
mov edx, dword [edx + ecx*4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x78]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x8d4]
mov eax, dword [eax + 0x6e4]
call fcn.0044e834
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x6e4]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x6e4]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp dword [ebp - 0x64], 0
jne 0x408a0b
mov word [ebp - 0x48], 0x5c
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x2f8]
mov eax, dword [edx + 0x160]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
call fcn.004c8788
mov word [ebp - 0x48], 0
jmp 0x408a89
mov eax, dword [ebp - 0xc0]
call fcn.0052ca9c
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x55002c]
push edx
call fcn.004cd3cc
xor ecx, ecx
xor edx, edx
call fcn.004c8788
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x40c]
push edx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x408]
mov ecx, dword [0x55002c]
mov eax, dword [ebp - 0x5c]
call fcn.00431990
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x40c]
push edx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x2f8]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [eax + 0x160]
call fcn.004c8788
jmp 0x408a89
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x94]
mov dword [ebp - 0x78], eax
dec dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
sub edx, dword [ebp - 0x94]
cmp edx, dword [ebp - 0x78]
jle 0x408929
mov ecx, dword [0x54a9f0]
mov eax, dword [ecx]
call fcn.004db894
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x74]
imul edx, dword [ebp - 0x90]
sub eax, edx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x90]
jg 0x408af7
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x90]
je 0x408aea
mov edx, dword [ebp - 0x90]
sub edx, dword [ebp - 0x68]
push edx
call sub.kernel32.dll_Sleep
inc dword [ebp - 0x74]
xor ecx, ecx
mov dword [ebp - 0x94], ecx
jmp 0x408b3d
mov eax, dword [ebp - 0x68]
cdq
idiv dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x68]
imul ecx, dword [ebp - 0x94]
sub eax, ecx
mov edx, dword [ebp - 0x90]
sub edx, eax
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x70], 0
je 0x408b33
mov ecx, dword [ebp - 0x70]
push ecx
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 0x94]
inc eax
add dword [ebp - 0x74], eax
cmp dword [0x54f518], 0
je 0x408b5e
cmp dword [ebp - 0xb0], 0
je 0x408b5e
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x3190], 1
jmp 0x408b6d
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x84]
jl 0x408546
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x84]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [ebp - 0x5c]
add edx, dword [ebp - 0xc4]
xor ecx, ecx
mov eax, dword [eax + 0x8d4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x6e4]
call fcn.0044ec84
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x84]
mov eax, dword [eax + 0x6e4]
mov edx, dword [edx + ecx*4 - 4]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x84]
mov eax, dword [edx + eax*4 - 4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x8d4]
mov eax, dword [eax + 0x6e4]
call fcn.0044e834
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x6e4]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x6e4]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp dword [ebp - 0x64], 0
jne 0x408c7c
mov eax, dword [ebp - 0xc0]
call fcn.0052ca9c
mov edx, dword [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x404]
call fcn.004cd3cc
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
call fcn.004c8788
mov eax, dword [ebp - 0x5c]
mov dl, 6
mov eax, dword [eax + 0x404]
call fcn.004ce4bc
mov ecx, dword [ebp - 0xc0]
push ecx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x2f8]
mov eax, dword [edx + 0x160]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
call fcn.004c8788
mov eax, dword [ebp - 0xdc]
dec eax
je 0x408c8a
dec eax
je 0x408c94
jmp 0x408c9c
mov eax, dword [ebp - 0x5c]
call fcn.00413afc
jmp 0x408c9c
mov eax, dword [ebp - 0x5c]
call fcn.00413b58
mov edx, dword [ebp - 0x5c]
mov byte [0x54f516], 0
mov byte [0x54f515], 0
mov byte [edx + 0x8dc], 0
mov eax, dword [ebp - 0x5c]
call fcn.00404690
cmp dword [ebp - 0x64], 0
je 0x408cf2
mov edx, dword [0x55002c]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x408cf2
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
mov word [ebp - 0x48], 0x74
mov edx, 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x48], 0x68
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x39c]
mov dl, 1
call fcn.004b8974
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [ecx + 0x3b0]
call fcn.004b8974
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [ecx + 0x3c0]
call fcn.004b8974
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [ecx + 0x3ac]
call fcn.004b8974
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x8d4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x408d65
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx]
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x48], 0x8c
mov edx, 3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x48], 0x80
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x408d95
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx]
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x48], 0xa4
mov edx, 3
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x48], 0x98
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0050e0f0
pop ecx
mov edx, dword [ebp - 0xd0]
push edx
call fcn.0050e0f0
pop ecx
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.0050e0f0
pop ecx
mov eax, dword [ebp - 0xd4]
push eax
call fcn.0050e0f0
pop ecx
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0050e0f0
pop ecx
mov ecx, dword [ebp - 0x58]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret