Function at 0x51c570
Capabilities:
Accept command line arguments
Create process on windows
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5273ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
mov dword [ebp - 0x2b4], ecx
call fcn.004d2b00
mov ecx, eax
call fcn.004d1cd0
test eax, eax
jne 0x51c5ab
xor eax, eax
jmp 0x51ca95
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x278]
call fcn.00406b50
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x278]
call fcn.00477060
push eax
lea ecx, [ebp - 0x28]
call fcn.00520b20
mov byte [ebp - 4], 1
push 0x535b84
lea ecx, [ebp - 0x28]
call fcn.005205c0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00406b50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.0040b3b0
movzx eax, al
test eax, eax
jne 0x51c657
push 0x535b8c
lea ecx, [ebp - 0x3c]
call fcn.00405630
test eax, eax
jne 0x51c657
mov dword [ebp - 0x2a0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004070b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00520bb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.004070b0
mov eax, dword [ebp - 0x2a0]
jmp 0x51ca95
mov dword [ebp - 0x40], 0
call fcn.004086f0
mov dword [ebp - 0x60], eax
push 0x535b90
mov ecx, dword [ebp + 8]
call fcn.00511120
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jne 0x51c68e
mov dword [ebp - 0x2b8], 0
jmp 0x51c6f3
mov ecx, dword [ebp - 0x27c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x51c6b6
mov dword [ebp - 0x2bc], 0
jmp 0x51c6e7
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.004ae490
mov dword [ebp - 0x2c0], esp
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x27c]
push ecx
mov edx, dword [ebp - 0x2c0]
push edx
call fcn.0040aa40
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00406b50
mov byte [ebp - 4], 3
push str.quicklaunchbar
mov ecx, dword [ebp + 8]
call fcn.00511120
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jne 0x51c731
mov dword [ebp - 0x2c4], 0
jmp 0x51c796
mov edx, dword [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x51c759
mov dword [ebp - 0x2c8], 0
jmp 0x51c78a
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.004ae490
mov dword [ebp - 0x2cc], esp
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x2cc]
push eax
call fcn.0040aa40
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x2c4]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00406b50
mov byte [ebp - 4], 4
push 0x535ba8
mov ecx, dword [ebp + 8]
call fcn.00511120
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402890
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.00402b20
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b00
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2b4]
call fcn.004dd2a0
mov byte [ebp - 4], 6
call fcn.004cfd90
mov ecx, eax
call fcn.004cefe0
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0x8fc
je 0x51c812
cmp dword [ebp - 0x270], 0x960
jne 0x51c824
push 0x535bb0
push 0x535bbc
lea ecx, [ebp - 0x30]
call fcn.0046efa0
push 0
push 0x10
lea ecx, [ebp - 0x26c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x38]
call fcn.00406b50
mov byte [ebp - 4], 7
push 0x535bc8
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.0040b1c0
add esp, 0xc
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], edx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2d4]
push ecx
lea edx, [ebp - 0x2a8]
push edx
call fcn.00407640
add esp, 0xc
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2dc]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00404380
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2a8]
call fcn.004070b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a4]
call fcn.004070b0
lea ecx, [ebp - 0x38]
call fcn.0040ed60
push eax
lea ecx, [ebp - 0x274]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x2b4]
add ecx, 4
call fcn.00477060
push eax
call fcn.004dc7c0
add esp, 0xc
mov dword [ebp - 0x40], eax
push 0x535bcc
lea ecx, [ebp - 0x2c]
call fcn.00405630
test eax, eax
je 0x51c992
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.004070b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004070b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00402910
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004070b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.004070b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004070b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00520bb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.004070b0
mov eax, dword [ebp - 0x2ac]
jmp 0x51ca95
call fcn.0050cae0
cmp eax, 0xc
jge 0x51c9ba
push 5
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.0040ed60
push eax
push 0x535bd0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x51ca1d
lea ecx, [ebp - 0x29c]
call fcn.00476f00
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00404380
push str.fastpic
lea ecx, [ebp - 0x298]
call fcn.00407020
mov ecx, dword [ebp - 0x2b4]
add ecx, 4
push ecx
lea ecx, [ebp - 0x294]
call fcn.00404380
push 1
lea edx, [ebp - 0x29c]
push edx
call fcn.00514120
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x29c]
call fcn.00476f60
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.004070b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004070b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00402910
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004070b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.004070b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004070b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00520bb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.004070b0
mov eax, dword [ebp - 0x2b0]
lea esp, [ebp - 0x2dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4