Function at 0x51c5b0
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 0x5273ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
mov dword [ebp - 0x2b4], ecx
call fcn.004d2b40
mov ecx, eax
call fcn.004d1d10
test eax, eax
jne 0x51c5eb
xor eax, eax
jmp 0x51cad5
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.00520b60
mov byte [ebp - 4], 1
push 0x535b9c
lea ecx, [ebp - 0x28]
call fcn.00520600
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 0x51c697
push 0x535ba4
lea ecx, [ebp - 0x3c]
call fcn.00405630
test eax, eax
jne 0x51c697
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.00520bf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.004070b0
mov eax, dword [ebp - 0x2a0]
jmp 0x51cad5
mov dword [ebp - 0x40], 0
call fcn.004086f0
mov dword [ebp - 0x60], eax
push 0x535ba8
mov ecx, dword [ebp + 8]
call fcn.00511160
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jne 0x51c6ce
mov dword [ebp - 0x2b8], 0
jmp 0x51c733
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 0x51c6f6
mov dword [ebp - 0x2bc], 0
jmp 0x51c727
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.00511160
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jne 0x51c771
mov dword [ebp - 0x2c4], 0
jmp 0x51c7d6
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 0x51c799
mov dword [ebp - 0x2c8], 0
jmp 0x51c7ca
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 0x535bc0
mov ecx, dword [ebp + 8]
call fcn.00511160
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.004dd2e0
mov byte [ebp - 4], 6
call fcn.004cfdd0
mov ecx, eax
call fcn.004cefe0
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0x8fc
je 0x51c852
cmp dword [ebp - 0x270], 0x960
jne 0x51c864
push 0x535bc8
push 0x535bd4
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 0x535be0
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.004dc800
add esp, 0xc
mov dword [ebp - 0x40], eax
push 0x535be4
lea ecx, [ebp - 0x2c]
call fcn.00405630
test eax, eax
je 0x51c9d2
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.00520bf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.004070b0
mov eax, dword [ebp - 0x2ac]
jmp 0x51cad5
call fcn.0050cb20
cmp eax, 0xc
jge 0x51c9fa
push 5
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.0040ed60
push eax
push 0x535be8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x51ca5d
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.00514160
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.00520bf0
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