Function at 0x25378
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2a9a8
push 0x2a536
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0x68], 3
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x64], edi
or dword [ebp - 0x58], 0xffffffff
and byte [ebp - 0xbc], 0
mov dword [ebp - 0x54], edi
call sub.ntoskrnl.exe_PsGetCurrentProcessId
mov dword [ebp - 0x80], edi
mov dword [ebp - 4], edi
mov ebx, 0x546b6c42
push ebx
push 0x154
push 1
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
call esi
mov dword [ebp - 0xcc], eax
cmp eax, edi
jne 0x2540c
mov dword [ebp - 0xac], 1
jmp 0x25c10
push ebx
mov edi, dword [0x2ba98]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
mov edi, dword [ebp + 0x28]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
lea eax, [edx + edx + 0x50]
push eax
push 1
pop edi
push edi
call esi
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x25449
mov dword [ebp - 0xac], edi
jmp 0x25c10
push ebx
push 0x400
push edi
call esi
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x2543e
mov ebx, 0x860
push ebx
push 7
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push esi
push 0x100001
push dword [ebp + 8]
call dword [0x2b554]
mov dword [ebp - 0x34], eax
test eax, eax
jl 0x25c51
push dword [ebp - 0xa8]
push dword [ebp + 0x2c]
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00011b13
mov byte [ebp - 0x30], al
test al, al
je 0x25c59
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xe4], eax
cmp byte [ebp + 0x24], al
jne 0x254ce
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x58], ecx
jmp 0x25562
mov eax, dword [ebp + 8]
push dword [eax]
call dword [0x2b550]
push ebx
push 7
push dword [ebp + 0x14]
push esi
push 0x110003
push dword [ebp + 8]
call dword [0x2b554]
mov dword [ebp - 0x34], eax
mov ebx, 0xc0000022
cmp eax, ebx
jne 0x25521
push 0x24efe
call sub.ntoskrnl.exe_DbgPrint
push ebx
push 0x24f06
call sub.ntoskrnl.exe_DbgPrint
push 0x24f62
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
jmp 0x25c51
test eax, eax
jge 0x25558
push 0x24f66
call sub.ntoskrnl.exe_DbgPrint
push dword [ebp - 0x34]
push 0x24f6e
call sub.ntoskrnl.exe_DbgPrint
push 0x24fb2
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
mov dword [ebp - 0xac], 2
jmp 0x25c6e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0xd0], 8
push 4
push 0x1000
lea ecx, [ebp - 0xd0]
push ecx
push eax
lea eax, [ebp - 0x11c]
push eax
push 0xffffffffffffffff
mov ebx, dword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
call ebx
mov dword [ebp - 0xc0], eax
test eax, eax
jge 0x255c3
push 0x24fb6
call sub.ntoskrnl.exe_DbgPrint
push dword [ebp - 0xc0]
push 0x24fbe
call sub.ntoskrnl.exe_DbgPrint
push 0x24ffa
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
and dword [ebp - 0xdc], 0
mov edi, dword [ebp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 0x50]
mov dword [ebp - 0xd0], eax
push 4
push 0x1000
lea eax, [ebp - 0xd0]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0xdc]
push eax
push 0xffffffffffffffff
call ebx
mov dword [ebp - 0xc0], eax
cmp eax, edi
jge 0x2562e
push 0x24ffe
call sub.ntoskrnl.exe_DbgPrint
push dword [ebp - 0xc0]
push 0x25006
call sub.ntoskrnl.exe_DbgPrint
push 0x25042
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
cmp dword [ebp - 0x11c], edi
je 0x25c4a
cmp dword [ebp - 0xdc], edi
je 0x25c4a
mov dword [ebp - 0xe4], edi
lea eax, [ebp - 0xe4]
push eax
mov ebx, dword [ebp + 0x28]
push ebx
call fcn.00015c44
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.000212fb
test al, al
jne 0x25694
push 0x25046
call sub.ntoskrnl.exe_DbgPrint
push ebx
push 0x2504e
call sub.ntoskrnl.exe_DbgPrint
push 0x25076
jmp 0x25c2f
mov eax, dword [ebp - 0x80]
cmp eax, edi
je 0x256b1
cmp byte [eax], 0x5c
jne 0x256a4
inc eax
mov dword [ebp - 0x80], eax
cmp eax, edi
je 0x256b1
cmp byte [eax], 0x5c
jne 0x256b1
inc eax
mov dword [ebp - 0x80], eax
push 0x2507a
push ebx
call dword [sym.imp.ntoskrnl.exe_strstr]
pop ecx
pop ecx
mov dword [ebp - 0x8c], eax
cmp eax, edi
je 0x25709
mov ecx, dword [0x2ba98]
cmp ecx, edi
jne 0x256f2
lea ecx, [eax + 2]
push ecx
push dword [ebp - 0xe4]
dec eax
push eax
push 0x2507e
push dword [ebp - 0x64]
call dword [sym.imp.ntoskrnl.exe_swprintf]
add esp, 0x14
jmp 0x25751
lea edx, [eax + 2]
push edx
push dword [ebp - 0xe4]
movsx eax, byte [eax - 1]
push eax
push ecx
push 0x2509e
jmp 0x25745
cmp dword [ebp - 0x80], edi
je 0x25c15
mov eax, dword [ebp - 0xb4]
lea ecx, [eax + 0x41]
mov byte [ebp - 0x28], cl
mov eax, dword [0x2ba98]
cmp eax, edi
push dword [ebp - 0x80]
push dword [ebp - 0xe4]
jne 0x2573b
movzx eax, cl
push eax
push 0x250be
jmp 0x256e4
movzx ecx, cl
push ecx
push eax
push 0x250de
push dword [ebp - 0x64]
call dword [sym.imp.ntoskrnl.exe_swprintf]
add esp, 0x18
push dword [ebp - 0x64]
push dword [ebp - 0x11c]
mov ebx, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
call ebx
push dword [ebp - 0x64]
push dword [ebp - 0xdc]
call dword [sym.imp.ntoskrnl.exe_wcscpy]
pop ecx
pop ecx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xdc]
mov dword [eax + 4], ecx
mov eax, dword [esi + 8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x11c]
mov dword [esi + 8], eax
push 0x60
push 3
push dword [ebp + 0x14]
push esi
push 0x100003
mov edi, dword [ebp + 8]
push edi
call dword [0x2b554]
mov dword [ebp - 0xc0], eax
cmp eax, 0xc000003a
jne 0x258fe
and dword [ebp - 0x120], 0
push 0x25122
push dword [ebp - 0x64]
call dword [sym.imp.ntoskrnl.exe_wcsstr]
mov dword [ebp - 0x120], eax
push 0x25126
add eax, 4
push eax
call dword [sym.imp.ntoskrnl.exe_wcsstr]
add esp, 0x10
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x258ad
mov esi, dword [ebp - 0x120]
sub esi, dword [ebp - 0x64]
sar esi, 1
lea eax, [esi + 1]
push eax
push dword [ebp - 0x64]
push dword [ebp - 0xdc]
call dword [sym.imp.ntoskrnl.exe_wcsncpy]
add esp, 0xc
mov eax, dword [ebp - 0xdc]
xor edi, edi
mov word [eax + esi*2], di
push dword [ebp - 0xdc]
push dword [ebp - 0x11c]
call ebx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xdc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], ecx
push edi
push edi
push 1
push 3
push 3
push 0x80
push edi
push dword [ebp + 0x14]
push eax
push 0xc0100000
mov esi, dword [ebp + 8]
push esi
call dword [0x2b54c]
mov dword [ebp - 0xc0], eax
cmp eax, edi
jl 0x25885
push dword [esi]
call dword [0x2b550]
push 0x2512a
mov eax, dword [ebp - 0x120]
add eax, 2
push eax
call dword [sym.imp.ntoskrnl.exe_wcsstr]
pop ecx
pop ecx
mov dword [ebp - 0x120], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
jmp 0x257ef
push dword [ebp - 0x64]
push dword [ebp - 0xdc]
call dword [sym.imp.ntoskrnl.exe_wcscpy]
pop ecx
pop ecx
push dword [ebp - 0xdc]
push dword [ebp - 0x11c]
call ebx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xdc]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x11c]
mov dword [esi + 8], eax
push 0x60
push 3
push dword [ebp + 0x14]
push esi
push 0x100003
push edi
call dword [0x2b554]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xc0000035
jne 0x259c9
push 0x2512e
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [ebp + 0x14]
push dword [eax]
push 0xc0000035
push 0x25136
call sub.ntoskrnl.exe_DbgPrint
push 0x25192
call sub.ntoskrnl.exe_DbgPrint
push 0x25196
call sub.ntoskrnl.exe_DbgPrint
push 0x2519e
call sub.ntoskrnl.exe_DbgPrint
push 0x251ee
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x20
or dword [edi], 0xffffffff
push dword [edi]
call dword [0x2b550]
push dword [ebp - 0x58]
call dword [0x2b550]
mov eax, dword [ebp - 0xe8]
mov dword [esi + 8], eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push edi
call dword [0x2b554]
mov dword [ebp - 0x34], eax
test eax, eax
jge 0x25b0c
push 0x2532a
call sub.ntoskrnl.exe_DbgPrint
push dword [ebp + 0x28]
push dword [ebp + 0x2c]
push dword [ebp - 0x34]
push 0x25332
call sub.ntoskrnl.exe_DbgPrint
push 0x25376
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x18
and dword [ebp - 0xac], 0
jmp 0x25c6e
cmp dword [ebp - 0xc0], 0
jge 0x25a47
push 0x251f2
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [ebp + 0x14]
push dword [eax]
push dword [ebp - 0xc0]
push 0x251fa
call sub.ntoskrnl.exe_DbgPrint
push 0x25256
call sub.ntoskrnl.exe_DbgPrint
push 0x2525a
call sub.ntoskrnl.exe_DbgPrint
push dword [ebp - 0xdc]
push 0x25262
call sub.ntoskrnl.exe_DbgPrint
push 0x252aa
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x24
push dword [ebp - 0x58]
call dword [0x2b550]
or dword [ebp - 0x58], 0xffffffff
mov eax, dword [ebp - 0xe8]
mov dword [esi + 8], eax
mov dword [ebp - 0xac], 1
jmp 0x25c6e
mov eax, dword [ebp + 0x20]
test al, 3
je 0x25a93
push dword [ebp + 0x28]
push 1
push eax
push 1
push dword [edi]
push dword [ebp - 0x58]
call fcn.000123ae
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x25abc
push 0x252ae
call sub.ntoskrnl.exe_DbgPrint
push dword [ebp + 0x28]
push dword [ebp + 0x2c]
push 0x252b6
call sub.ntoskrnl.exe_DbgPrint
push 0x252e2
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
jmp 0x25abc
cmp byte [0x2b514], 1
push dword [ebp + 0x28]
push 1
push eax
jne 0x25aaa
push dword [ebp - 0xbc]
jmp 0x25aac
push 0
push dword [edi]
push dword [ebp - 0x58]
call fcn.000123ae
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x2595a
push 0x252e6
call sub.ntoskrnl.exe_DbgPrint
push dword [ebp + 0x28]
push dword [ebp + 0x2c]
movzx eax, byte [ebp + 0x20]
push eax
push 0x252ee
call sub.ntoskrnl.exe_DbgPrint
push 0x25326
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x18
mov eax, dword [ebp - 0xe8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x34], eax
jmp 0x259bd
push 0x55
pop ecx
xor eax, eax
mov esi, dword [ebp - 0xcc]
mov edi, esi
rep stosd dword es:[edi], eax
or dword [esi + 0x144], 0xffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x148], eax
mov al, byte [ebp + 0x20]
mov byte [esi + 0x14c], al
mov al, byte [ebp + 0x24]
mov byte [esi + 0x14d], al
push dword [ebp - 0x64]
lea eax, [ebp - 0x7c]
push eax
call ebx
push 1
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlUnicodeStringToAnsiString]
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0xa8]
lea esi, [eax + 0x36e]
mov edx, dword [ebp - 0xcc]
lea edi, [edx + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [edx + 4]
mov edi, dword [ebp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
and byte [edx + 0x34], 0
push edx
call fcn.0001082c
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlFreeAnsiString]
xor esi, esi
mov dword [ebp - 0xd0], esi
cmp dword [ebp - 0x11c], esi
je 0x25bdb
push 0x8000
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x11c]
push eax
or eax, 0xffffffff
push eax
call dword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
mov dword [ebp - 0xd0], esi
cmp dword [ebp - 0xdc], esi
je 0x25c06
push 0x8000
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xdc]
push eax
or eax, 0xffffffff
push eax
call dword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
mov dword [ebp - 0xac], 2
mov esi, dword [ebp + 0x10]
jmp 0x25c6e
push 0x250fe
call sub.ntoskrnl.exe_DbgPrint
push ebx
push 0x25106
call sub.ntoskrnl.exe_DbgPrint
push 0x2511e
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
mov dword [ebp - 0xac], 2
mov dword [ebp - 0x34], 0xc000000f
jmp 0x25c6e
mov dword [ebp - 0x34], 0xc000000f
mov dword [ebp - 0xac], edi
jmp 0x25c6e
mov eax, dword [ebp + 8]
push dword [eax]
call dword [0x2b550]
mov dword [ebp - 0xac], 4
or dword [ebp - 4], 0xffffffff
call fcn.00025c8e
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x28