Function at 0x495120
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x505e36
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [esp + 0x280]
mov esi, edx
mov edx, dword [0x563288]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, 0x563288
mov dword [esp + 0x4c], esi
xor ebp, ebp
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x278], ebp
cmp esi, ebp
je 0x495cb6
movzx ecx, word [esi]
cmp cx, bp
je 0x495cb6
lea edi, [esp + 0x30]
cmp cx, 0x2e
je 0x4951be
push esi
push 0x5161b0
call fcn.00404890
add esp, 8
jmp 0x4951c5
mov edx, esi
call fcn.00401600
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x278], 1
mov ebx, dword [esp + 0x30]
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_s
lea edi, [esp + 0x30]
call fcn.00404890
mov eax, dword [esp + 0x28c]
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
jne 0x495313
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push ecx
mov ecx, esp
mov byte [esp + 0x27c], 2
mov dword [esp + 0x24], esp
push ecx
mov ecx, str.Progid
lea esi, [esp + 0x2c]
xor edi, edi
call fcn.00401640
mov byte [esp + 0x27c], 3
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebx, esp
call fcn.004048c0
add eax, 0x10
push SHChangeNotifyDeregister
lea edx, [esp + 0x48]
mov dword [ebx], eax
push edx
mov ecx, edi
mov byte [esp + 0x288], 2
call fcn.00404630
push eax
mov byte [esp + 0x27c], 4
call fcn.0048f8f0
add esp, 4
lea esi, [esp + 0x3c]
mov byte [esp + 0x278], 2
call fcn.004045f0
mov ecx, dword [esp + 0x38]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4952b8
push 0x80004005
call fcn.00401540
mov esi, dword [esp + 0x24]
push ecx
push esi
call fcn.004e4707
add esp, 8
test eax, eax
je 0x4952dc
push 0x510134
push esi
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x4952e3
mov edi, 1
jmp 0x4952e7
mov edi, dword [esp + 0x34]
lea eax, [esi - 0x10]
mov byte [esp + 0x278], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49530b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x30]
test edi, edi
je 0x495373
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
mov ecx, str.Progid
xor esi, esi
call fcn.00401640
mov byte [esp + 0x27c], 5
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
call fcn.004048c0
add eax, 0x10
push SHChangeNotifyDeregister
lea edx, [esp + 0x48]
mov dword [edi], eax
push edx
mov ecx, esi
mov byte [esp + 0x288], 1
call fcn.00404630
call fcn.00404420
lea esi, [esp + 0x3c]
call fcn.004045f0
mov ebp, 1
push ebx
push str.SoftwareClasses_s
lea edi, [esp + 0x30]
call fcn.00404890
mov eax, dword [esp + 0x28c]
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4954ad
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x278], 6
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, 0x563288
lea edi, [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x30], esp
mov esi, esp
call edx
add eax, 0x10
mov dword [esi], eax
call fcn.004013b0
mov byte [esp + 0x27c], 8
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.004048c0
add eax, 0x10
mov dword [esi], eax
push SHChangeNotifyDeregister
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
mov byte [esp + 0x288], 6
call fcn.00404630
push eax
mov esi, edi
mov byte [esp + 0x27c], 9
call fcn.0048f8f0
add esp, 4
lea esi, [esp + 0x3c]
mov byte [esp + 0x278], 6
call fcn.004045f0
mov ecx, dword [esp + 0x38]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x495452
push 0x80004005
call fcn.00401540
mov esi, dword [esp + 0x24]
push ecx
push esi
call fcn.004e4707
add esp, 8
test eax, eax
je 0x495476
push 0x510134
push esi
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x49547d
mov edi, 1
jmp 0x495481
mov edi, dword [esp + 0x34]
lea eax, [esi - 0x10]
mov byte [esp + 0x278], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4954a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x30]
test edi, edi
je 0x495523
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
push 0
push ecx
mov ecx, 0x563288
xor edi, edi
mov dword [esp + 0x34], esp
mov esi, esp
call eax
add eax, 0x10
mov dword [esi], eax
call fcn.004013b0
mov byte [esp + 0x280], 0xb
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.004048c0
push SHChangeNotifyDeregister
lea ecx, [esp + 0x4c]
add eax, 0x10
push ecx
mov dword [esi], eax
mov ecx, edi
mov byte [esp + 0x28c], 1
call fcn.00404630
mov edx, dword [esp + 0x54]
push eax
call fcn.004047a0
add esp, 8
lea esi, [esp + 0x3c]
mov ebp, eax
call fcn.004045f0
push ebx
push str.SoftwareClasses_sShellNew
lea edi, [esp + 0x30]
call fcn.00404890
push str..zip
push ebx
call fcn.004e4707
mov edi, dword [esp + 0x38]
add esp, 0x10
test eax, eax
jne 0x495601
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x6e]
push eax
mov word [esp + 0x70], dx
call fcn.004e8fe0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x68]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ZipNew.data
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, str.FileName
lea esi, [esp + 0x70]
xor ebp, ebp
call fcn.00401640
push ecx
mov byte [esp + 0x284], 0xc
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], esp
mov ebx, esp
call fcn.004048c0
add eax, 0x10
push SHChangeNotifyDeregister
lea edx, [esp + 0x4c]
mov dword [ebx], eax
push edx
mov ecx, ebp
mov byte [esp + 0x28c], 1
call fcn.00404630
push eax
mov edx, esi
call fcn.004047a0
add esp, 8
lea esi, [esp + 0x3c]
mov ebp, eax
call fcn.004045f0
mov ebx, dword [esp + 0x30]
jmp 0x49578e
push str..rar
push ebx
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x4956bd
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push eax
mov ecx, str.FileName
xor esi, esi
call fcn.00401640
push ecx
mov ecx, esp
mov byte [esp + 0x280], 0xd
mov dword [esp + 0x28], esp
push ecx
mov ecx, str..rarShellNew
call fcn.00401640
push SHChangeNotifyDeregister
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov byte [esp + 0x288], 1
call fcn.00404630
call fcn.00404420
lea esi, [esp + 0x3c]
call fcn.004045f0
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push eax
xor ecx, ecx
xor esi, esi
call fcn.00401640
push ecx
mov ecx, esp
mov byte [esp + 0x280], 0xe
mov dword [esp + 0x28], esp
push ecx
mov ecx, str..rarShellNew
call fcn.00401640
push SHChangeNotifyDeregister
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov byte [esp + 0x288], 1
call fcn.00404630
mov byte [esp + 0x278], 0xf
jmp 0x495774
push 0x510c08
push ebx
call fcn.004e4707
add esp, 8
test eax, eax
jne 0x49578e
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push eax
mov ecx, str.FileName
xor esi, esi
call fcn.00401640
push ecx
mov ecx, esp
mov byte [esp + 0x280], 0x10
mov dword [esp + 0x28], esp
push ecx
mov ecx, str..7zShellNew
call fcn.00401640
push SHChangeNotifyDeregister
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov byte [esp + 0x288], 1
call fcn.00404630
call fcn.00404420
lea esi, [esp + 0x3c]
call fcn.004045f0
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push eax
xor ecx, ecx
xor esi, esi
call fcn.00401640
push ecx
mov ecx, esp
mov byte [esp + 0x280], 0x11
mov dword [esp + 0x28], esp
push ecx
mov ecx, str..7zShellNew
call fcn.00401640
push SHChangeNotifyDeregister
lea edx, [esp + 0x48]
push edx
mov ecx, esi
mov byte [esp + 0x288], 1
call fcn.00404630
mov byte [esp + 0x278], 0x12
mov esi, eax
call fcn.00497470
lea esi, [esp + 0x3c]
mov ebp, eax
mov byte [esp + 0x278], 1
call fcn.004045f0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x495969
mov esi, dword [esp + 0x284]
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
lea edi, [esp + 0x30]
mov dword [esp + 0x28], esi
call fcn.00404890
mov edi, dword [esp + 0x30]
add esp, 8
test esi, esi
jne 0x49589f
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
push ecx
mov byte [esp + 0x27c], 0x13
mov eax, esp
mov dword [esp + 0x30], esp
push eax
mov ecx, str.Progid
lea esi, [esp + 0x2c]
xor ebx, ebx
call fcn.00401640
push ecx
mov byte [esp + 0x280], 0x14
mov dword [esp + 0x3c], esp
lea eax, [edi - 0x10]
mov dword [esp + 0x3c], esp
call fcn.004048c0
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
push SHChangeNotifyDeregister
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
mov byte [esp + 0x288], 0x13
call fcn.00404630
push eax
mov byte [esp + 0x27c], 0x15
call fcn.0048f8f0
add esp, 4
lea esi, [esp + 0x3c]
mov byte [esp + 0x278], 0x13
call fcn.004045f0
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x24]
push eax
call fcn.004047e0
test eax, eax
je 0x49587b
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x510134
call fcn.004047e0
test eax, eax
jne 0x495882
mov esi, 1
jmp 0x495886
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
mov byte [esp + 0x278], 1
call fcn.004016f0
test esi, esi
je 0x495965
lea edx, [esp + 0x38]
push edx
mov ecx, str.CURRENT_USER_
call fcn.00401640
mov byte [esp + 0x278], 0x16
mov eax, dword [edi - 0xc]
push eax
push edi
lea eax, [esp + 0x40]
push eax
call fcn.0041e520
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00497300
push ecx
mov bl, 0x17
mov byte [esp + 0x27c], bl
mov edx, esp
mov dword [esp + 0x30], esp
push edx
mov ecx, str.Progid
xor esi, esi
call fcn.00401640
push ecx
mov byte [esp + 0x280], 0x18
lea eax, [edi - 0x10]
mov dword [esp + 0x28], esp
mov ebp, esp
call fcn.004048c0
add eax, 0x10
mov dword [ebp], eax
push SHChangeNotifyDeregister
lea eax, [esp + 0x60]
push eax
mov ecx, esi
mov byte [esp + 0x288], bl
call fcn.00404630
mov esi, eax
mov byte [esp + 0x278], 0x19
call fcn.00497470
lea esi, [esp + 0x54]
call fcn.004045f0
lea ecx, [esp + 0x3c]
push ecx
mov ebp, 1
mov byte [esp + 0x27c], 0x16
call fcn.00497240
lea ecx, [esp + 0x38]
mov byte [esp + 0x278], 1
call fcn.004016f0
mov ebx, dword [esp + 0x30]
call fcn.00492130
cmp dword [eax + 0x130], 0
je 0x495c67
push ebx
push str.CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
lea edi, [esp + 0x30]
call fcn.00404890
mov ecx, dword [esp + 0x30]
add esp, 8
lea edx, [esp + 0x3c]
push edx
call fcn.00497300
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
mov byte [esp + 0x280], 0x1a
call fcn.00404890
mov eax, dword [esp + 0x58]
add esp, 8
test eax, eax
je 0x495bed
cmp word [eax], 0
je 0x495bed
lea esi, [esp + 0x24]
call fcn.004048a0
mov bl, 0x1d
mov byte [esp + 0x278], bl
mov ebp, dword [esp + 0x30]
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sOpenWithList
mov edi, esi
call fcn.00404890
add esp, 4
mov eax, esp
mov dword [esp + 0x30], esp
push eax
xor ecx, ecx
xor esi, esi
call fcn.00401640
mov byte [esp + 0x27c], 0x1e
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
call fcn.004048c0
push SHChangeNotifyDeregister
lea ecx, [esp + 0x60]
add eax, 0x10
push ecx
mov dword [edi], eax
mov ecx, esi
mov byte [esp + 0x288], bl
call fcn.00404630
mov esi, eax
mov byte [esp + 0x278], 0x1f
call fcn.00497470
lea esi, [esp + 0x54]
mov byte [esp + 0x278], bl
call fcn.004045f0
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sOpenWithProgids
lea edi, [esp + 0x2c]
call fcn.00404890
add esp, 4
mov edx, esp
mov dword [esp + 0x30], esp
push edx
xor ecx, ecx
xor esi, esi
call fcn.00401640
mov byte [esp + 0x27c], 0x20
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
call fcn.004048c0
add eax, 0x10
mov dword [edi], eax
push SHChangeNotifyDeregister
lea eax, [esp + 0x60]
push eax
mov ecx, esi
mov byte [esp + 0x288], bl
call fcn.00404630
mov esi, eax
mov byte [esp + 0x278], 0x21
call fcn.00497470
lea esi, [esp + 0x54]
mov byte [esp + 0x278], bl
call fcn.004045f0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x50]
call fcn.00401640
mov byte [esp + 0x278], 0x22
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00402930
lea ecx, [esp + 0x4c]
mov byte [esp + 0x278], 0x24
call fcn.004016f0
mov esi, dword [esp + 0x34]
push 0
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push eax
mov ecx, str.Hash
xor ebp, ebp
call fcn.00401640
mov byte [esp + 0x280], 0x25
mov edi, dword [esp + 0x30]
push ecx
lea ebx, [edi - 0x10]
mov dword [esp + 0x2c], esp
mov eax, ebx
mov dword [esp + 0x2c], esp
call fcn.004048c0
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
push SHChangeNotifyDeregister
lea edx, [esp + 0x64]
push edx
mov ecx, ebp
mov byte [esp + 0x28c], 0x24
call fcn.00404630
push eax
mov edx, esi
call fcn.004047a0
add esp, 8
lea esi, [esp + 0x54]
mov ebp, eax
call fcn.004045f0
test ebp, ebp
je 0x495bd5
push 0
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push eax
mov ecx, str.Progid
xor esi, esi
call fcn.00401640
push ecx
mov byte [esp + 0x284], 0x26
mov eax, ebx
mov dword [esp + 0x2c], esp
mov ebp, esp
call fcn.004048c0
push SHChangeNotifyDeregister
lea ecx, [esp + 0x64]
add eax, 0x10
push ecx
mov dword [ebp], eax
mov ecx, esi
mov byte [esp + 0x28c], 0x24
call fcn.00404630
mov edx, dword [esp + 0x54]
push eax
call fcn.004047a0
add esp, 8
lea esi, [esp + 0x54]
mov ebp, eax
call fcn.004045f0
lea ecx, [esp + 0x34]
call fcn.004016f0
lea ecx, [esp + 0x24]
call fcn.004016f0
mov ebx, dword [esp + 0x30]
jmp 0x495c55
push ecx
mov edx, esp
mov dword [esp + 0x30], esp
push edx
xor ecx, ecx
xor esi, esi
call fcn.00401640
mov byte [esp + 0x27c], 0x1b
mov edi, dword [esp + 0x2c]
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x54], esp
mov ebp, esp
call fcn.004048c0
add eax, 0x10
mov dword [ebp], eax
push SHChangeNotifyDeregister
lea eax, [esp + 0x60]
push eax
mov ecx, esi
mov byte [esp + 0x288], 0x1a
call fcn.00404630
mov esi, eax
mov byte [esp + 0x278], 0x1c
call fcn.00497470
lea esi, [esp + 0x54]
call fcn.004045f0
mov ebp, 1
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x27c], 1
call fcn.00497240
add edi, 0xfffffff0
mov byte [esp + 0x278], 0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x495c8b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x278], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x495cb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x495cdf
add eax, 0xfffffff0
mov dword [esp + 0x278], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x495cdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004e3edb
add esp, 0x268
ret 8