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

Disassembly:
push 8
mov eax, 0x101d78f
call fcn.01001448
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x1007b94
xor edi, edi
mov dword [esi], 0x1001800
mov dword [esi + 4], 0x10027bc
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.01004260
mov dword [esi + 0x40], edi
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 8
mov dword [esi + 0x74], edi
call fcn.0100a5b2
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.01007ba5
cmp dword [ebx], edi
je 0x100cd60
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.01007ba5
cmp dword [esi + 0x1c], edi
je 0x100cd78
push edi
push 1
push 1
push edi
call ebx
lea ebx, [esi + 0x20]
push eax
mov ecx, ebx
call fcn.01007ba5
cmp dword [ebx], edi
je 0x100cd7c
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
lea ebx, [esi + 0x10]
push eax
mov ecx, ebx
call fcn.01007ba5
cmp dword [ebx], edi
je 0x100cd80
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
lea ebx, [esi + 0x14]
push eax
mov ecx, ebx
call fcn.01007ba5
cmp dword [ebx], edi
je 0x100cd95
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.0100a047
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.01001502
pop ecx
push eax
lea ecx, [esi + 8]
call fcn.0100bf79
push dword [ebp + 8]
push ebx
push dword [esi + 8]
call fcn.0100a0e8
lea eax, [ebp - 0x10]
push eax
push edi
push 2
mov dword [ebp - 0x10], edi
call sub.SspiCli.dll_GetUserNameExW
test al, al
jne 0x100cd99
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.01001502
pop ecx
lea edi, [esi + 0xc]
push eax
mov ecx, edi
call fcn.0100bf79
mov edi, dword [edi]
lea eax, [ebp - 0x10]
push eax
push edi
push 2
call sub.SspiCli.dll_GetUserNameExW
test al, al
je 0x100cdae
mov dword [0x10220dc], esi
mov eax, esi
call fcn.0100165f
ret 8
push 0x44
push 0x101125c
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
push 0x100cdec
call fcn.010137b7
push 0x48
jmp 0x100cd62
push 0x4e
jmp 0x100cd62
push 0x53
push 0x101125c
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
push 0x100cdc4
jmp 0x100cd73
push 0x57
jmp 0x100cd82
push 0x62
push 0x101125c
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
push 0x1011318
jmp 0x100cd73
push 0x64
push 0x101125c
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
push 0x1011298
jmp 0x100cd73