Function at 0x1001d1b0
Capabilities:
Get hostname
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003489b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x10048024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
mov byte [ebp - 0x114], 0
push 0xff
push 0
lea eax, [ebp - 0x113]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], pe_nt_image_headers32
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 4], 0
push str.HELO
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
mov ecx, dword [ebp - 0x13c]
add ecx, 0xc
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x1001d26f
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
jmp 0x1001d280
push str.HostName
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
push 0x1003aa14
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
push 0
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
push eax
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx + 4]
push edx
call sub.WS2_32.dll_send
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
cmp dword [ebp - 0x134], eax
je 0x1001d365
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0x140], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x185
push 0x1003aa18
call fcn.1001b330
add esp, 8
push eax
push 0x1003aa30
mov eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
add esp, 0x10
mov ecx, dword [ebp - 0x13c]
cmp dword [ecx + 4], 0xffffffff
je 0x1001d343
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 4]
push eax
call sub.WS2_32.dll_closesocket
mov ecx, dword [ebp - 0x13c]
mov dword [ecx + 4], 0xffffffff
mov byte [ebp - 0x135], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x135]
jmp 0x1001d394
push 0xfa
mov ecx, dword [ebp - 0x13c]
call fcn.1001b650
mov byte [ebp - 0x136], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x136]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000f672
mov esp, ebp
pop ebp
ret