Function at 0x10fd9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xffb3b4c0
mov dword [ebp - 0x14], 0xffffffff
cmp dword [0x12704], 0
je 0x1101b
lea eax, [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.ntoskrnl.exe_KeDelayExecutionThread]
jmp 0x11002
mov dword [0x12704], 1
mov ecx, dword [ebp + 8]
push ecx
push 0x10f00
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
cmp dword [ebp + 8], 1
jne 0x11158
push 0x200
push 0x12980
push 0x12760
call dword [sym.imp.ntoskrnl.exe_memmove]
add esp, 0xc
call sub.ntoskrnl.exe_PsGetCurrentProcessId
mov dword [ebp - 0xc], eax
push 0x12760
mov edx, dword [ebp - 0xc]
push edx
call fcn.000119aa
push 0x12760
push 0x10f1c
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov eax, dword [0x12c54]
push eax
push 0x10f2c
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
lea ecx, [ebp + 8]
push ecx
mov edx, dword [0x12710]
push edx
push 4
mov eax, dword [0x12720]
push eax
call fcn.00012239
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x12710]
push edx
push 4
mov eax, dword [0x1271c]
push eax
call fcn.00012239
mov ecx, dword [0x12c54]
push ecx
mov edx, dword [0x12710]
push edx
movzx eax, word [0x12c50]
push eax
mov ecx, dword [0x12718]
push ecx
call fcn.00012239
push 0x12760
mov edx, dword [0x12710]
push edx
push 0x1fe
mov eax, dword [0x12724]
push eax
call fcn.00012239
push 0x12bf8
push 0x12c00
push 0x1f03ff
lea ecx, [ebp - 0x1c]
push ecx
call sub.ntoskrnl.exe_ZwOpenThread
cmp dword [ebp - 0x1c], 0
jbe 0x11137
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x12c60]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x11158
push 0x10f40
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov dword [0x12704], 0
mov eax, 0x115c
jmp 0x113af
cmp dword [ebp + 8], 2
jne 0x11206
mov ecx, dword [0x12c54]
push ecx
push 0x10f58
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
lea edx, [ebp + 8]
push edx
mov eax, dword [0x12710]
push eax
push 4
mov ecx, dword [0x12720]
push ecx
call fcn.00012239
mov edx, dword [0x12c54]
push edx
mov eax, dword [0x12710]
push eax
movzx ecx, word [0x12c50]
push ecx
mov edx, dword [0x12718]
push edx
call fcn.00012239
push 0x12bf8
push 0x12c00
push 0x1f03ff
lea eax, [ebp - 0x1c]
push eax
call sub.ntoskrnl.exe_ZwOpenThread
cmp dword [ebp - 0x1c], 0
jbe 0x111e5
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x12c60]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x11206
push 0x10f6c
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov dword [0x12704], 0
mov eax, 0x115c
jmp 0x113af
cmp dword [ebp + 8], 3
jne 0x112f4
push 0x200
push 0x12980
push 0x12760
call dword [sym.imp.ntoskrnl.exe_memmove]
add esp, 0xc
call sub.ntoskrnl.exe_PsGetCurrentProcessId
mov dword [ebp - 0xc], eax
push 0x12760
mov eax, dword [ebp - 0xc]
push eax
call fcn.000119aa
push 0x12760
push 0x10f84
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
lea ecx, [ebp + 8]
push ecx
mov edx, dword [0x12710]
push edx
push 4
mov eax, dword [0x12720]
push eax
call fcn.00012239
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x12710]
push edx
push 4
mov eax, dword [0x1271c]
push eax
call fcn.00012239
push 0x12760
mov ecx, dword [0x12710]
push ecx
push 0x1fe
mov edx, dword [0x12724]
push edx
call fcn.00012239
push 0x12bf8
push 0x12c00
push 0x1f03ff
lea eax, [ebp - 0x1c]
push eax
call sub.ntoskrnl.exe_ZwOpenThread
cmp dword [ebp - 0x1c], 0
jbe 0x112d3
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x12c60]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x112f4
push 0x10f94
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov dword [0x12704], 0
mov eax, 0x115c
jmp 0x113af
push 0x12be0
push 0x12c00
push 0x1f03ff
lea eax, [ebp - 0x1c]
push eax
call sub.ntoskrnl.exe_ZwOpenThread
cmp dword [ebp - 0x1c], 0
jbe 0x1136d
push 0x10fac
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov dword [ebp - 8], 0xeb236c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 0x1c]
push edx
call sub.ntoskrnl.exe_ZwWaitForSingleObject
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push 0x10fb8
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [0x12710]
push edx
push 4
mov eax, dword [0x12714]
push eax
call fcn.000120d9
jmp 0x1138b
push 0x10fc4
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov dword [0x12704], 0
mov eax, 0x115c
jmp 0x113af
mov dword [0x12704], 0
cmp dword [ebp - 0x20], 0
jne 0x113ac
mov dword [0x12704], 0
mov eax, 0x115c
jmp 0x113af
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 4