Function at 0x124b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0xc0000001
call fcn.000112d0
movzx eax, byte [eax + 0x60]
test eax, eax
jne 0x124d9
jmp 0x1285c
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x124ec
cmp dword [ebp + 0x28], 0
jne 0x124ec
jmp 0x1285c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x20]
push edx
push 4
movzx eax, byte [ebp + 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00011f10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x12523
mov dword [ebp - 8], 0xc000009a
jmp 0x1285c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x10]
test eax, eax
je 0x12541
xor eax, eax
je 0x12560
mov eax, dword [ebp - 0x1c]
mov dword [eax + 8], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x125ab
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 4
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x64
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x12536
lea eax, [ebp + 0x18]
test eax, eax
je 0x125ba
xor eax, eax
je 0x125da
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x14], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xc], 0
jmp 0x12626
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x10], 4
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0xc], 0x65
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
push ecx
lea edx, [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x125af
cmp dword [ebp + 0x14], 0
je 0x12666
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
add ecx, 2
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x60]
mov ax, word [edx]
mov word [ebp - 0x66], ax
add dword [ebp - 0x60], 2
cmp word [ebp - 0x66], 0
jne 0x1263f
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x64]
sar ecx, 1
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
shl edx, 1
jne 0x12686
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x20], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], 0
jmp 0x12702
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
add ecx, 2
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x60]
mov ax, word [edx]
mov word [ebp - 0x66], ax
add dword [ebp - 0x60], 2
cmp word [ebp - 0x66], 0
jne 0x1269e
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x64]
sar ecx, 1
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
shl edx, 1
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], 0x66
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x1262a
cmp dword [ebp + 0x1c], 0
je 0x12746
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
add ecx, 2
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x60]
mov ax, word [edx]
mov word [ebp - 0x66], ax
add dword [ebp - 0x60], 2
cmp word [ebp - 0x66], 0
jne 0x1271f
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x64]
sar ecx, 1
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
shl edx, 1
jne 0x12766
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x2c], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x28], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x24], 0
jmp 0x127e2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
add ecx, 2
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x60]
mov ax, word [edx]
mov word [ebp - 0x66], ax
add dword [ebp - 0x60], 2
cmp word [ebp - 0x66], 0
jne 0x1277e
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x64]
sar ecx, 1
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
shl edx, 1
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x24], 0x67
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x28]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x1270a
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x12825
push 0x1000
mov eax, dword [ebp - 4]
push eax
call fcn.000119d0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x12814
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
mov dword [eax], edx
push 0x5f44555f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1285c
mov eax, dword [ebp - 4]
push eax
push str.IpcAsynSend__New_Buffer__p_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
push 0x1000
mov eax, dword [ebp - 4]
push eax
call fcn.000117d0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x1285c
push 0x5f44555f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24