Function at 0x401bb0
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 0x622ed1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x288
mov eax, dword [0x6b94f8]
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 0x401c2a
or edi, 0xffffffff
jmp 0x401c61
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.00402c50
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.00402c50
mov byte [ebp - 4], 1
test edi, edi
je 0x401f00
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00528630
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401d37
lea eax, [ebp - 0x294]
push eax
push 4
lea eax, [ebp - 0x284]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x401d30
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 0x401d60
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00402c50
mov byte [ebp - 4], 2
cmp dword [ebp - 0x228], 0
jne 0x401e1d
push edi
lea eax, [ebp - 0x280]
push eax
call fcn.00402440
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x401ddd
mov ecx, eax
call fcn.00402a40
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 0x401e1d
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401e13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401ff4
push edx
push ecx
call fcn.0050f532
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 0x401ebc
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 0x401e83
sub edx, esi
lea ecx, [ebp - 0x250]
sar edx, 1
push edx
push eax
call fcn.00402c50
sub esp, 0x18
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.00402b70
lea eax, [ebp - 0x268]
push eax
call fcn.00402010
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x401f00
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401ef6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401ff9
push edx
push ecx
call fcn.0050f532
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 0x401f32
cmp dword [ebp - 0x23c], 8
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
call fcn.00402c50
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x268]
cmp ecx, eax
je 0x401f5c
cmp dword [ebp - 0x254], 8
push dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x268]
push eax
call fcn.00402c50
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x401f98
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401f8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401ffe
push edx
push ecx
call fcn.0050f532
add esp, 8
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x401fd4
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401fca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402003
push edx
push ecx
call fcn.0050f532
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.0050eeb2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
call fcn.0052e0c0
int3