Function at 0x1f394
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax]
mov dword [ebp - 4], 0x100002
mov edx, dword [ebx]
push esi
mov esi, edx
and esi, 0xff
cmp esi, 2
jb 0x1f3c3
mov eax, 0xc000000d
jmp 0x1f677
mov ecx, dword [ebx + 0xc]
push edi
test ecx, ecx
je 0x1f671
cmp ecx, 0x40000
ja 0x1f671
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x1f671
lea edi, [ecx - 1]
test ecx, edi
jne 0x1f671
cmp esi, 1
jne 0x1f408
test edx, 0x100
je 0x1f408
mov eax, 0xc00000bb
jmp 0x1f676
mov ecx, dword [eax + 0x14]
mov esi, dword [ebp + 8]
mov dword [esi + 0xbc8], ecx
mov eax, dword [eax + 0x18]
lea ecx, [esi + 0xbcc]
mov dword [ecx], eax
test eax, eax
jne 0x1f42a
mov eax, dword [section..data]
mov dword [ecx], eax
mov al, byte [ebx]
mov byte [esi + 0xacc], al
mov eax, dword [ebx + 8]
mov dword [esi + 0xb44], eax
cmp byte [ebx], 0
jne 0x1f4c9
and dword [ebp - 8], 0
mov eax, dword [ebx + 0xc]
mov edi, eax
push 0x67526d73
shl edi, 2
push edi
mov dword [esi + 0xb48], eax
call fcn.0001fc94
mov dword [esi + 0xb4c], eax
test eax, eax
je 0x1f4bf
push edi
push 0
push eax
call sub.ntoskrnl.exe_memset
mov eax, dword [esi + 0xb44]
shr eax, 8
xor eax, dword [ebp - 4]
add esp, 0xc
and eax, 0xffff0
xor dword [ebp - 4], eax
push 1
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0xb98]
push eax
call fcn.00026148
test eax, eax
jl 0x1f676
push 0x736d6d73
push 1
call fcn.0001fc94
mov dword [esi + 0xb50], eax
test eax, eax
jne 0x1f5a8
mov eax, 0xc000009a
jmp 0x1f676
lea eax, [esi + 0xb4c]
push eax
call fcn.00032556
lea edi, [esi + 0xb6c]
push 6
pop ecx
mov esi, 0x2cc18
rep movsd dword es:[edi], dword [esi]
test byte [ebx + 0x14], 1
je 0x1f518
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + 0xb48], ecx
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 8], ecx
push dword [ebx + 0x24]
add eax, 0xb4c
push eax
call fcn.000343c8
test eax, eax
jl 0x1f676
jmp 0x1f5a8
xor eax, eax
mov word [ebx + 0x216], ax
mov eax, dword [ebx + 8]
mul dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
movzx eax, word [ebx + 2]
and eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xb44]
lea edx, [eax + 0xb48]
lea esi, [ebp - 0x14]
push esi
push edx
add eax, 0xb4c
lea edx, [ebp - 8]
push edx
push eax
lea eax, [ebp - 0xc]
push eax
push 0x30e2a
lea eax, [ebp - 0x20]
push eax
push ecx
push ecx
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
call fcn.00033860
test eax, eax
jl 0x1f676
xor eax, eax
cmp dword [ebp - 0xc], eax
setne al
xor ecx, ecx
shl eax, 0x10
xor eax, dword [ebx]
and eax, 0x10000
xor dword [ebx], eax
cmp dword [ebp - 0x14], ecx
mov eax, dword [ebx]
setne cl
shl ecx, 0x11
xor ecx, eax
and ecx, 0x20000
xor ecx, eax
mov dword [ebx], ecx
xor eax, eax
push 9
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, ebx
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xb48
mov eax, dword [eax]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x1c]
and eax, 0xff
mov dword [ebp - 0x30], esi
cmp eax, 1
je 0x1f5fa
cmp eax, 3
je 0x1f5fa
cmp eax, 2
jne 0x1f606
test byte [ebx + 2], 1
je 0x1f606
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
xor eax, eax
xor ebx, ebx
cmp dword [ebp - 0x28], ebx
sete al
shl eax, 0xc
xor eax, dword [ebp - 0x44]
and eax, 0x1000
xor dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0001ef2e
cmp eax, ebx
jl 0x1f676
push esi
push 0x1ee0a
push ebx
push ebx
push ebx
mov edi, 0x1fffff
push edi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
cmp eax, ebx
jl 0x1f676
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov eax, dword [ebp - 0x18]
push ebx
push dword [ebp - 0x10]
mov dword [esi + 0xb40], eax
call dword [sym.imp.ntoskrnl.exe_ObCloseHandle]
xor eax, eax
jmp 0x1f676
mov eax, 0xc000000d
pop edi
pop esi
pop ebx
leave
ret 8