Function at 0x100cd120
Capabilities:
Get hostname
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f170
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10159e80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa0], esi
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x40
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x94], 1
push eax
call fcn.100efb50
add esp, 0xc
mov dword [ebp - 0x54], 0x1f
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cd1e0
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.100023d0
mov dword [ebp - 0x94], 3
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x60]
test edi, edi
je 0x100cd45c
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
push 0x10138d10
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
call fcn.100023d0
mov byte [ebp - 4], 2
mov eax, Ordinal_1
mov edx, dword [ebp - 0xc0]
sub eax, edx
cmp eax, edi
jb 0x100cd481
cmp dword [ebp - 0xbc], 7
lea ecx, [ebp - 0xd0]
push edi
cmova ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 7
cmova eax, dword [ebp - 0x70]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0xa0]
lea ecx, [ebp - 0xe8]
call fcn.10002200
mov dword [ebp - 0x94], 7
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.100022c0
lea ecx, [ebp - 0xe8]
call fcn.10002530
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 6
call fcn.10002530
cmp dword [ebp - 0x74], 7
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
push 0
lea ecx, [ebp - 0x90]
push ecx
lea eax, [ebp - 0x88]
cmova eax, dword [ebp - 0x88]
push 0
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x100cd451
push eax
call fcn.100edc53
mov edi, eax
mov ecx, 2
mov eax, dword [ebp - 0x8c]
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.100edc53
add esp, 8
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x74], 7
mov ecx, eax
mov dword [ebp - 0x98], ecx
lea eax, [ebp - 0x88]
cmova eax, dword [ebp - 0x88]
push edx
lea edx, [ebp - 0x8c]
push edx
push ecx
lea ecx, [ebp - 0x90]
push ecx
push edi
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x100cd43d
mov ecx, edx
mov dword [ebp - 0xa8], 0
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
movups xmmword [ebp - 0xb8], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x9c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cd3c4
sub ecx, dword [ebp - 0x9c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xb8]
call fcn.100023d0
lea eax, [ebp - 0xb8]
cmp esi, eax
je 0x100cd429
mov ecx, esi
call fcn.10002530
movups xmm0, xmmword [ebp - 0xb8]
xor eax, eax
mov word [ebp - 0xb8], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xa8]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
lea ecx, [ebp - 0xb8]
call fcn.10002530
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
call fcn.100edc4e
push dword [ebp - 0x98]
call fcn.100edc4e
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.10002530
lea ecx, [ebp - 0x70]
call fcn.10002530
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.100edbdf
mov esp, ebp
pop ebp
ret
call fcn.10002e80
int3