Function at 0x41f790
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c60b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x4c]
call fcn.00420c90
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x78]
mov dword [eax + 0xbc], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x50], eax
mov edx, 1
test edx, edx
je 0x41f8ba
mov ecx, dword [ebp - 0x78]
add ecx, 0x28
call fcn.004106b0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00422480
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x4c]
call fcn.00413470
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x10], 1
jne 0x41f82e
jmp 0x41f8ba
cmp dword [ebp - 0x10], 0xfffffffb
jne 0x41f84f
cmp dword [ebp - 0x60], 0x1f4
jl 0x41f84d
cmp dword [ebp - 0x60], 0x258
jge 0x41f84d
mov dword [ebp - 0x5c], 1
jmp 0x41f85c
cmp dword [ebp - 0x10], 0xfffffffc
jne 0x41f85c
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0
jne 0x41f871
mov eax, dword [ebp - 0x78]
mov dword [eax + 0xbc], 2
jmp 0x41f8ba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x58]
sub edx, dword [ecx + 0x40]
mov eax, dword [ebp - 0x78]
cmp edx, dword [eax + 0x10]
jle 0x41f89a
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0xbc], 1
jmp 0x41f8ba
mov edx, dword [ebp - 0x78]
cmp dword [edx + 0xd0], 0
je 0x41f8b5
mov eax, dword [ebp - 0x78]
mov dword [eax + 0xbc], 5
jmp 0x41f8ba
jmp 0x41f7ed
cmp dword [ebp - 0x10], 1
je 0x41f8de
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00420dc0
mov eax, dword [ebp - 0x6c]
jmp 0x41fa7f
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
call fcn.00406120
mov byte [ebp - 4], 1
push 0x4000
lea ecx, [ebp - 0x28]
call fcn.00406150
mov dword [ebp - 0x18], 0xffffffff
push 0xffffffffffffffff
push 0x80
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp - 0x78]
add ecx, 0x2c
call fcn.004106b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x41f969
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0xbc], 3
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041e450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00420dc0
mov eax, dword [ebp - 0x70]
jmp 0x41fa7f
mov edx, 1
test edx, edx
je 0x41fa08
lea ecx, [ebp - 0x28]
call fcn.00406170
push eax
push 0
lea ecx, [ebp - 0x28]
call fcn.004061b0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00422740
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x41f9aa
mov eax, dword [ebp - 0x78]
mov dword [eax + 0xbc], 6
jmp 0x41fa08
mov ecx, dword [ebp - 0x78]
call fcn.0041f190
push 0
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x64]
push edx
push 0
lea ecx, [ebp - 0x28]
call fcn.004061b0
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x68]
je 0x41f9e8
mov edx, dword [ebp - 0x78]
mov dword [edx + 0xbc], 3
jmp 0x41fa08
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0xd0], 0
je 0x41fa03
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0xbc], 5
jmp 0x41fa08
jmp 0x41f969
cmp dword [ebp - 0x18], 0xffffffff
je 0x41fa1f
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0xbc], 6
jne 0x41fa4f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x78]
call fcn.0041fa90
mov edx, dword [ebp - 0x78]
mov dword [edx + 0xbc], 0
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp dword [eax + 0xbc], 0
sete cl
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041e450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00420dc0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret