Function at 0x10012210
Capabilities:
Get hostname

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100299e1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x250], edi
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x250], edi
call fcn.10012550
mov esi, eax
mov dword [ebp - 0x250], esi
xor eax, eax
mov dword [ebp - 4], 0
push 0x1fe
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x234], 0xff
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10012394
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.100120d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 7
mov eax, dword [ebp - 0x220]
cmova ecx, dword [ebp - 0x230]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x230]
cmova ecx, dword [ebp - 0x230]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x24c]
call fcn.10014d00
movups xmm0, xmmword [ebp - 0x24c]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [ebp - 0x23c]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x21c]
movq qword [ebp - 0x258], xmm0
cmp ecx, 7
jbe 0x1001236f
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012365
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012365
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov esi, dword [ebp - 0x250]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
jmp 0x100123c4
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x258], 0
push 0x1002df80
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 0
movups xmmword [ebp - 0x268], xmm0
call fcn.10009bd0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x254]
mov eax, edx
mov ecx, dword [ebp - 0x258]
sub eax, ecx
cmp eax, 1
jb 0x10012404
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x268]
cmova eax, dword [ebp - 0x268]
mov word [eax + ecx], 0x2f
lea eax, [ebp - 0x268]
jmp 0x10012425
push 1
push 0x1002e0c4
mov byte [ebp - 0x250], 0
lea ecx, [ebp - 0x268]
push dword [ebp - 0x250]
push 1
call fcn.10009a40
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x250]
mov ecx, edi
call fcn.10009240
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0xf
jbe 0x100124a0
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012496
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001251d
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov ecx, dword [ebp - 0x254]
cmp ecx, 0xf
jbe 0x100124d6
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100124cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001251d
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
cmp ecx, 0xf
jbe 0x1001252d
mov edx, dword [ebp - 0x284]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012523
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012523
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10026cc1
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10026c90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret