Function at 0x401be0
Capabilities:
Check if file exists
Enumerate process modules

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 0x620d7c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x6b6538]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebx + 8]
mov eax, dword [ebx + 0xc]
or edi, 0xffffffff
mov dword [ebp - 0x288], eax
mov eax, dword [ebx + 0x10]
push 0
mov dword [ebp - 0x28c], eax
mov eax, dword [ebx + 0x14]
push 0x400
mov dword [ebp - 0x290], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x401c5a
or edi, 0xffffffff
jmp 0x401c91
push str.NtQueryInformationProcess
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0x18
lea ecx, [ebp - 0x268]
push ecx
push 0
push esi
call eax
test eax, eax
push esi
cmove edi, dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 6
xor eax, eax
mov dword [ebp - 0x240], 0
push str.UnKonw
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.00402c20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
push 6
xor eax, eax
mov dword [ebp - 0x258], 0
push str.UnKonw
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.00402c20
mov byte [ebp - 4], 1
test edi, edi
je 0x402084
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00526600
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401d67
lea eax, [ebp - 0x2b0]
push eax
push 4
lea eax, [ebp - 0x284]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x401d60
push 0x104
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x284]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401d90
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00402c20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x228], 0
jne 0x401e4d
push edi
lea eax, [ebp - 0x280]
push eax
call fcn.00402410
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x401e0d
mov ecx, eax
call fcn.00402a10
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x401e4d
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401e43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402178
push edx
push ecx
call fcn.0050d502
add esp, 8
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402040
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
mov dword [ebp - 0x240], 0
cmovae eax, dword [ebp - 0x250]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x401eb3
sub edx, esi
lea ecx, [ebp - 0x250]
sar edx, 1
push edx
push eax
call fcn.00402c20
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x280]
call fcn.00402b40
push 0x208
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.00526600
add esp, 0xc
lea eax, [ebp - 0x280]
cmp dword [ebp - 0x26c], 8
cmovae eax, dword [ebp - 0x280]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.0052bb44
add esp, 0xc
mov dword [ebp - 0x294], 0
lea eax, [ebp - 0x2ac]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2ac], xmm0
push eax
lea eax, [ebp - 0x220]
movq qword [ebp - 0x29c], xmm0
push eax
call fcn.004021a0
mov edx, dword [ebp - 0x294]
test eax, eax
je 0x401f7e
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401f62
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x268]
call fcn.00402c20
mov eax, dword [ebp - 0x2ac]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x401f98
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x2a8]
test eax, eax
je 0x401fac
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x401fc0
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x401fd4
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x401fe8
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x401ffc
push 0x8000
push 0
push eax
call esi
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x402040
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402036
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40217d
push edx
push ecx
call fcn.0050d502
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x402084
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40207a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402182
push edx
push ecx
call fcn.0050d502
add esp, 8
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x28c]
mov dword [eax], edi
lea eax, [ebp - 0x250]
cmp ecx, eax
je 0x4020b6
cmp dword [ebp - 0x23c], 8
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
call fcn.00402c20
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x268]
cmp ecx, eax
je 0x4020e0
cmp dword [ebp - 0x254], 8
push dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x268]
push eax
call fcn.00402c20
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x40211c
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402112
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402187
push edx
push ecx
call fcn.0050d502
add esp, 8
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x402158
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40214e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40218c
push edx
push ecx
call fcn.0050d502
add esp, 8
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.0050ce82
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0052bf71
call fcn.0052bf71
call fcn.0052bf71
call fcn.0052bf71
call fcn.0052bf71
int3