Function at 0x10045cf0
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f5fc
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x101a30c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x10
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x130], pe_nt_image_headers32
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x148], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045d80
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.100271e0
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045db0
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
mov ecx, 0x101a428c
call fcn.1002c0c0
mov ecx, 0x101d43b0
call fcn.100b0120
test al, al
jne 0x10045de0
xor esi, esi
jmp 0x10045fd9
mov esi, dword [0x10187b04]
lea ecx, [ebp - 0x168]
push 0x101a428c
mov edx, str.welcome__s_n
call fcn.10046310
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x124], 0x41000000
push ecx
mov edx, eax
mov dword [ebp - 0x128], esi
lea ecx, [ebp - 0x150]
call fcn.100400c0
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 2
mov ecx, dword [0x101d4674]
cmp ecx, dword [0x101d4678]
je 0x10045e6e
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x101d4674], 8
jmp 0x10045e75
push edx
push ecx
call fcn.10041110
mov esi, dword [ebp - 0x14c]
or edi, 0xffffffff
test esi, esi
je 0x10045ea1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10045ea1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10045ea1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x154]
cmp ecx, 0xf
jbe 0x10045edf
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045ed5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004602c
push ecx
push edx
call fcn.100ef33f
add esp, 8
mov esi, dword [0x10187b04]
lea eax, [ebp - 0x148]
push eax
mov edx, str.hardware:__s_n
lea ecx, [ebp - 0x168]
call fcn.10046310
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x128], 0x41000000
push ecx
mov edx, eax
mov dword [ebp - 0x124], esi
lea ecx, [ebp - 0x150]
call fcn.100400c0
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 4
mov ecx, dword [0x101d4674]
cmp ecx, dword [0x101d4678]
je 0x10045f6f
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x101d4674], 8
jmp 0x10045f76
push edx
push ecx
call fcn.10041110
mov esi, dword [ebp - 0x14c]
test esi, esi
je 0x10045f9e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10045f9e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10045f9e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x154]
cmp ecx, 0xf
jbe 0x10045fd4
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045fca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046031
push ecx
push edx
call fcn.100ef33f
add esp, 8
mov esi, 1
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x1004600f
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10046005
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046036
push ecx
push edx
call fcn.100ef33f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100eeec4
mov esp, ebp
pop ebp
ret
call fcn.100f8cfa
call fcn.100f8cfa
call fcn.100f8cfa
int3