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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff48
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
call fcn.0040403c
mov ecx, 0x14
lea eax, [ebp - 0x90]
mov edx, dword [0x4010c4]
call fcn.004044d0
xor eax, eax
push ebp
push 0x54ddb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00403e88
test eax, eax
je 0x54dd68
mov byte [ebp - 0x25], 0
cmp dword [ebp - 8], 0
jne 0x54cf04
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0057186c
and eax, 0xff
imul eax, eax, 0xf5
mov eax, dword [eax + 0x58a0f2]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x54ddd4
call fcn.00404170
test eax, eax
setg byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x54cf2f
cmp byte [0x58a218], 0
jne 0x54cf48
cmp byte [0x58a30d], 0
jne 0x54cf48
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0xf5
cmp byte [eax + 0x58a123], 0
je 0x54cf62
cmp byte [ebp + 8], 0
jne 0x54cf62
push 0
mov ecx, dword [0x58a4ec]
mov edx, 0x54dde4
mov eax, dword [ebp - 0xc]
call fcn.00548058
jmp 0x54dd68
mov dl, 1
mov eax, dword [0x40f5f4]
call fcn.00402f78
mov dword [ebp - 0x34], eax
mov dl, 1
mov eax, dword [0x40f5f4]
call fcn.00402f78
mov dword [ebp - 0x30], eax
mov dl, 1
mov eax, dword [0x40f5f4]
call fcn.00402f78
mov dword [ebp - 0x38], eax
xor edx, edx
push ebp
push 0x54dd5e
push dword fs:[edx]
mov dword fs:[edx], esp
xor ebx, ebx
push 0
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0xc]
dec ecx
mov edx, dword [0x585ebc]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
call fcn.00567308
cmp byte [ebp - 1], 0
je 0x54cfd8
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.005391ac
mov cl, 1
mov dl, 2
mov eax, dword [ebp - 0xc]
call fcn.005391ac
jmp 0x54cfe8
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0xc]
mov cl, 1
mov eax, dword [ebp - 0xc]
call fcn.005391ac
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x54d663
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
xor edx, edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x24]
call fcn.00403e88
cmp eax, 2
jle 0x54d114
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0x5b
jne 0x54d114
mov eax, dword [ebp - 0x24]
call fcn.00403e88
mov edx, dword [ebp - 0x24]
cmp byte [edx + eax - 1], 0x5d
jne 0x54d114
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00403ca4
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, 1
call fcn.004040cc
mov eax, dword [ebp - 0x20]
call fcn.00403e88
mov edx, eax
lea eax, [ebp - 0x20]
mov ecx, 1
call fcn.004040cc
lea eax, [ebp - 0x94]
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x58a12c]
call fcn.00403ed4
mov eax, dword [ebp - 0x94]
call fcn.004576b4
test al, al
je 0x54d114
mov dl, 1
mov eax, dword [0x40f5f4]
call fcn.00402f78
mov esi, eax
lea eax, [ebp - 0x94]
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x58a12c]
call fcn.00403ed4
mov edx, dword [ebp - 0x94]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x54d108
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov edi, dword [eax]
call dword [edi + 0x54]
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x54d0df
mov eax, esi
call fcn.00402fa8
jmp 0x54d663
mov eax, dword [ebp - 0x24]
mov edx, 0x54de48
call fcn.00403f98
jne 0x54d17b
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x40]
jmp 0x54d16d
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x24]
mov edx, 0x54de54
call fcn.00403f98
je 0x54d154
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor edx, edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x24]
mov edx, 0x54de54
call fcn.00403f98
je 0x54d186
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x54d12d
jmp 0x54d186
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x54d2ea
mov byte [ebp - 0x25], 1
mov edx, dword [ebp - 0x24]
mov eax, 0x54de60
call fcn.00404170
test eax, eax
jle 0x54d272
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x54de6c
call fcn.00404170
mov esi, eax
mov edx, dword [ebp - 0x24]
mov eax, 0x54de60
call fcn.00404170
inc eax
sub esi, eax
push esi
mov edx, dword [ebp - 0x24]
mov eax, 0x54de60
call fcn.00404170
mov edx, eax
add edx, 2
mov eax, dword [ebp - 0x24]
pop ecx
call fcn.0040408c
push 1
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [0x585ebc]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
call fcn.004537ac
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x24]
call fcn.00403ca4
push 1
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [0x585ebc]
mov ecx, dword [ecx]
mov edx, 0x54de6c
mov eax, dword [ebp - 0x2c]
call fcn.004537ac
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x2c]
call fcn.00403ca4
push 1
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [0x585ebc]
mov ecx, dword [ecx]
mov edx, 0x54de78
mov eax, dword [ebp - 0x2c]
call fcn.004537ac
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x2c]
call fcn.00403ca4
jmp 0x54d27f
lea eax, [ebp - 0x2c]
mov edx, 0x54de84
call fcn.00403ca4
inc ebx
lea eax, [ebp + ebx*4 - 0x94]
push eax
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov eax, 0x54dea0
call fcn.00453dec
test al, al
je 0x54d2b5
mov eax, dword [ebp + ebx*4 - 0x94]
mov edx, dword [0x585ebc]
mov edx, dword [edx]
call fcn.00403f98
jne 0x54d2bf
call fcn.00403720
jmp 0x54dd68
push 1
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp + ebx*4 - 0x94]
mov edx, 0x54deb0
mov eax, dword [ebp - 0x24]
call fcn.004537ac
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x24]
call fcn.00403ca4
mov edx, dword [ebp - 0x24]
mov eax, 0x54deb0
call fcn.00404170
test eax, eax
jg 0x54d196
cmp byte [ebp - 0x25], 0
je 0x54d3ab
mov dword [ebp - 0x1c], 0x14
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x1c]
call fcn.00408f24
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov edx, 0x54debc
call fcn.00403ed4
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x24]
call fcn.00404170
test eax, eax
jle 0x54d39a
push 1
lea eax, [ebp - 0x94]
push eax
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x1c]
call fcn.00408f24
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x98]
mov edx, 0x54debc
call fcn.00403ed4
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x24]
call fcn.004537ac
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x24]
call fcn.00403ca4
dec dword [ebp - 0x1c]
sub dword [ebp - 0x40], 4
cmp dword [ebp - 0x1c], 0
jne 0x54d316
push 0
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2f0]
mov edx, 0x54dec8
mov eax, dword [ebp - 0x24]
call fcn.004537ac
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x24]
call fcn.00403ca4
mov edx, dword [ebp - 0x24]
mov eax, 0x54ded4
call fcn.00404170
test eax, eax
jle 0x54d423
push 0
lea eax, [ebp - 0x94]
push eax
call fcn.00430028
lea edx, [ebp - 0x98]
call fcn.0042fb48
mov ecx, dword [ebp - 0x98]
mov edx, 0x54ded4
mov eax, dword [ebp - 0x24]
call fcn.004537ac
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x24]
call fcn.00403ca4
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0xf5
mov eax, dword [eax + 0x58a0fa]
call fcn.004da994
test eax, eax
je 0x54d605
mov edx, dword [ebp - 0x24]
mov eax, 0x54dee0
call fcn.00404170
test eax, eax
jg 0x54d477
mov edx, dword [ebp - 0x24]
mov eax, 0x54deec
call fcn.00404170
test eax, eax
jg 0x54d477
mov edx, dword [ebp - 0x24]
mov eax, 0x54def8
call fcn.00404170
test eax, eax
jle 0x54d605
mov eax, dword [ebp - 8]
imul esi, dword [eax + 0xc], 0xf5
mov byte [esi + 0x58a171], 1
mov eax, dword [esi + 0x58a0fa]
call fcn.004da328
dec eax
test eax, eax
jl 0x54d5f2
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0xf5
mov eax, dword [eax + 0x58a0fa]
mov edx, dword [ebp - 0x18]
call fcn.004da914
cmp byte [eax], 0
je 0x54d5e6
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0xf5
mov eax, dword [eax + 0x58a0fa]
mov edx, dword [ebp - 0x18]
call fcn.004da914
cmp byte [eax + 0x36], 0
je 0x54d5e6
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0xf5
mov eax, dword [eax + 0x58a0fa]
mov edx, dword [ebp - 0x18]
call fcn.004da914
mov eax, dword [eax + 4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0xf5
mov eax, dword [eax + 0x58a0fa]
mov edx, dword [ebp - 0x18]
call fcn.004da914
mov eax, dword [eax + 0x24]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0xf5
mov eax, dword [eax + 0x58a0fa]
mov edx, dword [ebp - 0x18]
call fcn.004da914
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa4]
push eax
push 2
lea eax, [ebp - 0x94]
push eax
mov eax, 0x54dee0
mov dword [ebp - 0xb0], eax
mov eax, 0x54deec
mov dword [ebp - 0xac], eax
mov eax, 0x54def8
mov dword [ebp - 0xa8], eax
lea edx, [ebp - 0xb0]
mov ecx, 2
mov eax, dword [ebp - 0x24]
call fcn.004e6eb0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x54d5db
inc esi
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 0x14]
dec esi
jne 0x54d5b6
push ebp
call fcn.0054ce38
pop ecx
test al, al
jne 0x54d5f2
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x54d4a7
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0xf5
mov byte [eax + 0x58a171], 0
jmp 0x54d64f
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x54d64f
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x54d628
cmp byte [0x58a370], 0
jne 0x54d673
push ebp
call fcn.0054ce38
pop ecx
test al, al
jne 0x54d673
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x54cff8
cmp byte [0x58a370], 0
jne 0x54d687
push ebp
call fcn.0054ce38
pop ecx
test al, al
je 0x54d691
call fcn.00403720
jmp 0x54dd68
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x54dc97
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x54d878
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x54de6c
call fcn.00404170
mov ebx, eax
mov edx, dword [ebp - 0x24]
mov eax, 0x54df04
call fcn.00404170
inc eax
sub ebx, eax
sub ebx, 2
push ebx
mov edx, dword [ebp - 0x24]
mov eax, 0x54df04
call fcn.00404170
mov edx, eax
add edx, 3
mov eax, dword [ebp - 0x24]
pop ecx
call fcn.0040408c
mov byte [ebp - 0x25], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
dec eax
jne 0x54d724
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0056c1a0
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0x5e0]
jmp 0x54d737
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0056c388
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0x5e4]
mov eax, dword [edi + 0x28]
call fcn.0044dfa0
mov esi, eax
dec esi
sub esi, 2
jl 0x54d828
inc esi
mov ebx, 2
mov eax, dword [edi + 0x28]
mov edx, ebx
call fcn.0044dfb0
mov eax, dword [eax + 0x24]
lea edx, [ebp - 0x94]
call fcn.004089b8
mov eax, dword [ebp - 0x94]
push eax
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x2c]
call fcn.004089b8
mov edx, dword [ebp - 0x98]
pop eax
call fcn.00403f98
jne 0x54d820
mov byte [ebp - 0x25], 1
mov eax, dword [edi + 0x28]
mov edx, ebx
call fcn.0044dfb0
mov edx, dword [eax + 0x4c]
lea eax, [ebp - 0x20]
call fcn.00403ca4
mov edx, dword [ebp - 0x20]
mov eax, 0x54df10
call fcn.00404170
test eax, eax
jle 0x54d7db
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebp - 0x20]
mov eax, 0x54df10
call fcn.00404170
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040408c
push 1
lea eax, [ebp - 0x94]
push eax
push 0x54df04
push dword [ebp - 0x2c]
push 0x54de6c
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.00403f48
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.004537ac
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x24]
call fcn.00403ca4
inc ebx
dec esi
jne 0x54d751
cmp byte [ebp - 0x25], 0
jne 0x54d878
push 1
lea eax, [ebp - 0x94]
push eax
push 0x54df04
push dword [ebp - 0x2c]
push 0x54de6c
lea eax, [ebp - 0x98]
mov edx, 3
call fcn.00403f48
mov edx, dword [ebp - 0x98]
mov ecx, dword [0x585ebc]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x24]
call fcn.004537ac
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x24]
call fcn.00403ca4
mov edx, dword [ebp - 0x24]
mov eax, 0x54df04
call fcn.00404170
test eax, eax
jg 0x54d6c0
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x24]
call fcn.004089b8
mov eax, dword [ebp - 0x94]
mov edx, 0x54df1c
call fcn.00403f98
jne 0x54d8e1
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0xf5
cmp dword [eax + 0x58a160], 0
jne 0x54d8e1
mov dl, 1
mov eax, dword [0x40f5f4]
call fcn.00402f78
mov edx, dword [ebp - 8]
imul edx, dword [edx + 0xc], 0xf5
mov dword [edx + 0x58a160], eax
jmp 0x54dc77
lea eax, [ebp - 0x98]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040408c
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.004089b8
mov eax, dword [ebp - 0x94]
mov edx, 0x54df2c
call fcn.00403f98
jne 0x54d946
lea eax, [ebp - 0x24]
mov ecx, 4
mov edx, 1
call fcn.004040cc
push 0
push 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00566478
jmp 0x54dc77
lea eax, [ebp - 0x98]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040408c
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.004089b8
mov eax, dword [ebp - 0x94]
mov edx, 0x54ddd4
call fcn.00403f98
jne 0x54d9a9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x460]
cmp eax, dword [ebp - 8]
jne 0x54d9a1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x464]
mov dword [ebp - 8], eax
jmp 0x54dc77
mov dword [ebp - 8], eax
jmp 0x54dc77
lea eax, [ebp - 0x98]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040408c
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.004089b8
mov eax, dword [ebp - 0x94]
mov edx, 0x54df3c
call fcn.00403f98
jne 0x54dac4
lea eax, [ebp - 0x24]
mov ecx, 1
mov edx, 1
call fcn.004040cc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2f0]
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.0055acbc
mov eax, dword [ebp - 0x24]
call fcn.00403e88
cmp eax, 4
jle 0x54da33
lea eax, [ebp - 0x24]
mov ecx, 5
mov edx, 1
call fcn.004040cc
jmp 0x54da40
lea eax, [ebp - 0x24]
mov edx, 0x54df4c
call fcn.00403ca4
push 1
mov eax, dword [ebp - 0x24]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00552ba8
mov eax, dword [ebp - 8]
imul ebx, dword [eax + 0xc], 0xf5
cmp dword [ebx + 0x58a160], 0
je 0x54dc77
mov eax, dword [ebx + 0x58a138]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x54dc77
inc esi
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 8]
imul ebx, dword [eax + 0xc], 0xf5
mov eax, dword [ebx + 0x58a138]
mov edx, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebx + 0x58a160]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 0x1c]
dec esi
jne 0x54da8a
jmp 0x54dc77
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x24]
call fcn.004089b8
mov edx, dword [ebp - 0x94]
mov eax, 0x54df58
call fcn.00404170
dec eax
jne 0x54db44
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2f0]
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.0055acbc
mov eax, dword [ebp - 0x24]
call fcn.00403e88
cmp eax, 4
jle 0x54db1d
lea eax, [ebp - 0x24]
mov ecx, 5
mov edx, 1
call fcn.004040cc
jmp 0x54db2a
lea eax, [ebp - 0x24]
mov edx, 0x54df4c
call fcn.00403ca4
push 1
mov eax, dword [ebp - 0x24]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00552ba8
jmp 0x54dc77
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x24]
call fcn.004089b8
mov eax, dword [ebp - 0x94]
mov edx, 0x54df68
call fcn.00403f98
jne 0x54db99
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00547adc
mov dl, 3
mov eax, dword [ebp - 0xc]
call fcn.00566770
mov al, byte [0x58a598]
or al, byte [0x58a370]
jne 0x54dc77
push ebp
call fcn.0054ce38
pop ecx
test al, al
je 0x54db6e
jmp 0x54dc77
lea eax, [ebp - 0x98]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040408c
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.004089b8
mov eax, dword [ebp - 0x94]
mov edx, 0x54df78
call fcn.00403f98
jne 0x54dc6a
lea eax, [ebp - 0x24]
mov ecx, 6
mov edx, 1
call fcn.004040cc
push 0
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 0xb
lea edx, [ebp - 0xb8]
xor ecx, ecx
mov eax, 0x54df88
call fcn.00409ffc
mov edx, dword [ebp - 0x94]
mov ecx, dword [0x58a4f0]
mov eax, dword [ebp - 0xc]
call fcn.00548058
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.004090fc
imul ebx, eax, 0x3e8
call sub.kernel32.dll_GetTickCount
add ebx, eax
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00566770
call sub.kernel32.dll_GetTickCount
cmp ebx, eax
setle al
or al, byte [0x58a370]
jne 0x54dc77
push ebp
call fcn.0054ce38
pop ecx
test al, al
je 0x54dc41
jmp 0x54dc77
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004a728c
cmp byte [0x58a370], 0
jne 0x54dc97
push ebp
call fcn.0054ce38
pop ecx
test al, al
jne 0x54dc97
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x54d6ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54dd68
mov eax, dword [ebp - 0x34]
call fcn.00402fa8
mov eax, dword [ebp - 0x30]
call fcn.00402fa8
mov eax, dword [ebp - 0x38]
call fcn.00402fa8
cmp byte [ebp - 1], 0
je 0x54dcdc
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.005391ac
xor ecx, ecx
mov dl, 2
mov eax, dword [ebp - 0xc]
call fcn.005391ac
jmp 0x54dcec
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0xc]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.005391ac
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x40], 0x58a255
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
test eax, eax
je 0x54dd51
xor edx, edx
push ebp
push 0x54dd4a
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [0x585ebc]
mov edx, dword [edx]
push edx
push 0
push 0
push 0
push 0
mov ecx, eax
mov edx, dword [0x585ebc]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
call fcn.0054c9e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54dd51
mov eax, dword [ebp - 0x40]
call fcn.00455a78
ret
add dword [ebp - 0x40], 0xf5
dec dword [ebp - 0x18]
jne 0x54dcfa
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54ddc0
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.00403c30
lea eax, [ebp - 0x90]
mov ecx, 0x14
mov edx, dword [0x4010c4]
call fcn.0040459c
lea eax, [ebp - 0x2c]
call fcn.00403c0c
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00403c30
lea eax, [ebp - 0x10]
call fcn.00403c0c
ret