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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e291
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x46c], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x474], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
mov dword [ebp - 0x440], 0
xor eax, eax
mov dword [ebp - 0x43c], 7
lea ecx, [ebp - 0x450]
mov word [ebp - 0x450], ax
push 6
push str.UnKonw
call fcn.00407300
lea ecx, [ebp - 0x420]
mov dword [ebp - 4], 0
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x413df0
mov eax, dword [str.UnKonw]
mov dword [ecx], eax
mov eax, dword [0x526e1c]
mov dword [ecx + 4], eax
mov eax, dword [0x526e20]
mov dword [ecx + 8], eax
mov ax, word [0x526e24]
mov word [ecx + 0xc], ax
test edi, edi
je 0x41416b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x413e88
lea eax, [ebp - 0x498]
push eax
push 4
lea eax, [ebp - 0x470]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x413e81
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x470]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413eb0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00407300
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 1
push 0x525840
push eax
call fcn.00413a00
add esp, 8
test al, al
je 0x413f49
mov ecx, dword [ebp - 0x46c]
lea eax, [ebp - 0x468]
push edi
push eax
call fcn.00414880
mov esi, eax
lea eax, [ebp - 0x438]
cmp eax, esi
je 0x413f3e
mov ecx, eax
call fcn.00408700
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x438], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x428], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x468]
call fcn.00408700
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0042cdf7
mov edx, eax
add esp, 8
cmp dword [edx + 0x14], 8
jb 0x413f77
mov edx, dword [edx]
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x413f80
lea edi, [ebp - 0x420]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x413f96
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x468]
call fcn.00408700
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41415c
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x468]
call fcn.0040b9c0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea ecx, [ebp - 0x468]
cmp dword [ebp - 0x454], 8
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x468]
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x414030
mov ecx, dword [ebp - 0x46c]
lea eax, [ebp - 0x494]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x47c], 0
lea eax, [ebp - 0x218]
movq qword [ebp - 0x484], xmm0
push eax
movups xmmword [ebp - 0x494], xmm0
call fcn.00413ae0
mov edi, dword [ebp - 0x47c]
test eax, eax
je 0x4140a0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414084
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x450]
call fcn.00407300
mov eax, dword [ebp - 0x494]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4140ba
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x490]
test eax, eax
je 0x4140ce
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x48c]
test eax, eax
je 0x4140e2
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x484]
test eax, eax
je 0x4140f6
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x480]
test eax, eax
je 0x41410a
push 0x8000
push 0
push eax
call esi
test edi, edi
je 0x414118
push 0x8000
push 0
push edi
call esi
mov edx, dword [ebp - 0x454]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x41415c
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414152
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414219
push edx
push ecx
call fcn.0049bb5c
add esp, 8
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0
call fcn.00408700
lea edx, [ebp - 0x420]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x414174
mov ecx, dword [ebp - 0x474]
lea eax, [ebp - 0x420]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.00407300
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x450]
cmp ecx, eax
je 0x4141c0
cmp dword [ebp - 0x43c], 8
push dword [ebp - 0x440]
cmovae eax, dword [ebp - 0x450]
push eax
call fcn.00407300
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x4141fc
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4141f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41421e
push edx
push ecx
call fcn.0049bb5c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret 0xc
call fcn.004cf6b9
call fcn.004cf6b9
int3