Function at 0x5cd774
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5cd77c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004048c4
xor eax, eax
push ebp
push 0x5cdd92
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x11c], 0
jne 0x5cdd67
mov byte [ebx + 0x188], 0
mov eax, dword [0x5d34c0]
cmp ebx, dword [eax]
jne 0x5cd849
mov edx, dword [0x5d3e64]
mov edx, dword [edx]
mov eax, 0x5cdda8
call fcn.00404a18
test eax, eax
jne 0x5cd806
mov eax, dword [0x5d3e64]
push dword [eax]
push 0x5cdda8
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
push dword [eax + 0xa1c]
push 0x5cddb4
mov eax, dword [0x5d3e64]
mov edx, 4
call fcn.00404794
mov edx, dword [0x5d3eec]
mov edx, dword [edx]
mov eax, 0x5cdda8
call fcn.00404a18
test eax, eax
jne 0x5cd849
mov eax, dword [0x5d3eec]
push dword [eax]
push 0x5cdda8
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
push dword [eax + 0xa1c]
push 0x5cddb4
mov eax, dword [0x5d3eec]
mov edx, 4
call fcn.00404794
lea eax, [ebx + 0x11c]
mov edx, dword [ebp - 4]
call fcn.00404468
mov byte [ebp - 0xd], 0
cmp byte [ebx + 0x65], 0
jne 0x5cd8b1
mov eax, dword [0x5d38c0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5cd8b1
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
mov eax, dword [0x5d38c0]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebx + 0x11c]
call fcn.00404820
jne 0x5cd8a9
mov byte [ebx + 0x65], 0x22
mov byte [ebp - 0xd], 1
jmp 0x5cd8b1
inc dword [ebp - 8]
dec dword [ebp - 0x14]
jne 0x5cd87d
mov al, byte [ebp - 0xd]
xor al, 1
test al, al
je 0x5cd9ef
cmp byte [ebx + 0x65], 0
jne 0x5cd9ef
mov eax, dword [0x5d3560]
cmp byte [eax], 0
je 0x5cd9ef
mov edx, dword [ebx + 0x11c]
mov eax, 0x5cdda8
call fcn.00404a18
test eax, eax
jne 0x5cd9ef
mov al, byte [ebp - 0xd]
xor al, 1
test al, al
je 0x5cd9ef
mov edi, 1
mov eax, dword [0x5d32c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5cd975
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
mov eax, dword [0x5d32c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
call fcn.00419afc
mov esi, eax
mov eax, dword [esi + 0x11c]
mov edx, dword [ebx + 0x11c]
call fcn.00404820
jne 0x5cd96d
cmp ebx, esi
je 0x5cd96d
cmp dword [esi + 0xe4], 0
jne 0x5cd96d
cmp byte [esi + 0x78], 0
jne 0x5cd96d
cmp byte [esi + 0x7a], 0
jne 0x5cd96d
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 4]
cmp eax, 0x1388
jbe 0x5cd96d
inc edi
inc dword [ebp - 8]
dec dword [ebp - 0x14]
jne 0x5cd91d
dec edi
jle 0x5cd9ef
mov eax, dword [0x5d38c0]
mov eax, dword [eax]
mov edx, dword [ebx + 0x11c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x5d32c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5cd9ef
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
mov eax, dword [0x5d32c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
call fcn.00419afc
mov esi, eax
mov eax, dword [esi + 0x11c]
mov edx, dword [ebx + 0x11c]
call fcn.00404820
jne 0x5cd9e7
cmp dword [esi + 0xe4], 0
jne 0x5cd9e7
cmp byte [esi + 0x78], 0
jne 0x5cd9e7
cmp byte [esi + 0x7a], 0
jne 0x5cd9e7
mov byte [esi + 0x65], 0x22
inc dword [ebp - 8]
dec dword [ebp - 0x14]
jne 0x5cd9a7
cmp byte [ebx + 0x65], 0
jne 0x5cda1b
mov edx, dword [ebp - 4]
mov eax, 0x5cdda8
call fcn.00404a18
test eax, eax
jle 0x5cda1b
mov edx, dword [ebp - 4]
mov eax, 0x5cddb4
call fcn.00404a18
test eax, eax
jle 0x5cda1b
mov byte [ebx + 0x65], 0x22
cmp byte [ebx + 0x65], 0
je 0x5cdc58
mov eax, ebx
call fcn.005cd0c8
mov esi, eax
test esi, esi
setne al
mov byte [ebx + 0x54], al
xor edx, edx
mov dword [ebp - 8], edx
xor edi, edi
test al, al
je 0x5cdac7
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], eax
mov edi, dword [esi + 0x1c]
mov eax, dword [0x5d3338]
mov byte [eax], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3b44]
mov dword [edx], eax
cmp byte [esi + 0x28], 0
je 0x5cda91
mov eax, dword [esi + 0x2c]
mov edx, 0x5cddc0
call fcn.00404820
jne 0x5cda91
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov ax, word [ebx + 0x6a]
call fcn.005cd550
test al, al
je 0x5cda91
mov eax, dword [esi + 0x38]
mov dword [ebp - 8], eax
cmp byte [esi + 0x29], 0
je 0x5cdac7
mov eax, dword [esi + 0x3c]
mov edx, 0x5cddc0
call fcn.00404820
jne 0x5cdac7
mov eax, dword [esi + 0x18]
cmp eax, dword [ebp - 8]
jne 0x5cdac7
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
mov ax, word [ebx + 0x6a]
call fcn.005cd550
test al, al
je 0x5cdac7
mov eax, dword [esi + 0x48]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov eax, 0x5cdda8
call fcn.00404a18
test eax, eax
jle 0x5cdb2e
mov edx, dword [ebp - 4]
mov eax, 0x5cddb4
call fcn.00404a18
test eax, eax
jle 0x5cdb2e
mov byte [ebx + 0x56], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x5cddb4
mov edx, 0x5cdda8
mov eax, dword [ebp - 4]
call fcn.004932b4
mov eax, dword [ebp - 0xc]
mov edx, dword [0x5d37a0]
mov edx, dword [edx]
mov edx, dword [edx + 0xa1c]
call fcn.00404820
jne 0x5cdb2e
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
mov byte [eax + 0x58], 1
mov byte [ebx + 0x57], 1
mov eax, dword [ebp - 8]
mov dword [ebx + 0x5c], eax
cmp eax, 7
jne 0x5cdc29
mov eax, dword [0x5d3b94]
cmp byte [eax], 0
jne 0x5cdc29
mov eax, dword [0x5d3e28]
mov eax, dword [eax]
cmp byte [eax + 0x86c], 0
je 0x5cdbee
push 0xff0000
push 0x5cddd0
push dword [ebp - 4]
push 0x5cdde4
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404794
mov edx, dword [ebp - 0x20]
mov eax, dword [0x5d3f60]
mov eax, dword [eax]
mov ecx, 0xffffff
call fcn.005b2b94
mov eax, dword [0x5d3e24]
cmp dword [eax], 0
je 0x5cdc21
mov eax, dword [0x5d3e24]
mov eax, dword [eax]
movzx eax, word [eax + 0x122]
push eax
mov eax, dword [0x5d3e24]
mov eax, dword [eax]
movzx ecx, word [eax + 0x120]
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
movzx edx, word [eax + 0x122]
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
movzx eax, word [eax + 0x120]
call fcn.005c40a0
cmp eax, 6
jge 0x5cdc21
mov eax, dword [0x5d3e24]
xor edx, edx
mov dword [eax], edx
jmp 0x5cdc21
push 0xff0000
push 0x5cddd0
push dword [ebp - 4]
push 0x5cddfc
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404794
mov edx, dword [ebp - 0x24]
mov eax, dword [0x5d3f60]
mov eax, dword [eax]
mov ecx, 0xffffff
call fcn.005b2b94
mov eax, dword [0x5d3b94]
mov byte [eax], 1
test edi, edi
jle 0x5cdc34
mov byte [ebx + 0x38], 1
mov dword [ebx + 0x34], edi
mov eax, ebx
call fcn.005cd4bc
mov byte [ebx + 0x55], al
cmp dword [ebx + 0x5c], 8
jge 0x5cdc54
mov eax, dword [ebx + 0x11c]
call fcn.005c3b94
mov byte [ebx + 0x59], al
jmp 0x5cdc58
mov byte [ebx + 0x59], 1
cmp byte [ebx + 0x65], 0x32
jne 0x5cdd67
mov eax, dword [0x5d325c]
cmp byte [eax], 0
je 0x5cdd67
movzx eax, word [ebx + 0x122]
push eax
mov eax, dword [0x5d3a8c]
push dword [eax]
push 0x5cdda8
mov eax, dword [0x5d3eb8]
mov eax, dword [eax]
push dword [eax + 0x7c]
push 0x5cddb4
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404794
mov edx, dword [ebp - 0x28]
movzx ecx, word [ebx + 0x120]
mov eax, dword [ebx + 0x11c]
call fcn.005c67f8
test al, al
jne 0x5cdd67
mov edx, dword [0x52e420]
mov eax, 0x14
call fcn.00405310
mov esi, eax
mov eax, esi
mov edx, dword [ebx + 0x11c]
call fcn.00404468
mov eax, dword [0x5d3a8c]
push dword [eax]
push 0x5cdda8
mov eax, dword [0x5d3eb8]
mov eax, dword [eax]
push dword [eax + 0x7c]
push 0x5cddb4
lea eax, [esi + 4]
mov edx, 4
call fcn.00404794
movzx eax, word [ebx + 0x120]
mov dword [esi + 8], eax
movzx eax, word [ebx + 0x122]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
mov edx, 0x5cde24
call fcn.00404468
mov eax, dword [0x5d3ef8]
mov eax, dword [eax]
mov edx, esi
call fcn.004199a0
push 0xffffff
mov edx, dword [esi]
lea eax, [ebp - 0x2c]
mov ecx, 0x5cde34
call fcn.00404720
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x5d3f60]
mov eax, dword [eax]
mov ecx, 0xff
call fcn.005b2b94
mov eax, dword [0x5d3940]
mov eax, dword [eax]
call fcn.00587adc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cdd99
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00404438
lea eax, [ebp - 0xc]
call fcn.00404414
lea eax, [ebp - 4]
call fcn.00404414
ret