Function at 0x1000f110
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044e22
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x10059004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d0], edx
mov edi, ecx
mov dword [ebp - 0x2c8], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp + 0xc]
push 0x40
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x70]
push 0
push eax
mov byte [ebp - 0x2c1], 0
call fcn.10017bc0
push 0x40
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.10017bc0
push 0x200
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b4], 0x200
push 0
push eax
call fcn.10017bc0
movq xmm0, qword [0x100508e8]
mov ax, word [0x100508f0]
push 0x18
movq qword [0x1005bb10], xmm0
mov word [0x1005bb18], ax
mov dword [0x1005bb44], 0x100508f4
mov dword [0x1005bb48], 0x10050900
call fcn.10013718
add esp, 0x28
mov dword [ebp - 0x2cc], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [eax], xmm0
mov ecx, eax
movq qword [eax + 0x10], xmm0
call fcn.1000ad10
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ecx
push 0
push eax
push 0x1000aeb0
push 0
push 0
mov dword [ebp - 0x2cc], eax
call esi
lea eax, [ebp - 0x2b8]
push eax
push 0
push dword [ebp - 0x2cc]
push 0x1000aea0
push 0
push 0
call esi
call fcn.1000b060
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2bc], 0xffffffff
mov dword [ebp - 0x2c0], 0xffffffff
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
nop
cmp eax, 0xffffffff
je 0x1000f260
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x2bc]
push eax
push 0xf01ff
call esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1000f297
push 0x10050950
push edi
call fcn.10007760
add esp, 8
jmp 0x1000f4fb
mov ecx, dword [ebp - 0x2bc]
mov edx, 0x10050970
call fcn.1000b7a0
mov ecx, dword [ebp - 0x2bc]
mov edx, 0x100509a0
call fcn.1000b7a0
lea eax, [ebp - 0x2c0]
push eax
push 0xf01ff
call esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [ebp - 0x2cc]
push 0x1005bb38
mov eax, dword [eax + 8]
push dword [eax]
call dword [sym.imp.Secur32.dll_QuerySecurityContextToken]
push 0x1005bb34
push 1
push 2
push 0
push 0xf01ff
push dword [0x1005bb38]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x1000f315
push 0x100509dc
push edi
call fcn.10007760
add esp, 8
jmp 0x1000f4fb
push dword [0x1005bb38]
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x1000f33a
push 0x100509f8
push edi
call fcn.10007760
add esp, 8
jmp 0x1000f4fb
mov esi, dword [ebp - 0x2d0]
lea edx, [ebp - 0x70]
mov ecx, esi
call fcn.1000eac0
test al, al
je 0x1000f4ec
xor ecx, ecx
mov al, byte [ebp + ecx - 0x70]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x31], al
test al, al
jne 0x1000f354
mov eax, dword [0x10050a10]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x70], eax
mov esi, edx
mov ax, word [0x10050a14]
mov word [ebp - 0x6c], ax
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000f380
lea edi, [ebp - 0x70]
sub edx, esi
dec edi
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000f390
mov ecx, edx
lea eax, [ebp - 0x2b4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x2b0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000ec10
add esp, 4
test al, al
jne 0x1000f3d9
push dword [ebp - 0x2d0]
mov esi, dword [ebp - 0x2c8]
push 0x10050a2c
push esi
jmp 0x1000f4f3
mov esi, dword [ebp - 0x2d4]
lea edx, [ebp - 0xb0]
mov ecx, esi
call fcn.1000eac0
test al, al
je 0x1000f4dd
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xb0]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x31], al
test al, al
jne 0x1000f400
mov eax, dword [0x10050a44]
lea edx, [ebp - 0x30]
mov dword [ebp - 0xb0], eax
mov esi, edx
mov ax, word [0x10050a48]
mov word [ebp - 0xac], ax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x1000f430
lea edi, [ebp - 0xb0]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000f440
mov ecx, edx
shr ecx, 2
push dword [ebp - 0x2b4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x2b0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0xb0]
call fcn.1000ed90
mov esi, dword [ebp - 0x2c8]
add esp, 4
test al, al
je 0x1000f4cd
push dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x2d4]
push edi
push 0x10050a60
push esi
call fcn.10007760
mov edx, dword [ebp - 0x2d8]
add esp, 0x10
mov ecx, edi
mov byte [ebp - 0x2c1], 1
call fcn.1000ef50
test al, al
je 0x1000f4bd
push 0x10050a98
push esi
call fcn.10007760
add esp, 8
jmp 0x1000f4fb
push 0x10050ab8
push esi
call fcn.10007760
add esp, 8
jmp 0x1000f4fb
push 0x10050a88
push esi
call fcn.10007760
add esp, 8
jmp 0x1000f4fb
push esi
mov esi, dword [ebp - 0x2c8]
push 0x10050a4c
push esi
jmp 0x1000f4f3
push esi
push 0x10050a18
push edi
call fcn.10007760
add esp, 0xc
mov eax, dword [ebp - 0x2bc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000f50e
push eax
call esi
mov ecx, dword [ebp - 0x2c0]
test ecx, ecx
je 0x1000f51b
push ecx
call esi
mov al, byte [ebp - 0x2c1]
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.100136f9
mov esp, ebp
pop ebp
ret