Function at 0x4fbe90
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4fbe90
push 0xffffffffffffffff
push 0x78a095
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [eax + 8], ecx
mov cx, word [esp + 0x78]
push 0x22
mov word [eax + 0x10], cx
mov ebp, 0xf
push str.CWFP::SetPID___Openning_WFP_handle
lea ecx, [esp + 0x1c]
mov dword [eax + 0xc], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00405920
lea edx, [esp + 0x14]
push 1
push edx
mov dword [esp + 0x70], ebx
call fcn.004024eb
mov ecx, eax
call fcn.00403bb1
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x68], 0xffffffff
jb 0x4fbf39
mov eax, dword [esp + 0x18]
push eax
call fcn.00564155
add esp, 4
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push 0x7bc5d8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x20
push str.CWFP::SetPID___Opened_WFP_handle
lea ecx, [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00405920
lea ecx, [esp + 0x14]
push 1
push ecx
mov dword [esp + 0x70], 1
call fcn.004024eb
mov ecx, eax
call fcn.00403bb1
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x68], 0xffffffff
jb 0x4fbfa4
mov edx, dword [esp + 0x18]
push edx
call fcn.00564155
add esp, 4
cmp edi, 0xffffffff
jne 0x4fc048
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004083af
push eax
lea ecx, [esp + 0x4c]
push str.CWFP::SetPID___Failed_to_open_file:
push ecx
mov dword [esp + 0x7c], 2
call fcn.00404cfa
add esp, 0x14
mov edi, 0x10
mov byte [esp + 0x68], 4
cmp dword [esp + 0x2c], edi
jb 0x4fbff6
mov edx, dword [esp + 0x18]
push edx
call fcn.00564155
add esp, 4
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004024eb
mov ecx, eax
call fcn.004020ae
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x48]
push ecx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00403fb2
cmp dword [esp + 0x58], edi
jb 0x4fc190
mov edx, dword [esp + 0x44]
push edx
call fcn.00564155
add esp, 4
jmp 0x4fc190
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov dx, word [esp + 0x78]
push ebx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
push eax
push ebx
push ebx
push 0xa
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x48]
push ecx
push 0x12a118
push edi
mov word [esp + 0x5c], dx
mov dword [esp + 0x50], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
jne 0x4fc121
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x18]
push edx
call fcn.004083af
push eax
lea eax, [esp + 0x4c]
push str.CWFP::SetPID___Failed_to_DeviceIoControl:
push eax
mov dword [esp + 0x7c], 5
call fcn.00404cfa
add esp, 0x14
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x68], 7
jb 0x4fc0ce
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00564155
add esp, 4
lea edx, [esp + 0x40]
push ebx
push edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004024eb
mov ecx, eax
call fcn.004020ae
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x48]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00403fb2
cmp dword [esp + 0x58], 0x10
jb 0x4fc190
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00564155
add esp, 4
jmp 0x4fc190
push 0x16
push str.CWFP::SetPID___Success
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00405920
lea edx, [esp + 0x14]
push ebx
push edx
mov dword [esp + 0x70], 8
call fcn.004024eb
mov ecx, eax
call fcn.00403bb1
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x68], 0xffffffff
jb 0x4fc173
mov eax, dword [esp + 0x18]
push eax
call fcn.00564155
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push 0x7bbaef
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00405920
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00564b24
add esp, 0x58
ret 0x10