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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
mov ebx, edx
mov dword [ebp - 0x1c], ecx
test ebx, ebx
mov dword [ebp - 0x28], ebx
mov eax, 0x100000
xorps xmm0, xmm0
cmovne eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 8], eax
mov eax, 0x68d1b0
cmovne eax, ebx
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0xc], 0
push esi
push edi
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0xc], eax
jl 0x404685
jg 0x404672
cmp dword [ebp + 8], 0
jb 0x404685
mov eax, dword [0x792c78]
cdq
add eax, dword [ebp + 8]
adc edx, dword [ebp + 0xc]
push edx
push eax
call fcn.00404b11
push 8
pop edx
lea ecx, [ebp - 0x3c]
call fcn.0040495d
test eax, eax
jne 0x40469f
push 0xfffffffffffffffd
pop eax
or edx, 0xffffffff
jmp 0x404954
mov edi, dword [ebp - 0x38]
xor eax, eax
mov ecx, edi
and ecx, 0x80000000
or eax, ecx
je 0x404889
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov ecx, 0x80
dec ecx
mov byte [ecx + 0x50d110], 0
jne 0x4046c2
mov edi, dword [ebp - 0x38]
xor eax, eax
or dword [0x50d188], 0xffffffff
inc eax
mov esi, dword [ebp - 0x3c]
and edi, 0x7fffffff
mov dword [0x50d178], eax
mov dword [0x50d174], eax
mov dword [0x50d170], eax
mov dword [0x50d16c], eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edi
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x20], edi
jl 0x40491c
jg 0x404712
test esi, esi
je 0x40491c
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x30]
mov dword [ebp + 0x10], eax
test edi, edi
jg 0x404729
jl 0x404730
cmp esi, 0x80000
jb 0x404730
mov esi, 0x80000
xor edi, edi
mov edx, esi
mov ecx, 0x60d1b0
call fcn.0040495d
test eax, eax
je 0x404694
sub dword [ebp - 0x3c], esi
mov dword [0x50d12c], esi
sbb dword [ebp - 0x38], edi
mov esi, dword [ebp - 0xc]
mov dword [0x50d128], 0x60d1b0
mov eax, dword [ebp - 8]
mov ecx, 0x50d110
mov dword [0x50d130], esi
mov dword [0x50d134], eax
call section..text
mov dword [ebp - 0x30], eax
test eax, eax
js 0x404882
mov eax, dword [0x50d130]
sub eax, esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x792cd4], 1
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
je 0x404801
mov ecx, eax
sub ecx, dword [ebp - 0x14]
cmp ecx, 0xc8
ja 0x4047b5
mov eax, esi
or eax, edi
jne 0x404801
mov ecx, dword [ebp + 0xc]
sub ecx, esi
mov esi, dword [ebp - 0x20]
push 0
mov eax, esi
push 0x64
sbb eax, edi
push eax
push ecx
call fcn.00408470
push esi
push dword [ebp + 0xc]
push edx
push eax
call fcn.004083c0
push edx
push eax
lea eax, [ebp - 0x7c]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x7c]
xor ecx, ecx
call fcn.00406cd8
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404861
cmp dword [ebp - 0x28], 0
jne 0x404838
mov esi, dword [ebp - 0xc]
lea ecx, [ebp - 0x2c]
push 0
push ecx
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40487b
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x2c], eax
jne 0x40487b
mov ecx, dword [ebp + 0x10]
cdq
add ecx, eax
adc ebx, edx
jmp 0x40484f
mov ecx, dword [ebp + 0x10]
mov esi, dword [0x50d130]
cdq
add ecx, eax
mov dword [ebp - 0xc], esi
adc ebx, edx
sub dword [ebp - 8], eax
sbb dword [ebp - 0x10], edx
cmp dword [ebp - 0x30], 1
mov dword [ebp + 0x10], ecx
jne 0x40475d
jmp 0x404950
test edi, edi
jl 0x404873
jg 0x404729
test esi, esi
jne 0x40471b
mov ecx, dword [ebp + 0x10]
jmp 0x404950
push 0xfffffffffffffffe
jmp 0x404696
push 0xfffffffffffffffc
jmp 0x404696
test ebx, ebx
jne 0x404924
test edi, edi
jl 0x40491c
mov esi, dword [ebp - 0x3c]
jg 0x4048a2
test esi, esi
je 0x40491c
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x30]
mov dword [ebp + 0x10], eax
cmp edi, dword [ebp - 0x10]
jg 0x4048bb
jl 0x4048c0
mov eax, dword [ebp - 8]
cmp esi, eax
jae 0x4048be
jmp 0x4048c0
mov eax, dword [ebp - 8]
mov esi, eax
mov edx, esi
mov ecx, 0x60d1b0
call fcn.0040495d
test eax, eax
je 0x404694
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push 0x60d1b0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40487b
cmp esi, dword [ebp + 0xc]
jne 0x40487b
mov ecx, dword [ebp + 0x10]
mov eax, esi
mov edi, dword [ebp - 0x38]
add ecx, esi
mov esi, dword [ebp - 0x3c]
adc ebx, 0
mov dword [ebp + 0x10], ecx
sub esi, eax
mov dword [ebp - 0x3c], esi
sbb edi, 0
mov dword [ebp - 0x38], edi
test edi, edi
jg 0x4048ab
jl 0x404950
test esi, esi
jne 0x4048ab
jmp 0x404950
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
jmp 0x404950
mov eax, dword [ebp + 0x10]
cdq
cmp edi, edx
jg 0x404935
mov esi, dword [ebp - 0x3c]
jl 0x404938
cmp esi, eax
jb 0x404938
mov esi, dword [ebp + 0x10]
mov edx, esi
mov ecx, ebx
call fcn.0040495d
test eax, eax
je 0x404694
mov eax, esi
cdq
mov ecx, eax
mov ebx, edx
mov edx, ebx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc