Function at 0x7399c0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74c3d5
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.00512870
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.00491eb0
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 0x739a8e
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0xb
push str.gethostname
call fcn.00483e90
mov dword [esi + 0x18], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1c], eax
mov byte [ebp - 0xd], 0
jmp 0x739e0a
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 0x757eea
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 0x739b39
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0xb
push 0x81ba64
call fcn.00483e90
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 0x739b17
sub ecx, edx
lea eax, [ebp - 0xe4]
push ecx
push eax
lea ecx, [esi + 0x20]
call fcn.00483e90
mov byte [ebp - 0xd], 0
jmp 0x739e0a
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x739d97
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 0x739c32
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 0x739bb1
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.00739fd0
add esp, 0x18
jmp 0x739d6a
mov ecx, str.127.0.0.1
lea eax, [ebp - 0x4e8]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x739be0
test dl, dl
je 0x739bdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x739be0
add eax, 2
add ecx, 2
test dl, dl
jne 0x739bc0
xor eax, eax
jmp 0x739be5
sbb eax, eax
or eax, 1
test eax, eax
je 0x739d4f
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 0x739c10
sub ecx, edx
lea eax, [ebp - 0x4e8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00483e90
mov byte [ebp - 4], 4
jmp 0x739ce3
cmp eax, 0x17
jne 0x739d4f
mov ecx, dword [ecx + 0x18]
cmp byte [ecx + 8], 0xfe
jne 0x739c51
mov al, byte [ecx + 9]
and al, 0xc0
cmp al, 0x80
je 0x739d70
cmp word [ecx + 8], 0
jne 0x739c8c
cmp word [ecx + 0xa], 0
jne 0x739c8c
cmp word [ecx + 0xc], 0
jne 0x739c8c
cmp word [ecx + 0xe], 0
jne 0x739c8c
cmp word [ecx + 0x10], 0
jne 0x739c8c
cmp word [ecx + 0x12], 0
jne 0x739c8c
cmp word [ecx + 0x14], 0
jne 0x739c8c
cmp word [ecx + 0x16], si
je 0x739d70
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 0x739b8a
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 0x739cc6
sub ecx, edx
lea eax, [ebp - 0x4e8]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00483e90
mov byte [ebp - 4], 5
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x739d0b
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 0x739d1a
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, edi
call fcn.00486eb0
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x739d4f
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x739d45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x739e52
push edx
push ecx
call fcn.00512900
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 0x739d86
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 0x739b60
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x739d94
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 0x739ded
test esi, esi
je 0x739ded
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0xb
push 0x81ba70
call fcn.00483e90
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 0x739ded
cmp dword [ebp - 0x34], 0x10
mov edx, eax
push dword [ebp - 0x38]
cmovae edx, dword [ebp - 0x48]
push edx
call fcn.00483e90
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.00538ab0
cmp edi, 0x10
jb 0x739e3f
mov ecx, dword [ebp - 0x48]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x739e35
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x739e52
push edi
push ecx
call fcn.00512900
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.0070b6e4
int3