Function at 0x1000cd23
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
mov eax, dword [0x1024a460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1f0], edi
cmp eax, ebx
je 0x1000cff4
push esi
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jle 0x1000cff3
lea ecx, [esi + esi]
push ecx
push ebx
push eax
call fcn.10099920
add esp, 0xc
call fcn.1000899a
mov dword [edi], eax
cmp word [0x10261a20], bx
je 0x1000cde9
lea eax, [esi - 1]
cmp eax, 0x28
jl 0x1000cd92
push 0x27
pop eax
push eax
mov esi, 0x10261a20
push esi
push dword [ebp - 0x1ec]
call fcn.10099ebc
movzx eax, word [0x10261a18]
mov ecx, dword [ebp - 0x1e8]
add esp, 0xc
mov dword [ecx], eax
cmp dword [0x10269fe8], ebx
je 0x1000cff3
push dword [edi]
push eax
push esi
push 0x102619c8
push str.GetUserInfo_Self___s____s____d____d_
push str.UserInfo
push 0xffffffffffffffff
push 0x10269f7c
call fcn.10025270
add esp, 0x20
jmp 0x1000cff3
mov edi, 0x102619c8
cmp word [0x102619c8], bx
jne 0x1000ce3f
push 0x50
push ebx
push edi
call fcn.10099920
xor eax, eax
push 0x4e
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push ebx
push eax
call fcn.10099920
add esp, 0x18
push 0x28
pop esi
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x1e8], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
push edi
lea eax, [ebp - 0x54]
push 0xffffffffffffffff
push eax
call fcn.1001c2bc
add esp, 0x10
mov esi, 0x10261a20
cmp dword [0x10269fe8], ebx
je 0x1000ce67
push esi
push edi
push str.GetUserInfo_Self___s____s_
push str.UserInfo
push 0xffffffffffffffff
push 0x10269f7c
call fcn.10025270
add esp, 0x18
xor eax, eax
mov ebx, 0xc6
push ebx
push eax
mov word [ebp - 0x1e4], ax
lea eax, [ebp - 0x1e2]
push eax
call fcn.10099920
xor eax, eax
push ebx
push eax
mov word [ebp - 0x11c], ax
lea eax, [ebp - 0x11a]
push eax
call fcn.10099920
lea eax, [ebp - 0x1e4]
push 0x64
push eax
call fcn.1000a0ab
add esp, 0x20
test eax, eax
je 0x1000cff3
push 0x64
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x1e4]
push 0xffffffffffffffff
push eax
call fcn.1001c2bc
add esp, 0x10
cmp dword [0x10269fe8], 0
je 0x1000cef6
lea eax, [ebp - 0x11c]
push eax
push str.GetUserInfo_Self_1___s_
push str.UserInfo
push 0xffffffffffffffff
push 0x10269f7c
call fcn.10025270
add esp, 0x14
lea eax, [ebp - 0x11c]
push 0x5c
push eax
call fcn.1009a256
pop ecx
pop ecx
mov dword [ebp - 0x1e8], eax
test eax, eax
je 0x1000cf71
mov ebx, eax
lea eax, [ebp - 0x11c]
sub ebx, eax
push edi
sar ebx, 1
call fcn.10099f06
pop ecx
cmp eax, ebx
jne 0x1000cf71
push ebx
lea eax, [ebp - 0x11c]
push eax
push edi
call fcn.1009ac03
add esp, 0xc
test eax, eax
jne 0x1000cf71
add dword [ebp - 0x1e8], 2
push dword [ebp - 0x1e8]
call fcn.10099f06
lea edi, [eax + eax]
push edi
push dword [ebp - 0x1e8]
lea eax, [ebp - 0x11c]
push eax
call fcn.1009b5b0
add esp, 0x10
xor eax, eax
mov word [ebp + edi - 0x11c], ax
push 0x27
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.10099ebc
mov eax, dword [ebp + 0xc]
dec eax
push eax
push esi
push dword [ebp - 0x1ec]
call fcn.10099ebc
add esp, 0x18
cmp word [0x10261a20], 0
je 0x1000cfbb
push 0x101e8fb4
push esi
call fcn.1009a330
pop ecx
pop ecx
test eax, eax
jne 0x1000cfb2
inc eax
jmp 0x1000cfb5
push 2
pop eax
mov word [0x10261a18], ax
cmp dword [0x10269fe8], 0
je 0x1000cff3
mov eax, dword [ebp - 0x1f0]
push dword [eax]
movzx eax, word [0x10261a18]
push eax
push dword [ebp - 0x1ec]
push str.GetUserInfo_Self_1___s____d____d_
push str.UserInfo
push 0xffffffffffffffff
push 0x10269f7c
call fcn.10025270
add esp, 0x1c
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100997fa
leave
ret