Function at 0x72d470
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73fa65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4dc
push esi
push edi
xor esi, esi
mov dword [ebp - 0x48], 0
mov edi, 0xf
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x48], 0
push 0x14
mov dword [ebp - 4], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00503d60
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
push eax
push 0x10
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x74], 0x3f800000
call fcn.0048c350
push 0x50
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x72d53e
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0xb
push str.gethostname
call fcn.0047e790
mov dword [esi + 0x18], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
mov byte [ebp - 0xd], 0
jmp 0x72d8ba
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x78], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 2
push 0x749c2a
lea eax, [ebp - 0xe4]
movlpd qword [ebp - 0x88], xmm0
push eax
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x94], 0xc00
mov dword [ebp - 0x90], 0
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x72d5e9
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0xb
push 0x80ca2c
call fcn.0047e790
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xe4]
mov dword [esi + 0x1c], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x72d5c7
sub ecx, edx
lea eax, [ebp - 0xe4]
push ecx
push eax
lea ecx, [esi + 0x20]
call fcn.0047e790
mov byte [ebp - 0xd], 0
jmp 0x72d8ba
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x72d847
mov edx, dword [sym.imp.WS2_32.dll_getnameinfo]
mov esi, 0x100
nop word [eax + eax]
mov eax, dword [ecx + 4]
cmp eax, 2
jne 0x72d6e2
push eax
push 0
push 0
push 0x401
lea eax, [ebp - 0x4e8]
push eax
push 0x10
push dword [ecx + 0x18]
call edx
mov esi, eax
test esi, esi
je 0x72d661
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x14]
push dword [ecx + 4]
push eax
push esi
call fcn.0072da80
add esp, 0x18
jmp 0x72d81a
mov ecx, str.127.0.0.1
lea eax, [ebp - 0x4e8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x72d690
test dl, dl
je 0x72d68c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x72d690
add eax, 2
add ecx, 2
test dl, dl
jne 0x72d670
xor eax, eax
jmp 0x72d695
sbb eax, eax
or eax, 1
test eax, eax
je 0x72d7ff
lea ecx, [ebp - 0x4e8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x72d6c0
sub ecx, edx
lea eax, [ebp - 0x4e8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0047e790
mov byte [ebp - 4], 4
jmp 0x72d793
cmp eax, 0x17
jne 0x72d7ff
mov ecx, dword [ecx + 0x18]
cmp byte [ecx + 8], 0xfe
jne 0x72d701
mov al, byte [ecx + 9]
and al, 0xc0
cmp al, 0x80
je 0x72d820
cmp word [ecx + 8], 0
jne 0x72d73c
cmp word [ecx + 0xa], 0
jne 0x72d73c
cmp word [ecx + 0xc], 0
jne 0x72d73c
cmp word [ecx + 0xe], 0
jne 0x72d73c
cmp word [ecx + 0x10], 0
jne 0x72d73c
cmp word [ecx + 0x12], 0
jne 0x72d73c
cmp word [ecx + 0x14], 0
jne 0x72d73c
cmp word [ecx + 0x16], si
je 0x72d820
push 2
push 0
push 0
push 0x401
lea eax, [ebp - 0x4e8]
push eax
push 0x1c
push ecx
call edx
mov esi, eax
test esi, esi
jne 0x72d63a
lea ecx, [ebp - 0x4e8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x72d776
sub ecx, edx
lea eax, [ebp - 0x4e8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0047e790
mov byte [ebp - 4], 5
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x72d7bb
movups xmm0, xmmword [ebp - 0x30]
mov edx, 0xf
mov byte [ebp - 0x30], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x72d7ca
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, edi
call fcn.004817a0
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x72d7ff
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x72d7f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x72d902
push edx
push ecx
call fcn.00503df0
add esp, 8
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp + 0x10]
je 0x72d836
mov edx, dword [sym.imp.WS2_32.dll_getnameinfo]
mov ecx, dword [ebp - 0x14]
mov esi, 0x100
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x72d610
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x72d844
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov esi, dword [ebp - 0x38]
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x72d89d
test esi, esi
je 0x72d89d
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0xb
push 0x80ca38
call fcn.0047e790
mov eax, dword [ebp - 0x54]
lea ecx, [esi + 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x48]
cmp ecx, eax
je 0x72d89d
cmp dword [ebp - 0x34], 0x10
mov edx, eax
push dword [ebp - 0x38]
cmovae edx, dword [ebp - 0x48]
push edx
call fcn.0047e790
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
mov edi, dword [ebp - 0x34]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
setne byte [ebp - 0xd]
lea ecx, [ebp - 0x74]
call fcn.0052c070
cmp edi, 0x10
jb 0x72d8ef
mov ecx, dword [ebp - 0x48]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x72d8e5
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x72d902
push edi
push ecx
call fcn.00503df0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.006fee64
int3