Function at 0x10016600
Capabilities:
Create thread
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
jmp 0x1001662d
call fcn.100159b0
push 0
push 0
push 0x10015e50
push 0x10015950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10082640], eax
push 0
push 0
push 0x10015e50
push 0x10011fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10083158], eax
call fcn.10016000
push 0x1008107c
push 0x10082b48
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x10082b48
mov ecx, 0x1008386c
call fcn.10005190
push 5
call fcn.10016080
add esp, 4
test eax, eax
je 0x100166c6
push 1
call fcn.100160f0
add esp, 4
test eax, eax
jne 0x100166ba
push 2
call fcn.100160f0
add esp, 4
test eax, eax
je 0x100166c4
mov dword [0x10083054], 5
jmp 0x100166d0
mov dword [0x10083054], 7
push 0
push 0
push 0
push 0x100165e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0x10015e50
push 0x10015dc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x10082638]
call fcn.1000e810
test eax, eax
jne 0x1001675a
mov eax, 0xfdb8ca1f
push eax
lea ecx, [ebp - 0x41]
call fcn.1001f450
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [0x10082630]
call fcn.100011e0
push eax
push 0
mov edx, dword [ebp - 0x4c]
push edx
push 0
push 0
mov ecx, dword [0x10082634]
call fcn.1000e970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x41]
call fcn.10017a90
call fcn.10003730
mov ecx, dword [0x10082620]
call fcn.10007ff0
movzx ecx, al
test ecx, ecx
jne 0x1001678e
mov ecx, dword [0x10083160]
call fcn.10025ff0
cmp eax, 1
jle 0x1001678e
push 0
mov ecx, dword [0x10083160]
call fcn.100256f0
mov ecx, dword [0x10083164]
call fcn.10022980
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [0x10083160]
call fcn.10026410
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100167d0
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0x40
mov eax, dword [0x1008262c]
mov ecx, dword [eax + 0x148]
call ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100167e1
mov dword [ebp - 0x18], 0xfffffffe
mov byte [ebp - 0xd], 1
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [0x10082638]
call fcn.10025120
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x1001680a
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x1008262c]
mov eax, dword [edx + 0x8c]
call eax
mov ecx, dword [0x10082638]
call fcn.10025400
call fcn.100011c0
movzx ecx, al
test ecx, ecx
je 0x10016837
mov ecx, dword [0x10082638]
call fcn.1000f2c0
mov ecx, dword [0x10082638]
call fcn.1000f2f0
mov ecx, dword [0x10083160]
call fcn.10023ba0
mov ecx, dword [0x10083160]
call fcn.10023b60
mov ecx, dword [0x10083160]
call fcn.10023a20
mov ecx, dword [0x10083160]
call fcn.10023a60
mov ecx, dword [0x10083160]
call fcn.10023ae0
mov ecx, dword [0x10083160]
call fcn.10023aa0
mov ecx, dword [0x10083160]
call fcn.10023b20
mov ecx, dword [0x10083160]
call fcn.10023580
jmp 0x100168a1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret