Function at 0x1006a030
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 0x1006a2f8
mov esi, dword [esp + 0x1fc]
cmp esi, ebp
jle 0x1006a2f8
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.10064f20
mov edi, dword [esp + 0x204]
mov dword [edi], eax
cmp word [0x10309d5c], bp
je 0x1006a0fe
lea eax, [esi - 1]
cmp eax, 0x28
jl 0x1006a093
mov eax, 0x27
push eax
push 0x10309d5c
push ebx
call fcn.10079788
mov eax, dword [0x10309dfc]
mov ecx, dword [esp + 0x20c]
and eax, 0xffff
add esp, 0xc
mov dword [ecx], eax
mov eax, dword [0x1030ceb0]
cmp eax, ebp
je 0x1006a2f8
mov eax, dword [0x10309dfc]
mov edx, dword [edi]
and eax, 0xffff
push edx
push eax
push 0x10309d5c
push 0x10309dac
push str.GetUserInfo_Self___s____s____d____d_
push str.UserInfo
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e4
ret
cmp word [0x10309dac], bp
jne 0x1006a155
mov ecx, 0x14
xor eax, eax
mov edi, 0x10309dac
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 0x10309dac
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
call fcn.10075270
add esp, 0x10
cmp dword [0x1030ceb0], ebp
je 0x1006a180
push 0x10309d5c
push 0x10309dac
push str.GetUserInfo_Self___s____s_
push str.UserInfo
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
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.10066750
add esp, 8
test eax, eax
je 0x1006a2f8
lea edx, [esp + 0x64]
push 0x64
push edx
lea eax, [esp + 0x134]
push 0xffffffffffffffff
push eax
call fcn.10075270
mov eax, dword [0x1030ceb0]
add esp, 0x10
cmp eax, ebp
je 0x1006a208
lea ecx, [esp + 0x64]
push ecx
push str.GetUserInfo_Self_1___s_
push str.UserInfo
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
lea edx, [esp + 0x64]
push 0x5c
push edx
call fcn.100791b9
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x1006a26f
mov edi, esi
lea eax, [esp + 0x64]
sub edi, eax
push 0x10309dac
sar edi, 1
call fcn.10078f12
add esp, 4
cmp eax, edi
jne 0x1006a26f
lea ecx, [esp + 0x64]
push edi
push ecx
push 0x10309dac
call fcn.1007a728
add esp, 0xc
test eax, eax
jne 0x1006a26f
add esi, 2
push esi
call fcn.10078f12
lea edi, [eax + eax]
lea edx, [esp + 0x68]
push edi
push esi
push edx
call fcn.100797d0
add esp, 0x10
mov word [esp + edi + 0x64], bp
lea eax, [esp + 0x64]
push 0x27
push eax
push 0x10309d5c
call fcn.10079788
mov ecx, dword [esp + 0x208]
dec ecx
push ecx
push 0x10309d5c
push ebx
call fcn.10079788
add esp, 0x18
cmp word [0x10309d5c], bp
je 0x1006a2bf
push 0x102b586c
push 0x10309d5c
call fcn.10079f20
add esp, 8
neg eax
sbb eax, eax
neg eax
inc eax
mov word [0x10309dfc], ax
cmp dword [0x1030ceb0], ebp
je 0x1006a2f8
mov edx, dword [esp + 0x204]
mov ecx, dword [0x10309dfc]
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 0x1030c61c
call fcn.100a65e0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e4
ret