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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], 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 - 0x8c]
mov edx, dword [0x4010c4]
call fcn.004044d0
xor eax, eax
push ebp
push 0x551b70
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00403e88
test eax, eax
je 0x551b1f
mov byte [ebp - 0x25], 0
cmp dword [ebp - 8], 0
jne 0x550ce2
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00574f58
and eax, 0xff
imul eax, eax, 0x7b
mov eax, dword [eax*2 + 0x586282]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
mov eax, 0x551b88
call fcn.00404170
test eax, eax
setg byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x550d0d
cmp byte [0x5863a9], 0
jne 0x550d24
cmp byte [0x58649f], 0
jne 0x550d24
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0x7b
cmp byte [eax*2 + 0x5862b3], 0
je 0x550d3e
cmp byte [ebp + 8], 0
jne 0x550d3e
push 0
mov ecx, dword [0x586680]
mov edx, 0x551b98
mov eax, dword [ebp - 0xc]
call fcn.0054c904
jmp 0x551b1f
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 0x551b15
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 [0x581dd8]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
call fcn.0056a92c
cmp byte [ebp - 1], 0
je 0x550db4
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0053dd8c
mov cl, 1
mov dl, 2
mov eax, dword [ebp - 0xc]
call fcn.0053dd8c
jmp 0x550dc4
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0xc]
mov cl, 1
mov eax, dword [ebp - 0xc]
call fcn.0053dd8c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x551429
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 0x550ef0
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0x5b
jne 0x550ef0
mov eax, dword [ebp - 0x24]
call fcn.00403e88
mov edx, dword [ebp - 0x24]
cmp byte [edx + eax - 1], 0x5d
jne 0x550ef0
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 - 0x90]
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x5862bc]
call fcn.00403ed4
mov eax, dword [ebp - 0x90]
call fcn.004576dc
test al, al
je 0x550ef0
mov dl, 1
mov eax, dword [0x40f5f4]
call fcn.00402f78
mov esi, eax
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x5862bc]
call fcn.00403ed4
mov edx, dword [ebp - 0x90]
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 0x550ee4
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x90]
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 0x550ebb
mov eax, esi
call fcn.00402fa8
jmp 0x551429
mov eax, dword [ebp - 0x24]
mov edx, 0x551bfc
call fcn.00403f98
jne 0x550f57
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x40]
jmp 0x550f49
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, 0x551c08
call fcn.00403f98
je 0x550f30
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, 0x551c08
call fcn.00403f98
je 0x550f62
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x550f09
jmp 0x550f62
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 0x5510c6
mov byte [ebp - 0x25], 1
mov edx, dword [ebp - 0x24]
mov eax, 0x551c14
call fcn.00404170
test eax, eax
jle 0x55104e
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x551c20
call fcn.00404170
mov esi, eax
mov edx, dword [ebp - 0x24]
mov eax, 0x551c14
call fcn.00404170
inc eax
sub esi, eax
push esi
mov edx, dword [ebp - 0x24]
mov eax, 0x551c14
call fcn.00404170
mov edx, eax
add edx, 2
mov eax, dword [ebp - 0x24]
pop ecx
call fcn.0040408c
push 1
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [0x581dd8]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
call fcn.004537d4
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x24]
call fcn.00403ca4
push 1
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [0x581dd8]
mov ecx, dword [ecx]
mov edx, 0x551c20
mov eax, dword [ebp - 0x2c]
call fcn.004537d4
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x2c]
call fcn.00403ca4
push 1
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [0x581dd8]
mov ecx, dword [ecx]
mov edx, 0x551c2c
mov eax, dword [ebp - 0x2c]
call fcn.004537d4
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x2c]
call fcn.00403ca4
jmp 0x55105b
lea eax, [ebp - 0x2c]
mov edx, 0x551c38
call fcn.00403ca4
inc ebx
lea eax, [ebp + ebx*4 - 0x90]
push eax
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov eax, 0x551c54
call fcn.00453e14
test al, al
je 0x551091
mov eax, dword [ebp + ebx*4 - 0x90]
mov edx, dword [0x581dd8]
mov edx, dword [edx]
call fcn.00403f98
jne 0x55109b
call fcn.00403720
jmp 0x551b1f
push 1
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp + ebx*4 - 0x90]
mov edx, 0x551c64
mov eax, dword [ebp - 0x24]
call fcn.004537d4
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x24]
call fcn.00403ca4
mov edx, dword [ebp - 0x24]
mov eax, 0x551c64
call fcn.00404170
test eax, eax
jg 0x550f72
cmp byte [ebp - 0x25], 0
je 0x551180
mov dword [ebp - 0x1c], 0x14
lea esi, [ebp - 0x40]
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x1c]
call fcn.00408f24
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x551c70
call fcn.00403ed4
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x24]
call fcn.00404170
test eax, eax
jle 0x551170
push 1
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x1c]
call fcn.00408f24
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x94]
mov edx, 0x551c70
call fcn.00403ed4
mov edx, dword [ebp - 0x94]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x24]
call fcn.004537d4
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x24]
call fcn.00403ca4
dec dword [ebp - 0x1c]
sub esi, 4
cmp dword [ebp - 0x1c], 0
jne 0x5510ef
push 0
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x46c]
mov edx, 0x551c7c
mov eax, dword [ebp - 0x24]
call fcn.004537d4
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x24]
call fcn.00403ca4
mov edx, dword [ebp - 0x24]
mov eax, 0x551c88
call fcn.00404170
test eax, eax
jle 0x5511f8
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.0042ffc4
lea edx, [ebp - 0x94]
call fcn.0042fae4
mov ecx, dword [ebp - 0x94]
mov edx, 0x551c88
mov eax, dword [ebp - 0x24]
call fcn.004537d4
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x24]
call fcn.00403ca4
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0x7b
mov eax, dword [eax*2 + 0x58628a]
call fcn.004e1bc0
test eax, eax
je 0x5513cb
mov edx, dword [ebp - 0x24]
mov eax, 0x551c94
call fcn.00404170
test eax, eax
jg 0x55124a
mov edx, dword [ebp - 0x24]
mov eax, 0x551ca0
call fcn.00404170
test eax, eax
jg 0x55124a
mov edx, dword [ebp - 0x24]
mov eax, 0x551cac
call fcn.00404170
test eax, eax
jle 0x5513cb
mov eax, dword [ebp - 8]
imul esi, dword [eax + 0xc], 0x7b
mov byte [esi*2 + 0x586301], 1
mov eax, dword [esi*2 + 0x58628a]
call fcn.004e1554
dec eax
test eax, eax
jl 0x5513ba
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0x7b
mov eax, dword [eax*2 + 0x58628a]
mov edx, dword [ebp - 0x18]
call fcn.004e1b40
cmp byte [eax], 0
je 0x5513ae
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0x7b
mov eax, dword [eax*2 + 0x58628a]
mov edx, dword [ebp - 0x18]
call fcn.004e1b40
cmp byte [eax + 0x36], 0
je 0x5513ae
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0x7b
mov eax, dword [eax*2 + 0x58628a]
mov edx, dword [ebp - 0x18]
call fcn.004e1b40
mov eax, dword [eax + 4]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0x7b
mov eax, dword [eax*2 + 0x58628a]
mov edx, dword [ebp - 0x18]
call fcn.004e1b40
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0x7b
mov eax, dword [eax*2 + 0x58628a]
mov edx, dword [ebp - 0x18]
call fcn.004e1b40
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xa0]
push eax
push 2
lea eax, [ebp - 0x90]
push eax
mov eax, 0x551c94
mov dword [ebp - 0xac], eax
mov eax, 0x551ca0
mov dword [ebp - 0xa8], eax
mov eax, 0x551cac
mov dword [ebp - 0xa4], eax
lea edx, [ebp - 0xac]
mov ecx, 2
mov eax, dword [ebp - 0x24]
call fcn.004ece28
mov edx, dword [ebp - 0x90]
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 0x5513a3
inc esi
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 0x14]
dec esi
jne 0x55137e
push ebp
call fcn.00550c18
pop ecx
test al, al
jne 0x5513ba
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x551279
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0x7b
mov byte [eax*2 + 0x586301], 0
jmp 0x551415
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 0x551415
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x5513ee
cmp byte [0x586504], 0
jne 0x551439
push ebp
call fcn.00550c18
pop ecx
test al, al
jne 0x551439
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x550dd4
cmp byte [0x586504], 0
jne 0x55144d
push ebp
call fcn.00550c18
pop ecx
test al, al
je 0x551457
call fcn.00403720
jmp 0x551b1f
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x551a57
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 0x55163e
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x551c20
call fcn.00404170
mov ebx, eax
mov edx, dword [ebp - 0x24]
mov eax, 0x551cb8
call fcn.00404170
inc eax
sub ebx, eax
sub ebx, 2
push ebx
mov edx, dword [ebp - 0x24]
mov eax, 0x551cb8
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 0x5514ea
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0056f930
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0x5e8]
jmp 0x5514fd
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0056fb0c
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0x5ec]
mov eax, dword [edi + 0x28]
call fcn.0044df8c
mov esi, eax
dec esi
sub esi, 2
jl 0x5515ee
inc esi
mov ebx, 2
mov eax, dword [edi + 0x28]
mov edx, ebx
call fcn.0044df9c
mov eax, dword [eax + 0x24]
lea edx, [ebp - 0x90]
call fcn.004089b8
mov eax, dword [ebp - 0x90]
push eax
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x2c]
call fcn.004089b8
mov edx, dword [ebp - 0x94]
pop eax
call fcn.00403f98
jne 0x5515e6
mov byte [ebp - 0x25], 1
mov eax, dword [edi + 0x28]
mov edx, ebx
call fcn.0044df9c
mov edx, dword [eax + 0x4c]
lea eax, [ebp - 0x20]
call fcn.00403ca4
mov edx, dword [ebp - 0x20]
mov eax, 0x551cc4
call fcn.00404170
test eax, eax
jle 0x5515a1
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebp - 0x20]
mov eax, 0x551cc4
call fcn.00404170
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040408c
push 1
lea eax, [ebp - 0x90]
push eax
push 0x551cb8
push dword [ebp - 0x2c]
push 0x551c20
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00403f48
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.004537d4
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x24]
call fcn.00403ca4
inc ebx
dec esi
jne 0x551517
cmp byte [ebp - 0x25], 0
jne 0x55163e
push 1
lea eax, [ebp - 0x90]
push eax
push 0x551cb8
push dword [ebp - 0x2c]
push 0x551c20
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00403f48
mov edx, dword [ebp - 0x94]
mov ecx, dword [0x581dd8]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x24]
call fcn.004537d4
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x24]
call fcn.00403ca4
mov edx, dword [ebp - 0x24]
mov eax, 0x551cb8
call fcn.00404170
test eax, eax
jg 0x551486
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x24]
call fcn.004089b8
mov eax, dword [ebp - 0x90]
mov edx, 0x551cd0
call fcn.00403f98
jne 0x5516a3
mov eax, dword [ebp - 8]
imul eax, dword [eax + 0xc], 0x7b
cmp dword [eax*2 + 0x5862f0], 0
jne 0x5516a3
mov dl, 1
mov eax, dword [0x40f5f4]
call fcn.00402f78
mov edx, dword [ebp - 8]
imul edx, dword [edx + 0xc], 0x7b
mov dword [edx*2 + 0x5862f0], eax
jmp 0x551a37
lea eax, [ebp - 0x94]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040408c
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.004089b8
mov eax, dword [ebp - 0x90]
mov edx, 0x551ce0
call fcn.00403f98
jne 0x551708
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.00569aa0
jmp 0x551a37
lea eax, [ebp - 0x94]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040408c
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.004089b8
mov eax, dword [ebp - 0x90]
mov edx, 0x551b88
call fcn.00403f98
jne 0x55176b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x464]
cmp eax, dword [ebp - 8]
jne 0x551763
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x468]
mov dword [ebp - 8], eax
jmp 0x551a37
mov dword [ebp - 8], eax
jmp 0x551a37
lea eax, [ebp - 0x94]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040408c
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.004089b8
mov eax, dword [ebp - 0x90]
mov edx, 0x551cf0
call fcn.00403f98
jne 0x551884
lea eax, [ebp - 0x24]
mov ecx, 1
mov edx, 1
call fcn.004040cc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x46c]
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.0055e3a0
mov eax, dword [ebp - 0x24]
call fcn.00403e88
cmp eax, 4
jle 0x5517f5
lea eax, [ebp - 0x24]
mov ecx, 5
mov edx, 1
call fcn.004040cc
jmp 0x551802
lea eax, [ebp - 0x24]
mov edx, 0x551d00
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.005567b8
mov eax, dword [ebp - 8]
imul ebx, dword [eax + 0xc], 0x7b
cmp dword [ebx*2 + 0x5862f0], 0
je 0x551a37
mov eax, dword [ebx*2 + 0x5862c8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x551a37
inc esi
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 8]
imul ebx, dword [eax + 0xc], 0x7b
mov eax, dword [ebx*2 + 0x5862c8]
mov edx, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebx*2 + 0x5862f0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 0x1c]
dec esi
jne 0x55184b
jmp 0x551a37
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x24]
call fcn.004089b8
mov edx, dword [ebp - 0x90]
mov eax, 0x551d0c
call fcn.00404170
dec eax
jne 0x551904
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x46c]
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.0055e3a0
mov eax, dword [ebp - 0x24]
call fcn.00403e88
cmp eax, 4
jle 0x5518dd
lea eax, [ebp - 0x24]
mov ecx, 5
mov edx, 1
call fcn.004040cc
jmp 0x5518ea
lea eax, [ebp - 0x24]
mov edx, 0x551d00
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.005567b8
jmp 0x551a37
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x24]
call fcn.004089b8
mov eax, dword [ebp - 0x90]
mov edx, 0x551d1c
call fcn.00403f98
jne 0x551959
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0054c558
mov dl, 3
mov eax, dword [ebp - 0xc]
call fcn.00569d98
mov al, byte [0x586728]
or al, byte [0x586504]
jne 0x551a37
push ebp
call fcn.00550c18
pop ecx
test al, al
je 0x55192e
jmp 0x551a37
lea eax, [ebp - 0x94]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0040408c
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.004089b8
mov eax, dword [ebp - 0x90]
mov edx, 0x551d2c
call fcn.00403f98
jne 0x551a2a
lea eax, [ebp - 0x24]
mov ecx, 6
mov edx, 1
call fcn.004040cc
push 0
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xb0], 0xb
lea edx, [ebp - 0xb4]
xor ecx, ecx
mov eax, 0x551d3c
call fcn.00409ffc
mov edx, dword [ebp - 0x90]
mov ecx, dword [0x586684]
mov eax, dword [ebp - 0xc]
call fcn.0054c904
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.00569d98
call sub.kernel32.dll_GetTickCount
cmp ebx, eax
setle al
or al, byte [0x586504]
jne 0x551a37
push ebp
call fcn.00550c18
pop ecx
test al, al
je 0x551a01
jmp 0x551a37
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004aec04
cmp byte [0x586504], 0
jne 0x551a57
push ebp
call fcn.00550c18
pop ecx
test al, al
jne 0x551a57
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x551473
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551b1f
mov eax, dword [ebp - 0x34]
call fcn.00402fa8
mov eax, dword [ebp - 0x30]
call fcn.00402fa8
mov eax, dword [ebp - 0x38]
call fcn.00402fa8
mov eax, dword [0x5863e6]
test eax, eax
je 0x551ab0
mov edx, dword [0x581dd8]
mov edx, dword [edx]
push edx
push 0
push 0
push 0
mov edx, dword [0x581dd8]
mov edx, dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0xc]
call fcn.005507d8
mov eax, 0x5863e6
call fcn.00455aa0
mov eax, dword [0x5864dc]
test eax, eax
je 0x551ae4
mov edx, dword [0x581dd8]
mov edx, dword [edx]
push edx
push 0
push 0
push 0
mov edx, dword [0x581dd8]
mov edx, dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0xc]
call fcn.005507d8
mov eax, 0x5864dc
call fcn.00455aa0
cmp byte [ebp - 1], 0
je 0x551b04
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0053dd8c
xor ecx, ecx
mov dl, 2
mov eax, dword [ebp - 0xc]
call fcn.0053dd8c
jmp 0x551b14
mov eax, dword [ebp - 8]
mov dl, byte [eax + 0xc]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.0053dd8c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551b77
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.00403c30
lea eax, [ebp - 0x8c]
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