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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
sub esp, 0x70
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor esi, esi
cmp edi, esi
jne 0x403849
mov eax, 0x100000
cdq
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], edi
cmp edi, esi
jne 0x403864
mov dword [ebp - 8], 0x48d120
cmp dword [ebp + 0xc], esi
jl 0x403883
jg 0x403870
cmp dword [ebp + 8], esi
jb 0x403883
mov eax, dword [0x792b98]
cdq
add eax, dword [ebp + 8]
adc edx, dword [ebp + 0xc]
push edx
push eax
call fcn.00403c9f
push 8
lea eax, [ebp - 0x14]
push eax
call fcn.00403b26
test eax, eax
jne 0x40389d
push 0xfffffffffffffffd
pop eax
or edx, 0xffffffff
jmp 0x403b1f
mov ecx, dword [ebp - 0x10]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
je 0x403a70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x18], eax
mov eax, 0x80
dec eax
mov byte [eax + 0x68d120], 0
jne 0x4038be
mov edi, dword [ebp - 0x10]
or dword [0x68d198], 0xffffffff
mov esi, dword [ebp - 0x14]
xor ebx, ebx
inc ebx
and edi, 0x7fffffff
mov dword [0x68d188], ebx
mov dword [0x68d184], ebx
mov dword [0x68d180], ebx
mov dword [0x68d17c], ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
jl 0x403b19
jg 0x403917
test esi, esi
jbe 0x403b19
jmp 0x403917
mov esi, dword [ebp - 0x14]
test edi, edi
jg 0x403925
jl 0x40392c
cmp esi, 0x80000
jb 0x40392c
mov esi, 0x80000
xor edi, edi
push esi
push 0x40d120
call fcn.00403b26
test eax, eax
je 0x403892
sub dword [ebp - 0x14], esi
mov dword [0x68d138], 0x40d120
mov dword [0x68d13c], esi
sbb dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 8]
push 0x68d120
mov dword [0x68d140], edi
mov dword [0x68d144], eax
call fcn.00406fd8
mov dword [ebp - 0xc], eax
test eax, eax
jl 0x403a62
mov esi, dword [0x68d140]
sub esi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
test byte [0x793054], bl
je 0x4039eb
sub eax, dword [ebp + 0x18]
cmp eax, 0xc8
ja 0x4039a5
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x10]
jne 0x4039eb
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
sbb ecx, dword [ebp - 0x10]
push 0
push 0x64
push ecx
push eax
call fcn.00407b50
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push edx
push eax
call fcn.00407b90
push edx
push eax
lea eax, [ebp - 0x6c]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
push 0
call fcn.00405d24
mov dword [ebp + 0x18], edi
test esi, esi
je 0x403a41
cmp dword [ebp + 0x14], 0
jne 0x403a1c
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp - 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403a69
cmp dword [ebp + 0xc], esi
jne 0x403a69
mov eax, esi
cdq
add dword [ebp - 0x1c], eax
adc dword [ebp - 0x18], edx
jmp 0x403a33
mov eax, esi
cdq
add dword [ebp - 0x1c], eax
adc dword [ebp - 0x18], edx
sub dword [ebp - 0x24], eax
mov eax, dword [0x68d140]
mov dword [ebp - 8], eax
sbb dword [ebp - 0x20], edx
cmp dword [ebp - 0xc], ebx
jne 0x403955
jmp 0x403b19
mov edi, dword [ebp - 0x10]
test edi, edi
jg 0x403914
jl 0x403b19
mov esi, dword [ebp - 0x14]
test esi, esi
ja 0x403917
jmp 0x403b19
push 0xfffffffffffffffc
jmp 0x403894
push 0xfffffffffffffffe
jmp 0x403894
cmp edi, esi
jne 0x403aec
cmp dword [ebp - 0x10], esi
jl 0x403b19
jg 0x403a88
cmp dword [ebp - 0x14], esi
jbe 0x403b19
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x10], eax
jg 0x403a9f
jl 0x403a9a
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
jae 0x403a9f
mov esi, dword [ebp - 0x14]
jmp 0x403aa2
mov esi, dword [ebp - 0x24]
push esi
mov edi, 0x40d120
push edi
call fcn.00403b26
test eax, eax
je 0x403892
push 0
lea eax, [ebp + 0x18]
push eax
push esi
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403a69
cmp esi, dword [ebp + 0x18]
jne 0x403a69
xor eax, eax
add dword [ebp - 0x1c], esi
adc dword [ebp - 0x18], eax
sub dword [ebp - 0x14], esi
sbb dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], eax
jg 0x403a88
jl 0x403b19
cmp dword [ebp - 0x14], eax
ja 0x403a88
jmp 0x403b19
mov eax, dword [ebp + 0x18]
cdq
cmp dword [ebp - 0x10], edx
jg 0x403afe
mov esi, dword [ebp - 0x14]
jl 0x403b01
cmp esi, eax
jb 0x403b01
mov esi, dword [ebp + 0x18]
push esi
push edi
call fcn.00403b26
test eax, eax
je 0x403892
mov eax, esi
cdq
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret 0x14