Function at 0x4c5c90
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4eb28e
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x6089a0]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push esi
push edi
mov eax, dword [0x6089a0]
xor eax, esp
push eax
lea eax, [esp + 0x478]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
mov dword [esp + 0x10], ecx
call edx
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x4c611c
mov eax, dword [esi + 0xc8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x1032
push eax
call ebx
cmp eax, 1
mov ecx, dword [esi + 0xc8]
jne 0x4c5e3e
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebx
mov edx, dword [esi + 0xc8]
add eax, 1
push 2
lea edi, [eax - 1]
push edi
push 0x100c
push edx
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
xor ebx, ebx
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
push edi
call edx
test eax, eax
je 0x4c611c
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x18]
push edx
call eax
lea esi, [esp + 0x14]
mov dword [esp + 0x480], ebx
call fcn.004b23b0
push 0x5b08c8
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x48c], 1
call fcn.00401030
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x480], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0x5b08e4
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea edx, [esp + 0x24]
push edx
lea edi, [esp + 0x1c]
mov byte [esp + 0x484], 4
call fcn.00402b60
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
mov byte [esp + 0x484], 5
call fcn.00402ae0
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x484], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push 1
push ebx
push edx
push eax
push 0x5b08ec
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x4c611c
push edi
push edi
push 0x1032
push ecx
call ebx
cmp eax, 1
jbe 0x4c611c
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x480], 7
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
push esi
lea edi, [esp + 0x34]
mov byte [esp + 0x484], 8
call fcn.004bbd00
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp edi, eax
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x4c5ea0
call ebx
mov eax, dword [esp + 0x38]
mov edi, edi
cmp dword [esp + 0x34], eax
mov esi, eax
jbe 0x4c5eae
call ebx
mov eax, dword [esp + 0x38]
cmp edi, esi
je 0x4c5f2b
cmp edi, eax
jb 0x4c5eb8
call ebx
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, dword [edx + 8]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 8]
call eax
test eax, eax
je 0x4c5f15
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x1c]
push eax
call edx
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x44]
mov byte [esp + 0x480], 9
call fcn.00402e70
mov ecx, ebx
mov byte [esp + 0x480], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x38]
cmp edi, eax
jb 0x4c5f23
call ebx
mov eax, dword [esp + 0x38]
add edi, 4
jmp 0x4c5ea0
xor esi, esi
push 0x206
lea eax, [esp + 0x62]
push esi
push eax
mov word [esp + 0x68], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 0x268]
push esi
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push 5
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x4c5f9d
lea ecx, [esp + 0x5c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4c5f9d
push 0x104
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea ecx, [esp + 0x264]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x5b08f8
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x18]
mov bl, 0xa
push eax
mov byte [esp + 0x48c], bl
call fcn.00401030
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x484], 0xb
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x10]
mov byte [esp + 0x480], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [esp + 0x44]
lea ecx, [esp + 0x20]
call fcn.004b24c0
lea esi, [esp + 0x10]
call fcn.004b23b0
push 0x5b090c
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x48c], 0xc
call fcn.00401030
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x480], 0xe
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0x5b0928
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea edx, [esp + 0x54]
push edx
lea edi, [esp + 0x24]
mov byte [esp + 0x484], 0xf
call fcn.00402b60
add esp, 4
lea ecx, [esp + 0x58]
push ecx
mov edi, eax
mov byte [esp + 0x484], 0x10
call fcn.00402ae0
add esp, 4
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x484], 0x11
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x58]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x54]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
push 1
xor ebx, ebx
push ebx
push edx
push eax
push 0x5b0930
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov esi, dword [esp + 0x48]
cmp esi, ebx
je 0x4c60ff
mov edi, dword [esp + 0x4c]
cmp esi, edi
je 0x4c60f6
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
add esi, 4
cmp esi, edi
jne 0x4c60e3
mov esi, dword [esp + 0x48]
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
je 0x4c611c
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov ecx, dword [esp + 0x478]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.00432b8e
mov esp, ebp
pop ebp
ret