Function at 0x411350
Capabilities:
Access peb ldr_data
Check if file exists
Create process on windows
Delete file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d7f40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x507fec]
mov edx, dword [eax + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov ecx, 0x507fec
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x18]
call fcn.004115b0
mov byte [esp + 0x24], 1
mov ecx, dword [ebp]
mov edx, dword [eax]
push ecx
push edx
push 0x4ea838
lea edi, [esp + 0x20]
call fcn.00404190
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edi, 0xffffffff
add esp, 0xc
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4113db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.shortcut_path:
call fcn.004a1b97
mov esi, dword [esp + 0x18]
add esp, 4
push esi
call fcn.004a1b97
add esp, 4
push 0x4e32a0
call fcn.004a1b97
mov ebp, dword [ebp + 0x18]
add esp, 4
cmp ebp, 9
ja case.default.0x41140e
jmp dword [ebp*4 + 0x41157c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41142b
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
jmp 0x411430
mov ebx, 1
lea eax, [esi - 0x10]
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41144d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
lea edi, [esp + 0x14]
call fcn.00411960
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411491
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4114c1
push ebx
push ebx
push ebx
push esi
push str.startunpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4114de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
call fcn.00413b30
cmp dword [eax], 5
jl 0x411513
push 0xc8c2
lea ecx, [esp + 0x18]
call fcn.004119c0
add esp, 4
mov ebx, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41144d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
lea eax, [esi - 0x10]
mov dword [esp + 0x24], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x411566
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret