Function at 0x1005d620
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 0x1005d8e8
mov esi, dword [esp + 0x1fc]
cmp esi, ebp
jle 0x1005d8e8
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.10058510
mov edi, dword [esp + 0x204]
mov dword [edi], eax
cmp word [0x102f44e4], bp
je 0x1005d6ee
lea eax, [esi - 1]
cmp eax, 0x28
jl 0x1005d683
mov eax, 0x27
push eax
push 0x102f44e4
push ebx
call fcn.1006c1b8
mov eax, dword [0x102f4584]
mov ecx, dword [esp + 0x20c]
and eax, 0xffff
add esp, 0xc
mov dword [ecx], eax
mov eax, dword [0x102f7658]
cmp eax, ebp
je 0x1005d8e8
mov eax, dword [0x102f4584]
mov edx, dword [edi]
and eax, 0xffff
push edx
push eax
push 0x102f44e4
push 0x102f4534
push str.GetUserInfo_Self___s____s____d____d_
push str.UserInfo
push 0xffffffffffffffff
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e4
ret
cmp word [0x102f4534], bp
jne 0x1005d745
mov ecx, 0x14
xor eax, eax
mov edi, 0x102f4534
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 0x102f4534
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push eax
call fcn.10067cb0
add esp, 0x10
cmp dword [0x102f7658], ebp
je 0x1005d770
push 0x102f44e4
push 0x102f4534
push str.GetUserInfo_Self___s____s_
push str.UserInfo
push 0xffffffffffffffff
push 0x102f6dc4
call fcn.10098fb0
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.10059d40
add esp, 8
test eax, eax
je 0x1005d8e8
lea edx, [esp + 0x64]
push 0x64
push edx
lea eax, [esp + 0x134]
push 0xffffffffffffffff
push eax
call fcn.10067cb0
mov eax, dword [0x102f7658]
add esp, 0x10
cmp eax, ebp
je 0x1005d7f8
lea ecx, [esp + 0x64]
push ecx
push str.GetUserInfo_Self_1___s_
push str.UserInfo
push 0xffffffffffffffff
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
lea edx, [esp + 0x64]
push 0x5c
push edx
call fcn.1006bbe5
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x1005d85f
mov edi, esi
lea eax, [esp + 0x64]
sub edi, eax
push 0x102f4534
sar edi, 1
call fcn.1006b93e
add esp, 4
cmp eax, edi
jne 0x1005d85f
lea ecx, [esp + 0x64]
push edi
push ecx
push 0x102f4534
call fcn.1006d108
add esp, 0xc
test eax, eax
jne 0x1005d85f
add esi, 2
push esi
call fcn.1006b93e
lea edi, [eax + eax]
lea edx, [esp + 0x68]
push edi
push esi
push edx
call fcn.1006c200
add esp, 0x10
mov word [esp + edi + 0x64], bp
lea eax, [esp + 0x64]
push 0x27
push eax
push 0x102f44e4
call fcn.1006c1b8
mov ecx, dword [esp + 0x208]
dec ecx
push ecx
push 0x102f44e4
push ebx
call fcn.1006c1b8
add esp, 0x18
cmp word [0x102f44e4], bp
je 0x1005d8af
push 0x102a3f88
push 0x102f44e4
call fcn.1006c950
add esp, 8
neg eax
sbb eax, eax
neg eax
inc eax
mov word [0x102f4584], ax
cmp dword [0x102f7658], ebp
je 0x1005d8e8
mov edx, dword [esp + 0x204]
mov ecx, dword [0x102f4584]
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 0x102f6dc4
call fcn.10098fb0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e4
ret