Function at 0x403500
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 0x4081e1
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.00405360
push str.SbieSvc.sys
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0
call fcn.00405360
push str.HttpDebuggerSdk.sys
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.00405360
push str.dbk64.sys
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 2
call fcn.00405360
push str.dbk32.sys
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 3
call fcn.00405360
push str.SharpOD_Drv.sys
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 4
call fcn.00405360
push str.WinDbgDriver.sys
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 5
call fcn.00405360
push str.procexp.sys
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.00405360
push str.dbgview.sys
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.00405360
push str.sysinternals.sys
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
call fcn.00405360
push str.PEiD.sys
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00405360
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.00405200
push 0x405300
push 0xb
push 0x18
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xc
push eax
call fcn.00406984
push str.C:WindowsSystem32drivers
lea ecx, [ebp - 0x50]
call fcn.00405360
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 0x40390b
mov esi, dword [ebp - 0x40]
mov ecx, 0x7ffffffe
sub ecx, esi
mov dword [ebp - 0x64], ecx
nop word [eax + eax]
cmp ecx, 1
jb 0x403979
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 0x403759
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x403724
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
cmp eax, 0x1000
jb 0x403745
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x403974
push ecx
call fcn.00406954
add esp, 4
test eax, eax
je 0x4038f5
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x403750
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x403974
add eax, eax
jne 0x4036f6
xor edi, edi
jmp 0x403756
push eax
call fcn.00406954
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 0x403793
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 0x4037da
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 0x4037ec
push edi
push edx
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0x7c]
push dword [ebp - 0x80]
push edi
call fcn.004060b0
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 0x403863
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403859
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038f5
push ecx
push edx
call fcn.00406cea
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 0x4038cc
cmp ecx, 7
jbe 0x4038b0
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4038a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4038f5
push ecx
push edx
call fcn.00406cea
add esp, 8
add esi, 0x18
mov dword [ebp - 0x5c], esi
cmp esi, dword [ebp - 0x84]
je 0x40390b
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x40]
jmp 0x4036a0
cmp ecx, 7
jbe 0x403905
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4038fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4038fb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406cea
add esp, 8
mov byte [ebp - 0x51], 1
jmp 0x40390f
mov byte [ebp - 0x51], 0
mov eax, dword [ebp - 0x3c]
cmp eax, 7
jbe 0x40394b
mov edx, dword [ebp - 0x50]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403941
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403941
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406cea
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00405a70
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.00406866
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004010d0
call fcn.00401170
int3