Function at 0x571ea0
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0x300]
sub esp, 0x300
push 0xffffffffffffffff
push 0x624d50
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x653af8]
xor eax, ebp
mov dword [ebp + 0x2fc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x30c]
lea eax, [ebp]
push 0x2f0
push 0
push eax
call fcn.006046d0
push 0x2c8
lea eax, [ebp + 0x28]
mov dword [ebp + 4], 0xffffffff
push 0
push eax
mov dword [ebp + 8], 0
mov byte [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0xffffffff
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0x20], 0
mov dword [ebp], 0x4a35a4
mov byte [ebp + 0x24], 0x64
call fcn.006046d0
add esp, 0x18
mov dword [ebp - 4], 0
lea edi, [esi + 0x1d0]
call fcn.00528fe0
mov ecx, eax
call fcn.005292b0
mov dword [edi], eax
call fcn.00582e40
mov ecx, eax
call fcn.00583f00
test al, al
je 0x571f72
mov dword [edi], 0
push esi
mov byte [esi + 0x2a2], 1
mov dword [esi + 0x2bc], 0x7281385
call fcn.00572170
lea eax, [ebp + 0x2f0]
mov dword [ebp + 0x2f8], 0
xorps xmm0, xmm0
push eax
movq qword [ebp + 0x2f0], xmm0
call fcn.00578340
add esp, 8
lea ecx, [ebp + 0x2f0]
mov byte [ebp - 4], 1
call fcn.00525e60
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x571fd8
sub ecx, dword [ebp - 0x10]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004c22a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.005aa5b0
mov edx, dword [ebp - 0x14]
add esp, 8
cmp edx, 0x10
jb 0x572035
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x57202b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x572169
push edx
push ecx
call fcn.006024e7
add esp, 8
lea ecx, [ebp + 0x2f0]
mov byte [ebp - 4], 0
call fcn.004bae80
lea eax, [esi + 0x1f0]
push 0x80
push eax
call fcn.005aad10
add esp, 8
test al, al
jne 0x57206c
mov eax, dword [ebx]
mov ecx, ebx
push 0x69
call dword [eax + 4]
xor esi, esi
jmp 0x572133
lea edi, [esi + 0x134]
mov byte [esi + 0x1b3], 0
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x572080
sub ecx, edx
jne 0x572094
push 0x7f
push edi
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x572097
sub edi, ecx
mov eax, 0x80
sub eax, edi
push eax
lea eax, [esi + 0x134]
add eax, edi
push 0
push eax
call fcn.006046d0
mov eax, dword [ebp + 0x308]
lea edi, [ebp + 0x2c]
and eax, 0x13
mov ecx, 0xb0
or eax, 0x10000000
add esp, 0xc
cmp byte [ebx + 0x1f4], 0
mov dword [ebp + 0x28], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
je 0x5720fb
call fcn.005732b0
movzx ecx, word [ebx + 0x1f2]
mov dword [ebp + 0x200], ecx
mov byte [ebp + 0x2cf], al
jmp 0x572110
call fcn.005732b0
movzx eax, al
mov dword [ebp + 0x200], eax
mov byte [ebp + 0x2cf], 0
push 1
push 8
push 0x2c8
lea eax, [ebp]
push eax
lea ecx, [ebx + 0x18]
call fcn.005a3180
test al, al
jne 0x57212d
xor esi, esi
jmp 0x572133
mov esi, dword [ebp + 0x2ec]
lea ecx, [ebp]
mov dword [ebp], 0x4a35a4
call fcn.0059d3e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2fc]
xor ecx, ebp
call fcn.00602a00
lea esp, [ebp + 0x300]
pop ebp
ret 8
call fcn.0053accc
int3