Function at 0x1007952
Capabilities:
Check for sandbox username or hostname
Get session user name

Disassembly:
push 8
mov eax, 0x101d79f
call fcn.01001450
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x1007b14
xor edi, edi
mov dword [esi], 0x10013e4
mov dword [esi + 4], 0x1002684
mov dword [esi + 8], edi
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
lea ebx, [esi + 0x18]
mov dword [ebx], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
lea eax, [esi + 0x40]
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call fcn.010041e0
mov dword [esi + 0x40], edi
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 8
mov dword [esi + 0x74], edi
call fcn.0100a532
push edi
xor eax, eax
push edi
mov word [esi + 0x88], ax
mov al, byte [ebp + 0xc]
push edi
push edi
mov byte [ebp - 4], 9
mov dword [esi + 0x84], edi
mov dword [esi + 0x8c], edi
mov byte [esi + 0x90], al
call dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_CreateEventW]
push eax
mov ecx, ebx
call fcn.01007b25
cmp dword [ebx], edi
je 0x100cd28
mov ebx, dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_CreateEventW]
push edi
push edi
push 1
push edi
call ebx
push eax
lea ecx, [esi + 0x1c]
call fcn.01007b25
cmp dword [esi + 0x1c], edi
je 0x100cd40
push edi
push 1
push 1
push edi
call ebx
lea ebx, [esi + 0x20]
push eax
mov ecx, ebx
call fcn.01007b25
cmp dword [ebx], edi
je 0x100cd44
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
lea ebx, [esi + 0x10]
push eax
mov ecx, ebx
call fcn.01007b25
cmp dword [ebx], edi
je 0x100cd48
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
lea ebx, [esi + 0x14]
push eax
mov ecx, ebx
call fcn.01007b25
cmp dword [ebx], edi
je 0x100cd5d
mov ebx, dword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_InitializeCriticalSection]
lea eax, [esi + 0x5c]
push eax
call ebx
lea eax, [esi + 0x44]
push eax
call ebx
push 0x105
push dword [ebp + 8]
call fcn.01009fc7
mov ebx, eax
inc ebx
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100154c
pop ecx
push eax
lea ecx, [esi + 8]
call fcn.0100bef9
push dword [ebp + 8]
push ebx
push dword [esi + 8]
call fcn.0100a068
lea eax, [ebp - 0x10]
push eax
push edi
push 2
mov dword [ebp - 0x10], edi
call sub.SspiCli.dll_GetUserNameExW
test al, al
jne 0x100cd61
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100154c
pop ecx
lea edi, [esi + 0xc]
push eax
mov ecx, edi
call fcn.0100bef9
mov edi, dword [edi]
lea eax, [ebp - 0x10]
push eax
push edi
push 2
call sub.SspiCli.dll_GetUserNameExW
test al, al
je 0x100cd76
mov dword [0x10220d8], esi
mov eax, esi
call fcn.010016a9
ret 8
push 0x44
push 0x1011224
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
push 0x100cdb4
call fcn.01013797
push 0x48
jmp 0x100cd2a
push 0x4e
jmp 0x100cd2a
push 0x53
push 0x1011224
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
push 0x100cd8c
jmp 0x100cd3b
push 0x57
jmp 0x100cd4a
push 0x62
push 0x1011224
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
push 0x10112e8
jmp 0x100cd3b
push 0x64
push 0x1011224
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
push 0x1011268
jmp 0x100cd3b