Function at 0x100c448
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x1010368]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x141], bl
mov dword [ebp - 0x150], 0x10
mov dword [ebp - 0x154], 0x1c
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x12], bl
mov byte [ebp - 0x11], bl
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], 1
mov byte [ebp - 0x142], bl
mov byte [ebp - 0x143], bl
call fcn.0100bfaa
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x14c], esi
jne 0x100c4d8
xor al, al
jmp 0x100c5a5
push 7
push esi
push 0x1002268
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x100c580
push edi
mov edi, dword [sym.imp.msvcrt.dll__stricmp]
add esi, 7
push 0x1002270
push esi
call edi
test eax, eax
pop ecx
pop ecx
je 0x100c578
push 0x100
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x100c57f
lea eax, [ebp - 0x114]
push eax
push esi
call edi
test eax, eax
pop ecx
pop ecx
je 0x100c578
xor eax, eax
lea edi, [ebp - 0x124]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x124]
push eax
push ebx
push 2
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAStringToAddressA]
mov word [ebp - 0x124], 2
call esi
cmp eax, 0xffffffff
je 0x100c5b3
cmp byte [ebp - 0x120], 0x7f
mov byte [ebp - 0x143], 1
jne 0x100c608
mov byte [ebp - 0x141], 1
pop edi
push dword [ebp - 0x14c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
cmp dword [ebp - 0x148], ebx
pop ecx
je 0x100c59f
push dword [ebp - 0x148]
call fcn.0100bd1c
mov al, byte [ebp - 0x141]
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0100cc0e
leave
ret 4
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x140]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x14c]
push ebx
push 0x17
add eax, 7
push eax
mov word [ebp - 0x140], 0x17
call esi
cmp eax, 0xffffffff
je 0x100c608
push 4
pop ecx
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x138]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov byte [ebp - 0x142], 1
je 0x100c578
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x174]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x174]
push eax
push ebx
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x174], 2
mov dword [ebp - 0x170], ebx
call fcn.0100bcdf
cmp eax, 0xffffffff
je 0x100c57f
mov eax, dword [ebp - 0x148]
jmp 0x100c69f
cmp byte [ebp - 0x143], bl
je 0x100c671
cmp dword [eax + 4], 2
jne 0x100c69c
mov edx, dword [eax + 0x18]
add edx, 4
mov edx, dword [edx]
lea ecx, [ebp - 0x120]
cmp edx, dword [ecx]
jmp 0x100c696
cmp byte [ebp - 0x142], bl
je 0x100c57f
cmp dword [eax + 4], 0x17
jne 0x100c69c
mov esi, dword [eax + 0x18]
push 4
add esi, 8
pop ecx
lea edi, [ebp - 0x138]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x100c578
mov eax, dword [eax + 0x1c]
cmp eax, ebx
jne 0x100c651
jmp 0x100c57f