Function at 0x425540
Capabilities:
Access peb ldr_data
Check if file exists
Create directory
Create shortcut via ishelllink
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48a0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov dword [esp + 0x30], 0
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov byte [esp + 0x30], 1
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x418]
push ecx
mov ecx, dword [ebp]
mov bl, 2
mov byte [esp + 0x38], bl
call fcn.0041a1c0
test al, al
jne 0x4255f4
lea eax, [esi - 0x10]
mov byte [esp + 0x30], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4257d1
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebp]
lea edx, [edi + 0x210]
push edx
call fcn.0041a1c0
test al, al
je 0x4257bc
mov ecx, dword [esp + 0x18]
push 0x5c
push ecx
call fcn.004408a5
add esp, 8
test eax, eax
jne 0x425628
or eax, 0xffffffff
jmp 0x42562e
sub eax, dword [esp + 0x18]
sar eax, 1
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x20]
call fcn.004106b0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.00410770
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425670
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call ebx
test eax, eax
jne 0x42569b
mov edx, dword [esp + 0x14]
push eax
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [esp + 0x14]
push eax
lea ecx, [ebp + 0x44]
call fcn.00424850
push 0x5c
lea ecx, [esp + 0x18]
call fcn.004215e0
lea ecx, [edi + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00415120
push 0x48da5c
lea ecx, [esp + 0x18]
call fcn.00415120
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x1c]
push edx
push 0x48ff58
push 1
push 0
push 0x492058
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, dword [esp + 0x20]
test eax, eax
jl 0x4257bc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
cmp word [edi + 0x620], 0
lea eax, [edi + 0x620]
je 0x425729
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push 0x491108
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4257b0
mov ecx, dword [esp + 0x14]
push ecx
call ebx
test eax, eax
je 0x425758
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp]
call fcn.004175e0
fstp dword [esp + 0x24]
mov eax, dword [edi + 4]
fld dword [edi]
push eax
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.0041e1a0
add esp, 0xc
test al, al
je 0x4257a4
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0x44]
call fcn.00424850
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x30], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4257dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425802
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42582a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4