Function at 0x4034d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4081b1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.kprocesshacker.sys
lea ecx, [ebp - 0x190]
movq qword [ebp - 0x20], xmm0
call fcn.00405330
push str.SbieSvc.sys
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0
call fcn.00405330
push str.HttpDebuggerSdk.sys
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.00405330
push str.dbk64.sys
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
call fcn.00405330
push str.dbk32.sys
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 3
call fcn.00405330
push str.SharpOD_Drv.sys
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 4
call fcn.00405330
push str.WinDbgDriver.sys
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 5
call fcn.00405330
push str.procexp.sys
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.00405330
push str.dbgview.sys
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.00405330
push str.sysinternals.sys
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
call fcn.00405330
push str.PEiD.sys
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00405330
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0xa
push ecx
lea eax, [ebp - 0x88]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.004051d0
push 0x4052d0
push 0xb
push 0x18
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xc
push eax
call fcn.00406954
push str.C:WindowsSystem32drivers
lea ecx, [ebp - 0x50]
call fcn.00405330
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x84], ecx
je 0x4038db
mov esi, dword [ebp - 0x40]
mov ecx, 0x7ffffffe
sub ecx, esi
mov dword [ebp - 0x64], ecx
nop word [eax + eax]
cmp ecx, 1
jb 0x403949
cmp dword [ebp - 0x3c], 7
lea ecx, [esi + 1]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x6c], 0
cmova edx, eax
mov dword [ebp - 0x68], 0
mov esi, 7
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x60], ecx
xorps xmm0, xmm0
lea edi, [ebp - 0x7c]
movups xmmword [ebp - 0x7c], xmm0
cmp ecx, esi
jbe 0x403729
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4036f4
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
cmp eax, 0x1000
jb 0x403715
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x403944
push ecx
call fcn.00406924
add esp, 4
test eax, eax
je 0x4038c5
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x403720
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x403944
add eax, eax
jne 0x4036c6
xor edi, edi
jmp 0x403726
push eax
call fcn.00406924
add esp, 4
mov edi, eax
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x40]
add esi, esi
mov dword [ebp - 0x6c], ecx
push esi
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x5c
xor ecx, ecx
mov word [esi + edi], ax
add esp, 0xc
mov eax, dword [ebp - 0x40]
mov word [edi + eax*2 + 2], cx
mov esi, dword [ebp - 0x5c]
mov edx, esi
mov byte [ebp - 4], 0xe
cmp dword [esi + 0x14], 7
jbe 0x403763
mov edx, dword [esi]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
mov edi, dword [esi + 0x10]
sub eax, ecx
mov dword [ebp - 0x58], ecx
cmp edi, eax
ja 0x4037aa
cmp dword [ebp - 0x68], 7
lea eax, [ecx + edi]
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
cmova esi, dword [ebp - 0x7c]
lea eax, [edi + edi]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x58]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x7c]
mov esi, dword [ebp - 0x5c]
jmp 0x4037bc
push edi
push edx
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0x7c]
push dword [ebp - 0x80]
push edi
call fcn.00406080
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x403833
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403829
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038c5
push ecx
push edx
call fcn.00406cba
add esp, 8
cmp dword [ebp - 0x24], 7
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x24]
cmp eax, 0xffffffff
jne 0x40389c
cmp ecx, 7
jbe 0x403880
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403876
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038c5
push ecx
push edx
call fcn.00406cba
add esp, 8
add esi, 0x18
mov dword [ebp - 0x5c], esi
cmp esi, dword [ebp - 0x84]
je 0x4038db
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x40]
jmp 0x403670
cmp ecx, 7
jbe 0x4038d5
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4038cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4038cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406cba
add esp, 8
mov byte [ebp - 0x51], 1
jmp 0x4038df
mov byte [ebp - 0x51], 0
mov eax, dword [ebp - 0x3c]
cmp eax, 7
jbe 0x40391b
mov edx, dword [ebp - 0x50]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403911
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403911
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406cba
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.004059d0
mov al, byte [ebp - 0x51]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00406836
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004010d0
call fcn.00401170
int3