Function at 0x406f80
Capabilities:
Create thread
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x417dcb
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x41c690]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41c690]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [0x41dd40]
xor ebp, ebp
cmp eax, ebp
jne 0x406fc7
call fcn.00403940
mov dword [0x41dd40], eax
dec eax
cmp eax, 6
ja case.0x406fd4.5
movzx eax, byte [eax + 0x4072a4]
jmp dword [eax*4 + 0x40729c]
call fcn.00406ef0
mov ebx, eax
cmp ebx, 1
jle 0x407019
lea esi, [ebx*4 + 4]
cmp esi, ebp
jne 0x406ff6
xor edi, edi
jmp 0x407010
push esi
call fcn.0040911d
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x407010
push esi
push ebp
push edi
call fcn.00409190
add esp, 0xc
mov ecx, dword [0x41c04c]
mov dword [ecx + 0x18], edi
mov eax, dword [0x41c04c]
cmp dword [eax + 0x18], ebp
je 0x40703e
lea edx, [esp + 0x14]
push edx
push ebp
push ebp
push 0x406f60
push ebp
push ebp
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x198
call fcn.0040911d
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], ebp
cmp eax, ebp
je 0x407060
mov ecx, eax
call fcn.00401c50
jmp 0x407062
xor eax, eax
mov dword [esp + 0x50], 0xffffffff
mov dword [0x41dcf8], eax
cmp eax, ebp
je 0x40708f
cmp dword [eax], ebp
jne 0x407082
push eax
call fcn.0040920a
add esp, 4
xor eax, eax
mov dword [0x41dcf8], eax
cmp eax, ebp
jne 0x4071f9
push ebp
push 9
call fcn.004024c0
mov ecx, dword [0x41c04c]
mov dword [ecx + 0x10], eax
mov edx, dword [0x41c04c]
add esp, 8
cmp dword [edx + 0x10], ebp
je 0x4071f9
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x28], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4070d5
xor edx, edx
mov word [esp + 0x24], dx
mov ecx, dword [0x41c04c]
mov edx, dword [ecx + 0x10]
push str.Processor
push str._Total
push str.__Processor_Time
lea eax, [esp + 0x30]
push eax
push edx
call fcn.00402770
mov ecx, dword [0x41c04c]
mov dword [ecx + 0x14], eax
mov edx, dword [0x41c04c]
mov eax, dword [edx + 0x10]
push eax
call fcn.00402960
mov eax, dword [0x41c04c]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00403550
fldz
fcomp dword [esp + 0x38]
add esp, 0x24
fnstsw ax
test ah, 0x41
jne 0x407166
mov edx, dword [0x41c04c]
mov eax, dword [edx + 0x10]
push str.Processor
push 0x418918
push str.__Processor_Time
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.00402770
mov ecx, dword [0x41c04c]
add esp, 0x14
mov dword [ecx + 0x14], eax
mov edx, dword [0x41c04c]
mov eax, dword [edx + 0x10]
push eax
call fcn.00402960
mov eax, dword [0x41c04c]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.00403550
fldz
fcomp dword [esp + 0x24]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x4071f9
mov ecx, dword [0x41c04c]
mov edx, dword [ecx + 0x10]
push edx
call fcn.00402360
mov eax, dword [0x41c04c]
add esp, 4
mov dword [eax + 0x10], ebp
jmp 0x4071f9
push 8
call fcn.0040911d
add esp, 4
cmp eax, ebp
je 0x4071d1
mov ecx, eax
call fcn.00401ad0
mov esi, eax
jmp 0x4071d3
xor esi, esi
mov dword [0x41dcf4], esi
cmp esi, ebp
je 0x4071f9
cmp dword [esi], ebp
jne 0x4071f3
mov ecx, esi
call fcn.00401b60
push esi
call fcn.0040920a
add esp, 4
xor esi, esi
mov dword [0x41dcf4], esi
mov eax, dword [0x41c04c]
cmp dword [eax + 0x10], ebp
jne 0x40727c
cmp dword [0x41dcf8], ebp
jne 0x40727c
cmp dword [0x41dcf4], ebp
jne 0x40727c
cmp dword [eax + 0x18], ebp
jne 0x40727c
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x1c]
push ecx
push ebp
lea edx, [esp + 0x20]
push edx
push 0x4036a0
push ebp
push ebp
mov dword [0x41dcd4], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call edi
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push ebp
lea ecx, [esp + 0x20]
push ecx
push 0x4036d0
push ebp
push ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call edi
mov edi, eax
cmp esi, ebp
je 0x40727c
cmp edi, ebp
je 0x40727c
push 0xfffffffffffffff1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call esi
push 0xf
push edi
call esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00408f97
add esp, 0x40
ret