Function at 0x434220
Capabilities:
Check os version
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465242
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4826d4]
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 eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x134], eax
mov eax, dword [0x4855d0]
test eax, eax
jne 0x4346bd
push 0x110
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00446f50
add esp, 0xc
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4346c8
mov eax, dword [ebp - 0x114]
sub eax, 0
je 0x4346ac
sub eax, 1
je 0x43461a
sub eax, 1
je 0x4342eb
mov eax, dword [0x4855d0]
test eax, eax
jne 0x4346bd
mov dword [0x4855d0], 1
xor al, al
jmp 0x4345b3
mov eax, dword [ebp - 0x120]
cmp eax, 3
jne 0x434307
mov dword [0x4855d0], 0x40000
xor al, al
jmp 0x4345b3
cmp eax, 4
jne 0x43431d
mov dword [0x4855d0], 0x40001
xor al, al
jmp 0x4345b3
cmp eax, 5
jne 0x43436d
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x43433d
mov dword [0x4855d0], 0x40002
xor al, al
jmp 0x4345b3
cmp eax, 1
jne 0x434353
mov dword [0x4855d0], 0x40003
xor al, al
jmp 0x4345b3
cmp eax, 2
jne 0x43460b
mov dword [0x4855d0], 0x40004
xor al, al
jmp 0x4345b3
cmp eax, 6
jne 0x4345f7
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x434391
mov dword [0x4855d0], 0x40005
xor al, al
jmp 0x4345b3
cmp eax, 1
jne 0x4345cf
mov dword [0x4855d0], 0x40006
lea eax, [ebp - 0x138]
xor bl, bl
push eax
call fcn.0040f990
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.0040f2a0
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
push eax
call fcn.00402c90
add eax, 0x10
add esp, 0x10
mov dword [ebp - 0x130], eax
push 4
push str..lnk
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.00408a00
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [ebp - 0x134]
push dword [ebp + 0x18]
push dword [ebp - 0x12c]
push dword [ebp - 0x13c]
push 0
push edi
mov edi, dword [ebp - 0x130]
push edi
call fcn.00432fa0
add esp, 0x2c
test eax, eax
je 0x434571
push edi
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov esi, eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x150], esi
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x46b2dc
push esi
call dword [sym.imp.SHELL32.dll_SHBindToParent]
test eax, eax
jne 0x43454b
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 5
push eax
push 1
push 0
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x14c]
call fcn.00433220
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, eax
lea ebx, [ebp - 0x134]
test edi, edi
mov dword [ebp - 0x134], edi
mov eax, 0
cmove ebx, eax
cmp dword [ebp - 0x14c], eax
je 0x434504
test ebx, ebx
je 0x434504
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push 0
push 0x8002
push 1
push eax
push ebx
lea ecx, [ebp - 0x14c]
call fcn.0040c550
push 0
push str.taskbarpin
push 0
lea ecx, [ebp - 0x14c]
call fcn.0040c580
mov bl, al
test edi, edi
je 0x434511
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [ebp - 0x144]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x434525
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x434535
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
je 0x434545
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edi, dword [ebp - 0x130]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x12c]
mov byte [ebp - 4], 2
test eax, eax
je 0x434566
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
je 0x434571
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43458f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x138]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4345b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, bl
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.00444abb
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x4345e3
mov dword [0x4855d0], 0x40007
jmp 0x4343a4
cmp eax, 3
jne 0x43460b
mov dword [0x4855d0], 0x40008
jmp 0x4343a4
cmp eax, 0xa
jne 0x43460b
mov dword [0x4855d0], 0x40009
jmp 0x4343a4
mov dword [0x4855d0], 0x4000a
jmp 0x4343a4
cmp dword [ebp - 0x120], 4
jne 0x43469b
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x434662
mov ax, word [ebp - 0x10e]
cmp ax, 0x43
je 0x434651
cmp ax, 0x42
je 0x434651
mov dword [0x4855d0], 0x20000
xor al, al
jmp 0x4345b3
mov dword [0x4855d0], 0x20001
xor al, al
jmp 0x4345b3
cmp eax, 0xa
jne 0x434685
xor eax, eax
cmp word [ebp - 0x10e], 0x41
sete al
add eax, 0x20002
mov dword [0x4855d0], eax
xor al, al
jmp 0x4345b3
cmp eax, 0x5a
jne 0x43469b
mov dword [0x4855d0], 0x20004
xor al, al
jmp 0x4345b3
mov dword [0x4855d0], 0x20005
xor al, al
jmp 0x4345b3
mov dword [0x4855d0], 0x10000
xor al, al
jmp 0x4345b3
cmp eax, 0x40006
jae 0x4343a4
xor al, al
jmp 0x4345b3