Function at 0xd3bf0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11a9b5
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x168], edx
mov esi, ecx
mov dword [ebp - 0x16c], esi
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov edi, dword [esi]
cmp edi, eax
je 0xd3c57
mov esi, eax
nop dword [eax]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax]
add edi, 0x1c
cmp edi, esi
jne 0xd3c40
mov esi, dword [ebp - 0x16c]
mov edi, dword [esi]
xor ecx, ecx
mov dword [esi + 4], edi
xor eax, eax
mov dword [ebp - 0x148], 0x129c14
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], 7
mov word [ebp - 0x144], ax
mov dword [ebp - 4], 1
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x168]
inc dword [0x134754]
add eax, 4
cmp edx, eax
je 0xd3cbe
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0xd3ca9
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x144]
call fcn.000d1370
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], 2
test ecx, ecx
jne 0xd3d56
push 0x100
push ecx
lea eax, [ebp - 0x110]
push eax
call fcn.000f3cb0
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0xd3d0b
lea ecx, [ebp - 0x148]
call fcn.000ced70
or eax, 0xffffffff
jmp 0xd3f98
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x12c]
call fcn.000ce7f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], 8
lea ecx, [ebp - 0x144]
push dword [ebp - 0x118]
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.000d1370
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.000ced70
xorps xmm0, xmm0
mov dword [ebp - 0x164], 0
movups xmmword [ebp - 0x18c], xmm0
push ecx
lea eax, [ebp - 0x160]
mov dword [ebp - 0x188], 2
push eax
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x18c], 1
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x184], 1
call fcn.000d04b0
cmp dword [ebp - 0x14c], 0x10
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x18c]
push ecx
lea eax, [ebp - 0x160]
cmovae eax, dword [ebp - 0x160]
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 4], 4
test eax, eax
jne 0xd3ef5
mov edi, dword [ebp - 0x164]
test edi, edi
je 0xd3ef5
mov eax, dword [edi + 0x18]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0xd3ed9
push eax
lea ecx, [ebp - 0x12c]
call fcn.000ce7f0
mov byte [ebp - 4], 7
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0xd3e76
mov dword [eax], 0x129c14
lea ecx, [eax + 4]
mov dword [ebp - 0x168], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x128]
inc dword [0x134754]
cmp ecx, eax
je 0xd3e70
cmp dword [ebp - 0x114], 8
push dword [ebp - 0x118]
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.000d1370
add dword [esi + 4], 0x1c
jmp 0xd3e85
lea ecx, [ebp - 0x12c]
push ecx
push eax
mov ecx, esi
call fcn.000c6610
mov byte [ebp - 4], 4
dec dword [0x134754]
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x12c], 0x129c14
cmp edx, 8
jb 0xd3ed9
mov ecx, dword [ebp - 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xd3ecf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd3fb3
push edx
push ecx
call fcn.000f17bc
add esp, 8
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0xd3df4
mov eax, dword [ebp - 0x164]
test eax, eax
je 0xd3ef5
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0xd3f2f
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd3f25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd3fb3
push edx
push ecx
call fcn.000f17bc
add esp, 8
dec dword [0x134754]
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
mov dword [ebp - 0x148], 0x129c14
cmp edx, 8
jb 0xd3f96
mov ecx, dword [ebp - 0x144]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xd3f8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd3fb3
push edx
push ecx
call fcn.000f17bc
add esp, 8
xor eax, eax
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.000f1776
mov esp, ebp
pop ebp
ret
call fcn.000f75a6
int3