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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x456040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x21c], esi
mov edi, dword [esi + 0x460]
mov dword [ebp - 0x214], edi
call fcn.00401230
mov dword [ebp - 0x220], eax
test edi, edi
je 0x41d858
push ebx
nop dword [eax]
mov edx, dword [edi]
mov ecx, eax
mov eax, dword [esi + 0x149c]
add eax, 0xa
mov dword [ebp - 0x218], edx
sub ecx, dword [edx + 0x210]
cmp ecx, eax
jbe 0x41d840
mov ebx, dword [edx + 0x208]
cmp ebx, 0x1fc
jbe 0x41d745
xor eax, eax
mov dword [ebp - 0x210], eax
cmp ebx, 0x3e8
jbe 0x41d6a4
nop word [eax + eax]
mov edi, ebx
mov word [ebp - 0x20c], 0xa00
sub edi, eax
mov dword [ebp - 0x20a], ebx
add eax, edx
cmp edi, 0x1f0
jbe 0x41d659
mov ecx, 0x7c
lea edi, [ebp - 0x206]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x21c]
mov edi, 0x1f6
jmp 0x41d66d
push edi
push eax
lea eax, [ebp - 0x206]
push eax
call fcn.00421b00
add esp, 0xc
add edi, 6
push 1
push edi
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0041c920
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 0x218]
add eax, 0x1f0
mov dword [ebp - 0x210], eax
cmp eax, ebx
jb 0x41d620
mov edi, dword [ebp - 0x214]
jmp 0x41d822
mov word [ebp - 0x20c], 0x800
nop dword [eax]
mov edi, ebx
sub edi, eax
add eax, edx
cmp edi, 0x1f4
jbe 0x41d70e
mov esi, eax
lea edi, [ebp - 0x20a]
push 1
mov ecx, 0x7d
lea eax, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x21c]
mov ecx, esi
push 0x1f6
push eax
call fcn.0041c920
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 0x218]
add eax, 0x1f4
mov dword [ebp - 0x210], eax
cmp eax, ebx
jb 0x41d6b0
mov edi, dword [ebp - 0x214]
jmp 0x41d822
push edi
push eax
lea eax, [ebp - 0x20a]
mov byte [ebp - 0x20b], 9
push eax
call fcn.00421b00
add esp, 0xc
lea eax, [edi + 2]
mov ecx, esi
push 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c920
mov edi, dword [ebp - 0x214]
jmp 0x41d822
cmp byte [esi + 0xc84], 0
je 0x41d819
push 0x20c
call fcn.0041fd60
mov edi, eax
add esp, 4
mov dword [ebp - 0x210], edi
test edi, edi
je 0x41d803
push ebx
push dword [ebp - 0x218]
push edi
call fcn.00421b00
add esp, 0xc
mov dword [edi + 0x208], ebx
test edi, edi
je 0x41d803
push 0xc
call fcn.0041fd60
mov ecx, eax
add esp, 4
mov dword [ebp - 0x210], ecx
test ecx, ecx
je 0x41d7b1
mov dword [ecx], edi
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
jmp 0x41d7b3
xor ecx, ecx
mov eax, dword [esi + 0x10bc]
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0
cmp dword [esi + 0x10b8], 0
jne 0x41d7e6
inc dword [esi + 0x10c0]
mov edi, dword [ebp - 0x214]
mov dword [esi + 0x10b8], ecx
mov dword [esi + 0x10bc], ecx
jmp 0x41d822
mov eax, dword [esi + 0x10bc]
mov edi, dword [ebp - 0x214]
mov dword [eax + 4], ecx
inc dword [esi + 0x10c0]
mov dword [esi + 0x10bc], ecx
jmp 0x41d822
push ebx
push dword [ebp - 0x218]
mov ecx, esi
call fcn.0041d1e0
mov edi, dword [ebp - 0x214]
jmp 0x41d822
push ebx
push edx
mov ecx, esi
call fcn.0041d1e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [ebp - 0x218]
shr edx, 3
mov dword [eax + 0x210], edx
mov edi, dword [edi + 4]
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x214], edi
test edi, edi
jne 0x41d5d0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041fd52
mov esp, ebp
pop ebp
ret