Function at 0x10011430
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b1b1
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x10027008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x47c], esi
push 2
push 0x1001eb2c
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
call fcn.10006130
mov dword [ebp - 4], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x47c], esp
mov dword [ebp - 0x428], 0x104
mov dword [ebp - 0x42c], 0x104
push 0xc
push str.GetUserNameW
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10001d80
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0xc
push 0x1001ea98
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10006130
mov byte [ebp - 4], 1
call fcn.10012040
add esp, 0x30
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
call eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x464], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x460], 0
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011570
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.10006130
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x45c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100115c0
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.10006130
push 0
push 0x1001da80
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 4
call fcn.10001c70
cmp dword [ebp - 0x448], 8
lea eax, [ebp - 0x45c]
push dword [ebp - 0x44c]
cmovae eax, dword [ebp - 0x45c]
lea ecx, [ebp - 0x444]
push eax
call fcn.10005530
push 1
push 0x1001e200
lea ecx, [ebp - 0x444]
call fcn.10005530
cmp dword [ebp - 0x460], 8
lea eax, [ebp - 0x474]
push dword [ebp - 0x464]
cmovae eax, dword [ebp - 0x474]
lea ecx, [ebp - 0x444]
push eax
call fcn.10005530
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x448]
cmp ecx, 8
jb 0x10011696
mov edx, dword [ebp - 0x45c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001168c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100116cc
push ecx
push edx
call fcn.100189ba
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x460]
cmp ecx, 8
jb 0x100116ea
mov edx, dword [ebp - 0x474]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100116d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100116d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100189ba
add esp, 8
jmp 0x100116ea
lea edx, [ebp - 0x444]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.10011b90
mov ecx, dword [ebp - 0x430]
cmp ecx, 8
jb 0x10011740
mov edx, dword [ebp - 0x444]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10011736
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011736
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100189ba
add esp, 8
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 - 0x14]
xor ecx, ebp
call fcn.10018459
mov esp, ebp
pop ebp
ret