Function at 0x44dad0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b56d6
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4e42e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xf0], eax
call fcn.0044e090
push pe_nt_image_headers32
call fcn.004723fa
mov edi, eax
push pe_nt_image_headers32
push 0
push edi
lea esi, [edi + 0x100]
mov dword [ebp - 0xec], edi
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf8], esi
call fcn.0048a240
add esp, 0x10
mov dword [ebp - 0xfc], esi
push 0xff
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x44dc1e
nop dword [eax]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x271e
jne 0x44dd5e
mov ecx, esi
sub ecx, edi
mov dword [ebp - 0xf0], ecx
cmp ecx, 0x2000
ja 0x44dd5e
lea edx, [ecx + ecx]
mov byte [ebp - 0xe1], 0
cmp edx, ecx
jae 0x44dbaa
lea esi, [edi + edx]
jmp 0x44dbfd
jbe 0x44dc03
mov eax, dword [ebp - 0xe8]
sub eax, edi
cmp edx, eax
jbe 0x44dbeb
lea eax, [ebp - 0xe1]
push eax
push edx
lea ecx, [ebp - 0x100]
call fcn.0044d720
mov eax, dword [ebp - 0xf8]
mov esi, dword [ebp - 0xfc]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xec], eax
jmp 0x44dc03
push ecx
push 0
push esi
call fcn.0048a240
add esp, 0xc
add esi, dword [ebp - 0xf0]
mov dword [ebp - 0xfc], esi
mov edi, dword [ebp - 0xec]
mov eax, esi
sub eax, edi
dec eax
push eax
push edi
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x44db70
cmp byte [ebp + 0xc], 0
je 0x44dff6
push 0x90
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 2
lea eax, [ebp - 0xd0]
movlpd qword [ebp - 0x118], xmm0
push 0
push eax
movlpd qword [ebp - 0x110], xmm0
movlpd qword [ebp - 0x108], xmm0
call fcn.0048a240
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
mov dword [ebp - 0xdc], 0x9c
mov dword [ebp - 0xd8], 6
mov dword [ebp - 0xd4], 1
push 3
push 2
push 0
push 0
call esi
push 3
push 1
push edx
push eax
call esi
push edx
push eax
push 3
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
neg eax
mov dword [ebp - 0xf0], 0
sbb eax, eax
and eax, 0x1fffe
add eax, 2
mov dword [ebp - 0x120], eax
mov ecx, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44dcf0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00408c80
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0x120]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 0x10
jb 0x44de76
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44de6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e077
jmp 0x44de6c
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00435b80
add esp, 8
push 0x23
push str.Failed_to_get_own_hostname._Error:
push 0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00410e90
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00432a80
mov ecx, eax
call fcn.00433c80
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x44ddfd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44ddf3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e07c
push edx
push ecx
call fcn.0047242a
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x44de47
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44de3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e07c
push edx
push ecx
call fcn.0047242a
add esp, 8
mov eax, dword [ebp - 0xe0]
mov ecx, eax
push 7
push str.unknown
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
jmp 0x44e01f
push edx
push ecx
call fcn.0047242a
add esp, 8
test esi, esi
je 0x44df93
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00435b80
add esp, 8
push 0x27
push str.Failed_to_resolve_own_hostname._Error:
push 0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00410e90
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.00432a80
mov ecx, eax
call fcn.00433c80
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x44df24
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44df1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e081
push edx
push ecx
call fcn.0047242a
add esp, 8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 3
call fcn.00404260
push edi
mov edi, dword [ebp - 0xe0]
mov ecx, edi
call fcn.00403d10
mov edx, dword [ebp - 0xec]
test edx, edx
je 0x44e05a
mov ecx, dword [ebp - 0xe8]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x44df84
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e07c
push ecx
push edx
call fcn.0047242a
add esp, 8
jmp 0x44e05a
mov esi, dword [ebp - 0xf4]
mov edi, dword [ebp - 0xe0]
mov ecx, edi
mov dword [ebp - 0xf0], esi
push dword [esi + 0x14]
call fcn.00403d10
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov edx, dword [ebp - 0xec]
test edx, edx
je 0x44e05a
mov ecx, dword [ebp - 0xe8]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x44dfea
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e07c
push ecx
push edx
call fcn.0047242a
add esp, 8
jmp 0x44e05a
mov edx, dword [ebp - 0xe0]
mov ecx, edi
mov dword [edx + 0x10], 0
lea esi, [ecx + 1]
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44e012
sub ecx, esi
push ecx
push edi
mov ecx, edx
call fcn.00408c80
test edi, edi
je 0x44e054
mov ecx, dword [ebp - 0xe8]
sub ecx, edi
cmp ecx, 0x1000
jb 0x44e04a
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x44e07c
mov edi, edx
push ecx
push edi
call fcn.0047242a
add esp, 8
mov edi, dword [ebp - 0xe0]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472897
mov esp, ebp
pop ebp
ret
call fcn.0048d2da
call fcn.0048d2da
call fcn.0048d2da
int3