Function at 0x10006d36
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
push ebx
push esi
push edi
xor edi, edi
push 0x498
lea eax, [ebp - 0x4c4]
push edi
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea ebx, [ebp - 0x4c4]
call fcn.10006c7b
test eax, eax
jns 0x10006da7
call fcn.10007a93
cmp edx, edi
jg 0x10006d88
jl 0x10006d80
cmp eax, 0xe10
jae 0x10006d88
or eax, 0xffffffff
jmp 0x10007006
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, 0x10020e1c
push ebx
lea eax, [ebp - 0x4c4]
push eax
call esi
push ebx
lea eax, [ebp - 0x4b4]
push eax
call esi
mov esi, 0x100
lea eax, [ebp - 0x2b4]
push esi
push eax
call fcn.100185b2
pop ecx
pop ecx
call fcn.10017383
mov byte [ebp - 0x30], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1b4]
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, 0x4e8
call fcn.1001321d
movzx ecx, word [ebp - 0x28]
push ecx
movzx ecx, word [ebp - 0x26]
push ecx
movzx ecx, word [ebp - 0x22]
push ecx
movzx ecx, word [ebp - 0x1c]
push ecx
movzx ecx, word [ebp - 0x1e]
push ecx
movzx ecx, word [ebp - 0x20]
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xb4]
push 0x3f
push eax
call fcn.100111ca
add esp, 0x24
lea eax, [ebp - 8]
call fcn.100132bb
push 1
call fcn.10011cff
pop ecx
push dword [0x1002b004]
mov dword [ebp - 0x74], eax
movzx eax, word [section..data]
push eax
push str._04x._u
lea eax, [ebp - 0x70]
push 0x40
push eax
call fcn.100111ca
add esp, 0x14
push 0x2f
call fcn.10011cff
mov esi, eax
pop ecx
mov eax, 0x344b
call fcn.1001321d
mov dword [ebp - 8], eax
cmp eax, edi
je 0x10006d80
cmp esi, edi
jne 0x10006e7a
mov esi, str.NULL
mov ecx, dword [ebp - 0x74]
cmp ecx, edi
jne 0x10006e86
mov ecx, 0x10020e30
cmp byte [ebp - 0x30], 1
mov eax, 0x10020e34
je 0x10006e96
mov eax, 0x10020e38
push esi
push 0x1002e998
push ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x2b4]
push ecx
push eax
push 0x1002d0c8
push 0x1002d048
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4c4]
push eax
push dword [ebp - 8]
mov edi, 0x3ffff
push edi
push esi
call fcn.100111ca
lea eax, [ebp - 8]
call fcn.100132bb
lea eax, [ebp - 0x10]
push eax
call fcn.1000a338
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x3c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10006feb
and dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0
jbe 0x10006fde
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test byte [eax], 4
jne 0x10006fcb
push esi
call ebx
inc eax
cmp eax, 0x40000
jae 0x10006fde
mov eax, dword [ebp - 0xc]
push dword [eax + 0x38]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push dword [ebp - 8]
push str._iface__d__s__s_
push esi
call ebx
mov ecx, edi
sub ecx, eax
push ecx
push esi
call ebx
add eax, esi
push eax
call fcn.100111ca
mov eax, dword [ebp - 0xc]
add esp, 0x18
test byte [eax], 1
je 0x10006f72
push 0x10020e50
jmp 0x10006f77
push str._DOWN
push esi
call ebx
mov ecx, edi
sub ecx, eax
push ecx
push esi
call ebx
add eax, esi
push eax
call fcn.100111ca
mov eax, dword [ebp - 0xc]
add esp, 0xc
test byte [eax], 8
je 0x10006fb0
push str._PPP
push esi
call ebx
mov ecx, edi
sub ecx, eax
push ecx
push esi
call ebx
add eax, esi
push eax
call fcn.100111ca
add esp, 0xc
push str.__n_0
push esi
call ebx
mov ecx, edi
sub ecx, eax
push ecx
push esi
call ebx
add eax, esi
push eax
call fcn.100111ca
add esp, 0xc
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], 0x4c
cmp eax, dword [ebp - 0x10]
jb 0x10006f10
xor eax, eax
lea esi, [ebp - 0x18]
call fcn.100110a9
mov esi, dword [ebp + 8]
push 0x10020c24
push esi
call ebx
sub edi, eax
push edi
push esi
call ebx
add eax, esi
push eax
call fcn.100111ca
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret