Function at 0x94670
Capabilities:
Attach user process memory
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [sym.imp.ntoskrnl.exe_NtBuildNumber]
sub esp, 0x58
push ebx
mov eax, 0x1db0
xor bl, bl
push edi
cmp word [ecx], ax
jb 0x946ba
push 0x2ce
call fcn.00049640
mov dword [esp + 8], eax
test eax, eax
jne 0x946ba
call fcn.00094270
push 0x2ce
call fcn.00049640
mov dword [esp + 8], eax
test eax, eax
je 0x949c2
push 0x48c2
call fcn.00049640
mov edi, eax
push 0x49d9
mov dword [esp + 0x24], edi
call fcn.00049640
mov ecx, eax
push 0x4859
mov dword [esp + 0x28], ecx
call fcn.00049640
mov dword [esp + 0x18], eax
test edi, edi
je 0x949c2
test ecx, ecx
je 0x949c2
test eax, eax
je 0x949c2
push 6
call fcn.00088910
push esi
mov byte [esp + 0x14], al
call edi
cmp al, 1
jne 0x94723
lea edx, [esi + 0xa7]
push edx
call edi
cmp al, 1
jne 0x94723
mov bl, al
jmp 0x94725
xor bl, bl
mov eax, dword [esp + 0x10]
push eax
push 6
call fcn.00088aa0
cmp bl, 1
jne 0x949ca
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x18]
cmp ecx, dword [edx]
jbe 0x94879
push 0x61
call fcn.00049640
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x9487b
push 0x49df
call fcn.00049640
push 0x48ad
mov ecx, eax
call fcn.00049640
mov edx, eax
push 0x4880
mov dword [esp + 0x1c], edx
call fcn.00049640
push 0x490a
mov edi, eax
call fcn.00049640
mov dword [esp + 0x10], eax
cmp ecx, ebx
je 0x94853
push 0x48a4
call fcn.00049640
test eax, eax
je 0x94853
cmp edx, ebx
je 0x94853
cmp edi, ebx
je 0x94853
cmp dword [esp + 0x10], ebx
je 0x94853
push esi
push 0x945f0
push ebx
push ebx
lea eax, [esp + 0x40]
push eax
push ebx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x4c], 0x18
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], 0x200
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call ecx
test eax, eax
js 0x94853
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x1fffff
push ecx
call dword [esp + 0x30]
test eax, eax
js 0x94843
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x28]
push edx
push 1
push ebx
push ebx
push eax
mov dword [esp + 0x3c], 0xfe363c80
mov dword [esp + 0x40], 0xffffffff
call edi
mov ecx, dword [esp + 0xc]
call dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x94955
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov ecx, dword [esi + 0x34]
push esi
call ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x94955
xor ebx, ebx
push 0x49dc
call fcn.00049640
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x949ca
mov dword [esi + 0x28], ebx
call fcn.00094620
cmp eax, ebx
je 0x9490f
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov edi, dword [esi + 4]
mov dword [esi + 0x34], ebx
test edi, edi
je 0x94955
lea esp, [esp]
push edi
call dword [esp + 0x24]
cmp al, 1
jne 0x94955
inc ebx
cmp ebx, 0x10000
ja 0x94955
push 0x1c
call fcn.00088910
push edi
mov byte [esp + 0x1c], al
call dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push eax
push 0x1c
call fcn.00088aa0
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x94920
mov edx, dword [sym.imp.ntoskrnl.exe_NtBuildNumber]
mov ecx, 0x1db0
mov bl, 1
cmp word [edx], cx
jb 0x9499e
push 0x6a
call fcn.00088910
mov ecx, dword [sym.imp.ntoskrnl.exe_NtBuildNumber]
mov byte [esp + 0x20], al
mov eax, 0x23f0
cmp word [ecx], ax
ja 0x9498a
push esi
push esi
call dword [esp + 0x10]
jmp 0x94992
mov edx, esi
mov ecx, esi
call dword [esp + 8]
mov edx, dword [esp + 0x20]
push edx
push 0x6a
call fcn.00088aa0
push 0x1b
call fcn.00088910
push esi
mov byte [esp + 0x24], al
call dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push eax
push 0x1b
call fcn.00088aa0
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov al, bl
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret