Function at 0x401180
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x6548
call fcn.00401840
push ebx
mov ebx, dword [esp + 0x6558]
push esi
push edi
push ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1034]
push ecx
call fcn.00401030
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x102c]
mov byte [esp + eax + 0x8c], cl
inc eax
test cl, cl
jne 0x4011b0
lea eax, [esp + 0xc]
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4011d0
lea edi, [esp + 0x8c]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4011e1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x8c]
and ecx, 3
push 0x407240
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0040182b
mov esi, eax
add esp, 8
test esi, esi
jne 0x4012c6
jmp 0x401220
mov cl, byte [esp + eax + 0x102c]
mov byte [esp + eax + 0x8c], cl
inc eax
test cl, cl
jne 0x401220
lea edi, [esp + 0x8c]
dec edi
jmp 0x401240
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401240
mov eax, dword [str.winLaunch.cfg]
mov ecx, dword [0x407234]
mov edx, dword [0x407238]
mov dword [edi], eax
mov ax, word [0x40723c]
mov dword [edi + 4], ecx
lea ecx, [esp + 0x8c]
mov dword [edi + 8], edx
push 0x407240
push ecx
mov word [edi + 0xc], ax
call fcn.0040182b
mov esi, eax
add esp, 8
test esi, esi
jne 0x4012c6
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x860]
push str.Could_not_find_file__s_or_winLauncher.cfg._Please_nreinstall_the_application.
push eax
call fcn.004017a9
add esp, 0xc
push esi
push str.Error_loading_configuration_file
lea ecx, [esp + 0x864]
push ecx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x6548
ret 0x10
lea edx, [esp + 0x3e44]
push 0x2710
push edx
call fcn.00401796
push esi
lea eax, [esp + 0x1740]
push 0x2710
push eax
call fcn.0040161e
lea ecx, [esp + 0x1748]
push ecx
call fcn.00401000
lea edx, [esp + 0x174c]
push edx
call fcn.00401582
add esp, 0x1c
test eax, eax
je 0x401351
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x860]
push str.Could_not_find_the_directory_given_in__s_nPlease_reinstall_the_application.
push ecx
call fcn.004017a9
add esp, 0xc
push 0
push str.Error_changing_directory
lea edx, [esp + 0x864]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x6548
ret 0x10
push esi
lea eax, [esp + 0xc48]
push 0x3e8
push eax
call fcn.0040161e
lea ecx, [esp + 0xc50]
push ecx
call fcn.00401000
push esi
lea edx, [esp + 0x488]
push 0x3e8
push edx
call fcn.0040161e
lea eax, [esp + 0x490]
push eax
call fcn.00401000
lea edi, [esp + 0x494]
add esp, 0x20
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4013a0
mov cx, word [0x407150]
mov eax, ebx
mov word [edi], cx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4013b6
lea edi, [esp + 0x474]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4013c7
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x134c]
and ecx, 3
push 0x3e8
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.00401796
add esp, 8
push 1
lea eax, [esp + 0x1350]
push eax
lea ecx, [esp + 0x47c]
push ecx
lea edx, [esp + 0xc50]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x401442
push 0
push str.Please_reinstall_the_application
push str.Could_not_start_the_application
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x6548
ret 0x10
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x6548
ret 0x10