Function at 0x10068100
Capabilities:
Get hostname

Disassembly:
sub esp, 0x1e4
push ebx
mov ebx, dword [esp + 0x1ec]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
je 0x100683c8
mov esi, dword [esp + 0x1fc]
cmp esi, ebp
jle 0x100683c8
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.10062ff0
mov edi, dword [esp + 0x204]
mov dword [edi], eax
cmp word [0x1030791c], bp
je 0x100681ce
lea eax, [esi - 1]
cmp eax, 0x28
jl 0x10068163
mov eax, 0x27
push eax
push 0x1030791c
push ebx
call fcn.10077828
mov eax, dword [0x103079bc]
mov ecx, dword [esp + 0x20c]
and eax, 0xffff
add esp, 0xc
mov dword [ecx], eax
mov eax, dword [0x1030aa70]
cmp eax, ebp
je 0x100683c8
mov eax, dword [0x103079bc]
mov edx, dword [edi]
and eax, 0xffff
push edx
push eax
push 0x1030791c
push 0x1030796c
push str.GetUserInfo_Self___s____s____d____d_
push str.UserInfo
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e4
ret
cmp word [0x1030796c], bp
jne 0x10068225
mov ecx, 0x14
xor eax, eax
mov edi, 0x1030796c
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
mov ecx, 0x13
lea edi, [esp + 0x16]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
stosw word es:[edi], ax
mov dword [esp + 0x18], 0x28
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x28
push 0x1030796c
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
call fcn.10073310
add esp, 0x10
cmp dword [0x1030aa70], ebp
je 0x10068250
push 0x1030791c
push 0x1030796c
push str.GetUserInfo_Self___s____s_
push str.UserInfo
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x18
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x12e]
mov word [esp + 0x12c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x66]
mov word [esp + 0x64], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x12c]
push 0x64
push ecx
stosw word es:[edi], ax
call fcn.10064820
add esp, 8
test eax, eax
je 0x100683c8
lea edx, [esp + 0x64]
push 0x64
push edx
lea eax, [esp + 0x134]
push 0xffffffffffffffff
push eax
call fcn.10073310
mov eax, dword [0x1030aa70]
add esp, 0x10
cmp eax, ebp
je 0x100682d8
lea ecx, [esp + 0x64]
push ecx
push str.GetUserInfo_Self_1___s_
push str.UserInfo
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
lea edx, [esp + 0x64]
push 0x5c
push edx
call fcn.10077259
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x1006833f
mov edi, esi
lea eax, [esp + 0x64]
sub edi, eax
push 0x1030796c
sar edi, 1
call fcn.10076fb2
add esp, 4
cmp eax, edi
jne 0x1006833f
lea ecx, [esp + 0x64]
push edi
push ecx
push 0x1030796c
call fcn.100787c8
add esp, 0xc
test eax, eax
jne 0x1006833f
add esi, 2
push esi
call fcn.10076fb2
lea edi, [eax + eax]
lea edx, [esp + 0x68]
push edi
push esi
push edx
call fcn.10077870
add esp, 0x10
mov word [esp + edi + 0x64], bp
lea eax, [esp + 0x64]
push 0x27
push eax
push 0x1030791c
call fcn.10077828
mov ecx, dword [esp + 0x208]
dec ecx
push ecx
push 0x1030791c
push ebx
call fcn.10077828
add esp, 0x18
cmp word [0x1030791c], bp
je 0x1006838f
push 0x102b386c
push 0x1030791c
call fcn.10077fc0
add esp, 8
neg eax
sbb eax, eax
neg eax
inc eax
mov word [0x103079bc], ax
cmp dword [0x1030aa70], ebp
je 0x100683c8
mov edx, dword [esp + 0x204]
mov ecx, dword [0x103079bc]
and ecx, 0xffff
mov eax, dword [edx]
push eax
push ecx
push ebx
push str.GetUserInfo_Self_1___s____d____d_
push str.UserInfo
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e4
ret