Function at 0x495490
Capabilities:
Create process on windows
Enumerate files on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73eaf1
mov eax, dword fs:[0]
push eax
mov eax, 0x1368
call fcn.006f5e10
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x132c], ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1330], edi
mov dword [ebp - 0x1320], ebx
mov dword [ebp - 0x10ac], 0
mov dword [ebp - 0x10a8], 7
mov word [ebp - 0x10bc], ax
mov dword [ebp - 0x1094], eax
mov dword [ebp - 0x1090], 7
mov word [ebp - 0x10a4], ax
mov dword [ebp - 0x107c], eax
mov dword [ebp - 0x1078], 7
mov word [ebp - 0x108c], ax
mov dword [ebp - 0x106c], eax
mov dword [ebp - 0x1068], eax
mov byte [ebp - 0x1064], al
mov dword [ebp - 0x1060], eax
mov dword [ebp - 0x105c], eax
mov dword [ebp - 0x1048], eax
mov dword [ebp - 0x1044], 7
mov word [ebp - 0x1058], ax
mov dword [ebp - 4], eax
xor esi, esi
push 0x800
mov dword [ebp - 0x1070], eax
lea eax, [ebp - 0x1010]
push esi
push eax
mov dword [ebp - 0x10c0], 0xb
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x1010]
push str..dll
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x1310]
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x131c], edi
cmp edi, 0xffffffff
je 0x495a74
nop dword [eax]
inc dword [ebx]
lea eax, [ebp - 0x12e4]
push str.certmgr.dll
inc esi
push eax
mov dword [ebp - 0x1324], esi
call fcn.00715821
add esp, 8
test eax, eax
je 0x4959f4
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x12e4]
push eax
push dword [ebp - 0x1330]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push eax
mov byte [ebp - 0x1311], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x1338], edi
cmp edi, 0xffffffff
je 0x4959a4
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [ebp - 0x1318], esi
test esi, esi
je 0x49579c
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x49578f
mov edi, dword [ebx + 0x3c]
push 0x108
add edi, ebx
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x495782
cmp dword [edi], 0x4550
jne 0x495782
mov eax, dword [edi + 0x78]
mov ecx, 0x20b
cmp cx, word [edi + 0x18]
jne 0x4956de
mov eax, dword [edi + 0x88]
push 0
push eax
push ebx
push edi
call dword [sym.imp.dbghelp.dll_ImageRvaToVa]
mov esi, eax
test esi, esi
je 0x49577c
push 0
push dword [esi + 0x20]
push ebx
push edi
call dword [sym.imp.dbghelp.dll_ImageRvaToVa]
mov dword [ebp - 0x1334], eax
test eax, eax
je 0x49577c
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x1028]
push 1
push 0x7f1100
mov byte [ebp - 0x1311], 1
mov dword [ebp - 0x1328], eax
call fcn.00460f20
xor esi, esi
cmp dword [ebp - 0x1328], esi
jbe 0x49577c
nop word [eax + eax]
mov eax, dword [ebp - 0x1334]
push 0
push dword [eax + esi*4]
push ebx
push edi
call dword [sym.imp.dbghelp.dll_ImageRvaToVa]
test eax, eax
je 0x495773
push eax
lea ecx, [ebp - 0x1028]
call fcn.00463b90
push 0x7f1104
lea ecx, [ebp - 0x1028]
call fcn.00463b90
inc esi
cmp esi, dword [ebp - 0x1328]
jb 0x495740
mov esi, dword [ebp - 0x1318]
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [ebp - 0x1338]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x1320]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x1311], 0
je 0x4959a4
mov edi, dword [ebp - 0x1014]
lea ecx, [ebp - 0x1028]
mov esi, dword [ebp - 0x1028]
cmp edi, 0x10
mov edx, dword [ebp - 0x1018]
push 0x13
cmovae ecx, esi
push str._DllRegisterServer_
push ecx
call fcn.0046edc0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4959b0
push 3
xor eax, eax
mov dword [ebp - 0x1030], 0
push 0x7f10e4
lea ecx, [ebp - 0x1040]
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
call fcn.0044bdc0
lea ecx, [ebp - 0x810]
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495823
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1040]
call fcn.00460700
cmp dword [ebp - 0x102c], 8
lea esi, [ebp - 0x1040]
xorps xmm0, xmm0
mov dword [ebp - 0x133c], 0
cmovae esi, dword [ebp - 0x1040]
movlpd qword [ebp - 0x136c], xmm0
movlpd qword [ebp - 0x1364], xmm0
movlpd qword [ebp - 0x135c], xmm0
movlpd qword [ebp - 0x1354], xmm0
movlpd qword [ebp - 0x134c], xmm0
movlpd qword [ebp - 0x1344], xmm0
mov dword [ebp - 0x1374], 0x3c
mov dword [ebp - 0x1370], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x136c], eax
lea eax, [ebp - 0x1374]
push eax
mov dword [ebp - 0x1368], 0x7e6e2c
mov dword [ebp - 0x1364], str.regsvr32
mov dword [ebp - 0x1358], 0
mov dword [ebp - 0x1360], esi
mov dword [ebp - 0x135c], 0
mov dword [ebp - 0x133c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 0x12e4]
mov dword [ebp - 0x1074], 0xe
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495910
sub ecx, edx
lea eax, [ebp - 0x12e4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10a4]
call fcn.0044bdc0
imul eax, dword [ebx], 0x64
xor edx, edx
xor ecx, ecx
xor edi, edi
div dword [ebp + 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x809bd0]
mov eax, dword [ebp - 0x132c]
mov esi, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov ebx, eax
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, eax
cvtpd2ps xmm0, xmm0
cmova ebx, ecx
movss dword [ebp - 0x1070], xmm0
test ebx, ebx
je 0x495999
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x495991
mov eax, dword [ecx]
lea edx, [ebp - 0x10c0]
push edx
call dword [eax]
inc edi
add esi, 4
cmp edi, ebx
jne 0x495980
lea ecx, [ebp - 0x1040]
call fcn.0044bf40
mov esi, dword [ebp - 0x1028]
mov edi, dword [ebp - 0x1014]
mov byte [ebp - 4], 0
cmp edi, 0x10
jb 0x4959e2
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x4959d8
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495ac0
push edi
push esi
call fcn.006f4f2f
add esp, 8
mov edi, dword [ebp - 0x131c]
mov esi, dword [ebp - 0x1324]
mov ebx, dword [ebp - 0x1320]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x132c]
mov al, byte [ecx + 0x2c]
test al, al
jne 0x495a21
lea eax, [ebp - 0x1310]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4955c0
jmp 0x495a67
mov eax, dword [ecx + 0x34]
xor edi, edi
mov esi, dword [ecx + 0x30]
mov ebx, eax
sub ebx, esi
mov dword [ebp - 0x1074], 0x10
add ebx, 3
xor ecx, ecx
shr ebx, 2
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x495a61
mov ecx, dword [esi]
test ecx, ecx
je 0x495a59
mov eax, dword [ecx]
lea edx, [ebp - 0x10c0]
push edx
call dword [eax]
inc edi
add esi, 4
cmp edi, ebx
jne 0x495a48
mov edi, dword [ebp - 0x131c]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x1324]
lea ecx, [ebp - 0x1058]
call fcn.0044bf40
lea ecx, [ebp - 0x108c]
call fcn.0044bf40
lea ecx, [ebp - 0x10a4]
call fcn.0044bf40
lea ecx, [ebp - 0x10bc]
call fcn.0044bf40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret 0xc
call fcn.00710a9c
int3