Function at 0x12da0
Capabilities:
Delete registry value
Encode data using xor
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
sub esp, 0xd8
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
xor ebx, ebx
push edi
push ebx
push 4
push 1
mov dword [esp + 0x90], 0xc0000001
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x74], ebx
call esi
cmp eax, ebx
je 0x12df1
mov dword [eax], 0x30
mov dword [esp + 0x68], eax
push ebx
push 0x18
push 1
mov dword [esp + 0x44], ebx
call esi
cmp eax, ebx
je 0x12e30
mov ebx, 0x15134
or esi, 0xffffffff
mov ecx, eax
sub ebx, eax
mov ebp, 6
mov edx, dword [ebx + ecx]
mov edi, edx
xor edi, esi
mov dword [ecx], edi
add ecx, 4
sub ebp, 1
mov esi, edx
jne 0x12e11
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esp + 0x38], eax
xor ebx, ebx
push ebx
push 0x18
push 1
mov dword [esp + 0x38], ebx
call esi
cmp eax, ebx
je 0x12e6f
mov ebx, 0x15150
or esi, 0xffffffff
mov ecx, eax
sub ebx, eax
mov ebp, 6
mov edx, dword [ebx + ecx]
mov edi, edx
xor edi, esi
mov dword [ecx], edi
add ecx, 4
sub ebp, 1
mov esi, edx
jne 0x12e50
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esp + 0x2c], eax
xor ebx, ebx
push ebx
push 0x20
push 1
mov dword [esp + 0x4c], ebx
call esi
cmp eax, ebx
je 0x12eaf
mov ebx, 0x1516c
or esi, 0xffffffff
mov ecx, eax
sub ebx, eax
mov ebp, 8
nop
mov edx, dword [ebx + ecx]
mov edi, edx
xor edi, esi
mov dword [ecx], edi
add ecx, 4
sub ebp, 1
mov esi, edx
jne 0x12e90
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esp + 0x40], eax
xor ebx, ebx
push ebx
push 0xc
push 1
mov dword [esp + 0x40], ebx
call esi
cmp eax, ebx
je 0x12eef
mov ebx, 0x15510
or esi, 0xffffffff
mov ecx, eax
sub ebx, eax
mov ebp, 3
nop
mov edx, dword [ebx + ecx]
mov edi, edx
xor edi, esi
mov dword [ecx], edi
add ecx, 4
sub ebp, 1
mov esi, edx
jne 0x12ed0
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esp + 0x34], eax
xor ebx, ebx
push ebx
push 0x30
push 1
mov dword [esp + 0x48], ebx
call esi
cmp eax, ebx
je 0x12f2f
mov ebx, 0x15198
or esi, 0xffffffff
mov ecx, eax
sub ebx, eax
mov ebp, 0xc
nop
mov edx, dword [ebx + ecx]
mov edi, edx
xor edi, esi
mov dword [ecx], edi
add ecx, 4
sub ebp, 1
mov esi, edx
jne 0x12f10
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esp + 0x3c], eax
xor ebx, ebx
push ebx
push 0x18
push 1
mov dword [esp + 0x54], ebx
call esi
cmp eax, ebx
je 0x12f6f
mov ebx, 0x151cc
or esi, 0xffffffff
mov ecx, eax
sub ebx, eax
mov ebp, 6
nop
mov edx, dword [ebx + ecx]
mov edi, edx
xor edi, esi
mov dword [ecx], edi
add ecx, 4
sub ebp, 1
mov esi, edx
jne 0x12f50
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esp + 0x48], eax
xor ebx, ebx
push ebx
push 0x14
xor edi, edi
push 1
mov dword [esp + 0x5c], edi
call esi
cmp eax, ebx
je 0x12fb1
mov ebx, 0x15204
or esi, 0xffffffff
mov ecx, eax
sub ebx, eax
lea ebp, [edi + 5]
nop
mov edx, dword [ebx + ecx]
mov edi, edx
xor edi, esi
mov dword [ecx], edi
add ecx, 4
sub ebp, 1
mov esi, edx
jne 0x12f90
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, eax
mov dword [esp + 0x50], edi
xor ebx, ebx
push ebx
push 0x14
push 1
mov dword [esp + 0x3c], ebx
call esi
cmp eax, ebx
je 0x12ff4
mov ebx, 0x1521c
or esi, 0xffffffff
mov ecx, eax
sub ebx, eax
mov ebp, 5
mov edx, dword [ebx + ecx]
mov edi, edx
xor edi, esi
mov dword [ecx], edi
add ecx, 4
sub ebp, 1
mov esi, edx
jne 0x12fd1
mov edi, dword [esp + 0x50]
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esp + 0x30], eax
xor ebx, ebx
push ebx
push 0x18
push 1
mov dword [esp + 0x6c], ebx
call esi
cmp eax, ebx
je 0x13031
mov ebx, 0x151e8
or esi, 0xffffffff
mov ecx, eax
sub ebx, eax
mov ebp, 6
mov edx, dword [ebx + ecx]
mov edi, edx
xor edi, esi
mov dword [ecx], edi
add ecx, 4
sub ebp, 1
mov esi, edx
jne 0x13014
mov edi, dword [esp + 0x50]
mov dword [esp + 0x60], eax
mov ebx, eax
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
push eax
push ecx
push str.ModService_p0
push str.__s_Name:__S__Dll:__S
call fcn.00012710
mov ebp, dword [sym.imp.ntoskrnl.exe_ZwClose]
mov esi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
add esp, 0x10
cmp dword [esp + 0x68], 0
je 0x13994
cmp dword [esp + 0x38], 0
je 0x13973
cmp dword [esp + 0x2c], 0
je 0x13973
cmp dword [esp + 0x40], 0
je 0x13973
cmp dword [esp + 0x34], 0
je 0x13973
cmp dword [esp + 0x3c], 0
je 0x13973
cmp dword [esp + 0x48], 0
je 0x13973
test edi, edi
je 0x13973
cmp dword [esp + 0x30], 0
je 0x13973
test ebx, ebx
je 0x13973
mov edx, dword [esp + 0x38]
mov ebp, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push edx
lea eax, [esp + 0x18]
push eax
call ebp
mov ecx, dword [esp + 0xec]
mov esi, dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x74], ecx
push 0xf003f
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1c]
push ecx
mov dword [esp + 0x78], 0x18
mov dword [esp + 0x84], 0x40
mov dword [esp + 0x80], edx
call esi
test eax, eax
jl 0x13973
mov edx, dword [esp + 0xec]
lea eax, [esp + 0x54]
xor ebx, ebx
push edi
mov ecx, eax
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x98], 0x18
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa4], 0x40
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
call ebp
lea edx, [esp + 0x90]
push edx
push 0xf003f
lea eax, [esp + 0x30]
push eax
call esi
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
jl 0x131fa
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x58]
push edx
call ebp
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x8c]
push eax
push ebx
push ebx
push 2
lea ecx, [esp + 0x64]
push ecx
push edx
call edi
cmp eax, 0xc0000023
jne 0x131fa
push str.ModService_p0
push str.__s_Has_Old_Data
call fcn.00012710
mov esi, dword [esp + 0xf8]
mov eax, esi
add esp, 8
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x131e0
sub eax, edx
sar eax, 1
inc eax
shr eax, 1
push eax
push ebx
push esi
call fcn.00013f00
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x13209
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], ebx
call ebp
mov esi, dword [esp + 0xec]
lea edx, [esp + 0x10]
push edx
push 0x40
lea eax, [esp + 0xb0]
push eax
push 2
lea ecx, [esp + 0x24]
push ecx
push esi
call edi
test eax, eax
jl 0x13973
mov eax, dword [esp + 0xb4]
push eax
push str.ModService_p0
push str.__s_Start:__d
mov dword [esp + 0x68], eax
call fcn.00012710
add esp, 0xc
cmp dword [esp + 0xac], 4
jne 0x13973
mov eax, dword [esp + 0x5c]
cmp eax, 3
je 0x1327f
cmp eax, 4
jne 0x13973
mov edx, dword [esp + 0x60]
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x5c], 1
call ebp
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push 2
lea edx, [esp + 0x24]
push edx
push esi
call edi
cmp eax, 0xc0000023
jne 0x13973
mov eax, dword [esp + 0x10]
push 0
push eax
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebx, eax
test ebx, ebx
je 0x13973
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
push 2
lea eax, [esp + 0x24]
push eax
mov ecx, esi
push ecx
call edi
test eax, eax
jl 0x13333
lea esi, [ebx + 0xc]
push esi
push str.ModService_p0
push str.__s_ObjectName:__S
call fcn.00012710
add esp, 0xc
mov ecx, str.LocalSystem
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x13326
test dx, dx
je 0x13322
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x13326
add eax, 4
add ecx, 4
test dx, dx
jne 0x13300
xor eax, eax
jmp 0x1332b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x13333
mov dword [esp + 0x54], eax
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [esp + 0x54], 0
jne 0x13973
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x18]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xf0]
push 0x40
lea edx, [esp + 0xb0]
push edx
push 2
lea eax, [esp + 0x24]
push eax
push ecx
call edi
test eax, eax
jl 0x13395
mov eax, dword [esp + 0xb4]
push eax
push str.ModService_p0
push str.__s_DllUnload:__d
mov dword [esp + 0x34], eax
call fcn.00012710
add esp, 0xc
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
call ebp
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 2
lea edx, [esp + 0x24]
push edx
push eax
call edi
cmp eax, 0xc0000023
jne 0x13973
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
mov dword [esp + 0x88], esi
test esi, esi
je 0x13973
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x20]
push eax
push esi
push 2
lea ecx, [esp + 0x24]
push ecx
push edx
call edi
test eax, eax
jl 0x13973
lea eax, [esi + 0xc]
push eax
push str.ModService_p0
push str.__s_Dll:__S
mov dword [esp + 0x98], eax
call fcn.00012710
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x1c]
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
add ebx, 0xfffffff4
call ebp
mov ecx, dword [esp + 0xec]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 2
lea eax, [esp + 0x24]
push eax
push ecx
call edi
cmp eax, 0xc0000023
jne 0x134bb
mov edx, dword [esp + 0x10]
push 0
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
mov dword [esp + 0x4c], esi
test esi, esi
je 0x13973
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xf0]
push ecx
push esi
push 2
lea edx, [esp + 0x24]
push edx
push eax
call edi
test eax, eax
jl 0x13973
cmp dword [esi + 8], 0
je 0x134b2
add esi, 0xc
push esi
push str.ModService_p0
push str.__s_Depend:__S
call fcn.00012710
add esp, 0xc
mov esi, dword [esp + 0x10]
add esi, 0xfffffff4
jmp 0x134f7
push str.ModService_p0
cmp eax, 0xc0000034
jne 0x13966
push str.__s_NoDepend
call fcn.00012710
add esp, 8
push 0
push 2
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x13973
xor ecx, ecx
mov word [eax], cx
xor esi, esi
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 2
lea eax, [esp + 0x24]
push eax
push ecx
call edi
cmp eax, 0xc0000023
jne 0x13580
mov edx, dword [esp + 0x10]
push 0
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, eax
mov dword [esp + 0x44], edi
test edi, edi
je 0x13973
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edi
push 2
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
jl 0x13973
cmp dword [edi + 8], 0
je 0x13573
add edi, 0xc
push edi
push str.ModService_p0
push str.__s_Main:__S
call fcn.00012710
add esp, 0xc
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff4
mov dword [esp + 0x64], ecx
jmp 0x135be
push str.ModService_p0
cmp eax, 0xc0000034
jne 0x1395f
push str.__s_NoMain
call fcn.00012710
add esp, 8
push 0
push 2
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esp + 0x44], eax
test eax, eax
je 0x13973
xor edx, edx
mov word [eax], dx
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0xf0]
lea edx, [eax + 2]
jmp 0x135d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x135d0
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
mov eax, dword [esp + 0x64]
lea ecx, [edi + eax]
add ecx, esi
lea eax, [ecx + ebx + 0x21]
push 0
push eax
push 1
mov dword [esp + 0x60], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov dword [esp + 0x20], eax
test eax, eax
je 0x13973
mov byte [eax], 0x21
mov edx, dword [esp + 0x5c]
mov dword [eax + 1], edx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
mov dword [eax + 5], ecx
mov ecx, dword [esp + 0xf0]
push edi
mov dword [eax + 9], edi
mov dword [eax + 0xd], ebx
mov dword [eax + 0x11], esi
mov dword [eax + 0x15], edx
push ecx
add eax, 0x19
push eax
call fcn.00014c80
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x2c]
add esp, 0xc
push ebx
push edx
lea ecx, [edi + eax + 0x19]
push ecx
call fcn.00014c80
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add edx, 0xc
push esi
push edx
lea eax, [edi + ebx]
lea edx, [eax + ecx + 0x19]
push edx
call fcn.00014c80
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
add esp, 0xc
add edi, esi
mov esi, dword [esp + 0x20]
push eax
add ecx, 0xc
add edi, ebx
push ecx
lea edx, [edi + esi + 0x19]
push edx
call fcn.00014c80
mov eax, dword [esp + 0x60]
add esp, 0xc
add eax, 0xfffffff8
push eax
call fcn.00010490
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x14]
mov dword [esp + 0x70], ecx
push eax
mov ecx, edx
xor esi, esi
push ecx
mov dword [esp + 0x74], 0x18
mov dword [esp + 0x80], 0x40
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
call ebp
push esi
push esi
push esi
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
lea edx, [esp + 0x7c]
push edx
push 0xf003f
lea eax, [esp + 0x3c]
push eax
call esi
test eax, eax
jl 0x13973
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
call ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
mov edi, dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push eax
mov eax, dword [esp + 0x28]
push ecx
push 3
push 0
lea edx, [esp + 0x24]
push edx
push eax
call edi
test eax, eax
jl 0x13973
push str.ModService_p0
push str.__s_Recovery_1
call fcn.00012710
mov eax, dword [esp + 0x2c]
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x13761
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ecx, dword [0x16f20]
lea edx, [esp + 0x6c]
push edx
push 0xf003f
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x78], 0x18
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], 0x40
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x13973
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x18]
push edx
call ebp
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], eax
xor eax, eax
push eax
push eax
push eax
push eax
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
push 0xf003f
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x88], 0x18
mov dword [esp + 0x94], 0x40
mov dword [esp + 0x90], ecx
call esi
test eax, eax
jl 0x13973
mov eax, dword [esp + 0x70]
test eax, eax
je 0x13825
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ecx, dword [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push edx
call ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push ecx
push 3
push 0
lea edx, [esp + 0x24]
push edx
push eax
call edi
test eax, eax
jl 0x13973
push str.ModService_p0
push str.__s_Recovery_2
call fcn.00012710
mov ecx, dword [esp + 0x34]
add esp, 8
push ecx
lea edx, [esp + 0x18]
push edx
call ebp
mov esi, dword [esp + 0xf4]
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x13880
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 2
push 0
lea ecx, [esp + 0x24]
push ecx
push edx
call edi
test eax, eax
jl 0x13973
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
push ecx
call ebp
mov ecx, dword [esp + 0xec]
push 4
lea edx, [esp + 0x60]
push edx
push 4
push 0
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x74], 2
call edi
test eax, eax
jl 0x13973
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x18]
push eax
call ebp
mov edx, dword [esp + 0xec]
mov esi, dword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
lea ecx, [esp + 0x14]
push ecx
push edx
call esi
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
push ecx
call ebp
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push eax
call esi
mov ecx, dword [esp + 0x3c]
push ecx
lea edx, [esp + 0x18]
push edx
call ebp
mov edx, dword [esp + 0x1c]
push 4
lea eax, [esp + 0x2c]
push eax
push 4
push 0
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x40], 1
call edi
push str.ModService_p0
push str.__s_Done
call fcn.00012710
mov dword [esp + 0x8c], ebx
jmp 0x13970
push str.__s_Main_Fail
jmp 0x1396b
push str.__s_Depend_Fail
call fcn.00012710
add esp, 8
mov eax, dword [esp + 0x68]
push 0
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edi, dword [esp + 0x50]
mov esi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov ebp, dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ebx, dword [esp + 0x60]
cmp dword [esp + 0x38], 0
je 0x139a4
mov ecx, dword [esp + 0x38]
push 0
push ecx
call esi
cmp dword [esp + 0x2c], 0
je 0x139b4
mov edx, dword [esp + 0x2c]
push 0
push edx
call esi
cmp dword [esp + 0x40], 0
je 0x139c4
mov eax, dword [esp + 0x40]
push 0
push eax
call esi
cmp dword [esp + 0x34], 0
je 0x139d4
mov ecx, dword [esp + 0x34]
push 0
push ecx
call esi
cmp dword [esp + 0x3c], 0
je 0x139e4
mov edx, dword [esp + 0x3c]
push 0
push edx
call esi
cmp dword [esp + 0x48], 0
je 0x139f4
mov eax, dword [esp + 0x48]
push 0
push eax
call esi
test edi, edi
je 0x139fd
push 0
push edi
call esi
cmp dword [esp + 0x30], 0
je 0x13a0d
mov ecx, dword [esp + 0x30]
push 0
push ecx
call esi
test ebx, ebx
je 0x13a16
push 0
push ebx
call esi
cmp dword [esp + 0x88], 0
je 0x13a2c
mov edx, dword [esp + 0x88]
push 0
push edx
call esi
cmp dword [esp + 0x20], 0
je 0x13a3c
mov eax, dword [esp + 0x20]
push 0
push eax
call esi
cmp dword [esp + 0x4c], 0
je 0x13a4c
mov ecx, dword [esp + 0x4c]
push 0
push ecx
call esi
cmp dword [esp + 0x44], 0
je 0x13a5c
mov edx, dword [esp + 0x44]
push 0
push edx
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x13a67
push eax
call ebp
mov eax, dword [esp + 0x24]
test eax, eax
je 0x13a72
push eax
call ebp
cmp dword [esp + 0xec], 0
je 0x13a86
mov eax, dword [esp + 0xec]
push eax
call ebp
mov eax, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 0xc