Function at 0x42ff80
Capabilities:
Check if file exists
Check os version
Create process on windows
Delete directory
Get file attributes
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x454d93
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4652b0]
xor eax, esp
push eax
lea eax, [esp + 0x1d4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1e4]
lea ecx, [ebp + 0x2c]
call fcn.00433ce0
test eax, eax
je 0x430826
xor esi, esi
mov dword [esp + 0x1c], esi
call fcn.00438f20
mov dword [esp + 0x20], eax
call fcn.00435960
mov eax, dword [0x467e80]
mov edx, dword [eax + 0xc]
mov ecx, 0x467e80
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x1dc], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 0xc]
cmp ecx, esi
jl 0x43003d
push str._DESKTOP_
push eax
call fcn.0043e3d5
add esp, 8
cmp eax, esi
je 0x43003d
sub eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x43003d
push str.DESKTOP
lea edi, [esi + 7]
lea eax, [esp + 0x28]
call fcn.00404710
jmp 0x43012a
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], esi
hlt
jl 0x43011c
push str._QUICKLAUNCH_
push eax
call fcn.0043e3d5
add esp, 8
cmp eax, esi
je 0x43011c
sub eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x43011c
mov edx, str.QUICKLAUNCH
lea ebx, [esp + 0x24]
call fcn.00427230
push 0x94
xor ebx, ebx
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.00443400
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x104
lea edx, [esp + 0xcd]
push ebx
push edx
mov byte [esp + 0xd4], bl
call fcn.00443400
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x1c], 0x104
cmp eax, 6
ja 0x4300d8
jne 0x430116
cmp dword [esp + 0x38], 1
jb 0x430116
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xcc]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x430116
cmp dword [esp + 0x1c], ebx
jbe 0x430116
push str.SYSTEM
lea edx, [esp + 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x430116
mov dword [esp + 0x1c], 1
jmp 0x43012a
mov dword [esp + 0x1c], ebx
jmp 0x43012a
mov edx, str.LINK
lea ebx, [esp + 0x24]
call fcn.00427230
mov eax, dword [0x467e80]
mov edx, dword [eax + 0xc]
mov ecx, 0x467e80
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x1dc], 1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x43016e
mov ecx, 0x104
lea eax, [esp + 0x14]
call fcn.00404d80
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], 0x104
jge 0x430181
push 0x80070057
call fcn.004059f0
mov edi, dword [esp + 0x20]
mov dword [esi - 0xc], 0x104
mov byte [esi + 0x104], 0
mov ebx, dword [ebp + 0x10]
call fcn.00438f70
lea edx, [edi + 0xc]
push esi
mov ecx, ebx
call fcn.004368d0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x430177
cmp eax, dword [esi - 8]
jg 0x430177
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea eax, [esp + 0x14]
call fcn.004041b0
push 0x4581b8
lea eax, [esp + 0x18]
push eax
mov edx, 1
call fcn.00404c50
mov eax, dword [ebp + 8]
test eax, eax
je 0x430263
mov ecx, dword [edi]
mov ecx, dword [ecx]
test ecx, ecx
je 0x430201
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx + 0x44]
call eax
test eax, eax
je 0x430201
mov ecx, eax
jmp 0x430203
xor ecx, ecx
lea edx, [esp + 0x18]
push edx
call fcn.004235c0
mov byte [esp + 0x1dc], 2
mov eax, dword [esp + 0x18]
mov edx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00404c50
push 0x4581b8
lea ecx, [esp + 0x18]
push ecx
mov edx, 1
call fcn.00404c50
mov byte [esp + 0x1dc], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430263
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ebp]
test ecx, ecx
je 0x430280
mov eax, dword [ecx]
push 0
push edx
mov edx, dword [eax + 0x44]
call edx
test eax, eax
je 0x430280
mov ecx, eax
jmp 0x430282
xor ecx, ecx
lea eax, [esp + 0x28]
push eax
call fcn.004235c0
mov byte [esp + 0x1dc], 3
mov eax, dword [esp + 0x28]
mov edx, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00404c50
push 0x45ade4
lea edx, [esp + 0x18]
push edx
mov edx, 4
call fcn.00404c50
cmp dword [esp + 0x1c], 0
je 0x430459
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push eax
push str.TaskbarunPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
push esi
push str.TaskbarunPin__0x_x
push 0x80
call fcn.004025a0
add esp, 0xc
cmp esi, 0x20
jge 0x430459
mov edx, dword [0x467e80]
mov eax, dword [edx + 0xc]
mov ecx, 0x467e80
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x1dc], 4
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x430340
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.00404d80
mov esi, dword [esp + 0x18]
cmp dword [esi - 8], 0x104
jge 0x430353
push 0x80070057
call fcn.004059f0
mov dword [esi - 0xc], 0x104
mov byte [esi + 0x104], 0
mov ebx, dword [ebp + 0x10]
call fcn.00438f70
push esi
mov ecx, ebx
lea edx, [edi + 0xc]
call fcn.004368d0
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x430177
cmp eax, dword [esi - 8]
jg 0x430177
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea eax, [esp + 0x18]
call fcn.004041b0
push 0x45aed4
lea ecx, [esp + 0x1c]
push ecx
mov edx, 0x15
call fcn.00404c50
mov eax, dword [edi]
mov ecx, dword [eax]
mov ebp, dword [ebp]
test ecx, ecx
je 0x4304c5
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
push 0
push ebp
call eax
test eax, eax
je 0x4304c5
mov ecx, eax
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4303e0
sub eax, esi
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
call fcn.00404c50
push 0x45ade4
lea edx, [esp + 0x1c]
push edx
mov edx, 4
call fcn.00404c50
mov esi, dword [esp + 0x18]
push 0
push 0
push 0
push esi
push str.TaskbarunPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push eax
push str.TaskbarunPin__0x_x
push 0x80
call fcn.004025a0
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x1dc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x430472
test esi, esi
je 0x430472
call fcn.00439090
mov edx, dword [0x467e80]
mov eax, dword [edx + 0xc]
mov ecx, 0x467e80
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x1dc], 5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x4304b6
mov ecx, edi
lea eax, [esp + 0x1c]
call fcn.00404d80
mov esi, dword [esp + 0x1c]
cmp dword [esi - 8], edi
jge 0x4304ce
push 0x80070057
call fcn.004059f0
xor ecx, ecx
xor eax, eax
jmp 0x4303e9
mov dword [esi - 0xc], edi
push edi
mov ecx, esi
mov byte [esi + 0x104], 0
call fcn.004380f0
mov eax, dword [esi - 8]
add esp, 4
push eax
push esi
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x430177
cmp eax, dword [esi - 8]
jg 0x430177
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov edx, dword [0x467e80]
mov eax, dword [edx + 0xc]
mov ecx, 0x467e80
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x1dc], 6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x430547
mov ecx, edi
lea eax, [esp + 0x18]
call fcn.00404d80
mov esi, dword [esp + 0x18]
cmp dword [esi - 8], edi
jge 0x430556
push 0x80070057
call fcn.004059f0
mov dword [esi - 0xc], edi
push edi
mov ecx, esi
mov byte [esi + 0x104], 0
call fcn.00437ff0
mov eax, dword [esi - 8]
add esp, 4
push eax
push esi
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x430177
cmp eax, dword [esi - 8]
jg 0x430177
mov ecx, dword [esp + 0x18]
mov dword [ecx - 0xc], eax
mov byte [eax + ecx], 0
mov edx, dword [0x467e80]
mov eax, dword [edx + 0xc]
mov ecx, 0x467e80
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1dc], 7
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
mov ebx, 0x104
sub eax, ebx
or eax, ecx
jge 0x4305d8
mov ecx, ebx
lea eax, [esp + 0x20]
call fcn.00404d80
mov ebp, dword [esp + 0x20]
cmp dword [ebp - 8], ebx
jge 0x4305e7
push 0x80070057
call fcn.004059f0
mov dword [ebp - 0xc], ebx
mov edi, ebp
mov byte [ebp + 0x104], 0
call fcn.00438360
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.0043ecbd
add esp, 8
test eax, eax
jl 0x430177
cmp eax, dword [ebp - 8]
jg 0x430177
mov ecx, dword [esp + 0x14]
push 0x5c
mov dword [ebp - 0xc], eax
push ecx
mov byte [eax + ebp], 0
call fcn.0043e04e
add esp, 8
test eax, eax
je 0x430736
sub eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x430736
mov edi, dword [esp + 0x14]
jmp 0x430650
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
call fcn.00427400
mov byte [esp + 0x1dc], 8
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x4306b7
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4306a6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4306a6
call fcn.004047a0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x43069d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [esp + 0x14], edi
jmp 0x4306b7
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00404710
mov edi, dword [esp + 0x14]
mov byte [esp + 0x1dc], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4306df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
push edi
call fcn.0043e70f
add esp, 8
test eax, eax
je 0x430736
mov edx, dword [esp + 0x18]
push edx
push edi
call fcn.0043e70f
add esp, 8
test eax, eax
je 0x430736
push ebp
push edi
call fcn.0043e70f
add esp, 8
test eax, eax
je 0x430736
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x430736
push 0x5c
push edi
call fcn.0043e04e
add esp, 8
test eax, eax
je 0x430736
sub eax, edi
cmp eax, 0xffffffff
jne 0x430650
add ebp, 0xfffffff0
mov byte [esp + 0x1dc], 6
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43075b
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0x1dc], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430783
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1dc], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4307ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1dc], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4307d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1dc], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4307fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1dc], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430826
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1bc]
xor ecx, esp
call fcn.0043defc
add esp, 0x1cc
ret 4