Function at 0x100f5900
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0x300]
sub esp, 0x300
push 0xffffffffffffffff
push 0x101c41a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1021e964]
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.101a4190
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], 0x10021ab0
mov byte [ebp + 0x24], 0x64
call fcn.101a4190
add esp, 0x18
mov dword [ebp - 4], 0
lea edi, [esi + 0x1d0]
call fcn.100ac200
mov ecx, eax
call fcn.100ac500
mov dword [edi], eax
call fcn.101083c0
mov ecx, eax
call fcn.10109520
test al, al
je 0x100f59d2
mov dword [edi], 0
push esi
mov byte [esi + 0x2a2], 1
mov dword [esi + 0x2bc], 0x73c1606
call fcn.100f5bd0
lea eax, [ebp + 0x2f0]
mov dword [ebp + 0x2f8], 0
xorps xmm0, xmm0
push eax
movq qword [ebp + 0x2f0], xmm0
call fcn.100fca80
add esp, 8
lea ecx, [ebp + 0x2f0]
mov byte [ebp - 4], 1
call fcn.100a9020
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 0x100f5a38
sub ecx, dword [ebp - 0x10]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1004a870
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.101340b0
mov edx, dword [ebp - 0x14]
add esp, 8
cmp edx, 0x10
jb 0x100f5a95
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x100f5a8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f5bc9
push edx
push ecx
call fcn.1018d246
add esp, 8
lea ecx, [ebp + 0x2f0]
mov byte [ebp - 4], 0
call fcn.10043210
lea eax, [esi + 0x1f0]
push 0x80
push eax
call fcn.10134810
add esp, 8
test al, al
jne 0x100f5acc
mov eax, dword [ebx]
mov ecx, ebx
push 0x69
call dword [eax + 4]
xor esi, esi
jmp 0x100f5b93
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 0x100f5ae0
sub ecx, edx
jne 0x100f5af4
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 0x100f5af7
sub edi, ecx
mov eax, 0x80
sub eax, edi
push eax
lea eax, [esi + 0x134]
add eax, edi
push 0
push eax
call fcn.101a4190
mov eax, dword [ebp + 0x308]
lea edi, [ebp + 0x2c]
and eax, 0x13
mov ecx, 0xb0
or eax, 0x10000000
add esp, 0xc
cmp byte [ebx + 0x228], 0
mov dword [ebp + 0x28], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
je 0x100f5b5b
call fcn.100f6d10
movzx ecx, word [ebx + 0x226]
mov dword [ebp + 0x200], ecx
mov byte [ebp + 0x2cf], al
jmp 0x100f5b70
call fcn.100f6d10
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.1012bc10
test al, al
jne 0x100f5b8d
xor esi, esi
jmp 0x100f5b93
mov esi, dword [ebp + 0x2ec]
lea ecx, [ebp]
mov dword [ebp], 0x10021ab0
call fcn.10124420
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.1018d760
lea esp, [ebp + 0x300]
pop ebp
ret 8
call fcn.100be3b4
int3