Function at 0x401bd0
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 0x623a31
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x288
mov eax, dword [0x6ba4f8]
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 0x401c4a
or edi, 0xffffffff
jmp 0x401c81
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.00402c70
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.00402c70
mov byte [ebp - 4], 1
test edi, edi
je 0x401f20
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005291a0
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401d57
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 0x401d50
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 0x401d80
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00402c70
mov byte [ebp - 4], 2
cmp dword [ebp - 0x228], 0
jne 0x401e3d
push edi
lea eax, [ebp - 0x280]
push eax
call fcn.00402460
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x401dfd
mov ecx, eax
call fcn.00402a60
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 0x401e3d
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401e33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402014
push edx
push ecx
call fcn.005100a2
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 0x401edc
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 0x401ea3
sub edx, esi
lea ecx, [ebp - 0x250]
sar edx, 1
push edx
push eax
call fcn.00402c70
sub esp, 0x18
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.00402b90
lea eax, [ebp - 0x268]
push eax
call fcn.00402030
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x401f20
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401f16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402019
push edx
push ecx
call fcn.005100a2
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 0x401f52
cmp dword [ebp - 0x23c], 8
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
call fcn.00402c70
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x268]
cmp ecx, eax
je 0x401f7c
cmp dword [ebp - 0x254], 8
push dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x268]
push eax
call fcn.00402c70
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x401fb8
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401fae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40201e
push edx
push ecx
call fcn.005100a2
add esp, 8
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x401ff4
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401fea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402023
push edx
push ecx
call fcn.005100a2
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.0050fa22
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
int3