Function at 0x412770
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x260]
push ebx
sub esp, 0x280
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0xffffffff
call dword [sym.imp.kernel32.dll_IsWow64Process]
sub esp, 8
test eax, eax
je 0x4127ae
mov ecx, dword [ebp - 0x260]
test ecx, ecx
jne 0x412b60
mov dword [esp], ebx
call sym._initialize
mov edi, eax
test eax, eax
jne 0x412e30
movzx eax, word [esi]
and eax, 0xfffffffd
cmp ax, 0x2d
je 0x412cc0
call dword [sym.imp.comctl32.dll_InitCommonControls]
mov dword [esp + 4], 2
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x1fc], ebx
mov dword [ebp - 0x204], 0x38
sub esp, 8
mov dword [esp], 2
mov dword [ebp - 0x200], 8
mov dword [ebp - 0x1f8], 0x6c
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1ec], sym._AppDlgProc_16
call sym._load_string
mov dword [esp], 3
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1cc], 0x38
mov dword [ebp - 0x1c8], 8
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1c0], 0x6f
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b4], sym._LibrariesDlgProc_16
call sym._load_string
mov dword [esp], 9
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x194], 0x38
mov dword [ebp - 0x190], 8
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x188], 0x6e
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x17c], sym._GraphDlgProc_16
call sym._load_string
mov dword [esp], 0xa
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x15c], 0x38
mov dword [ebp - 0x158], 8
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], 0x73
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x144], sym._ThemeDlgProc_16
call sym._load_string
mov dword [esp], 4
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x124], 0x38
mov dword [ebp - 0x120], 8
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], 0x70
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], sym._DriveDlgProc_16
call sym._load_string
mov dword [esp], 0xb
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x108], 0
mov dword [ebp - 0xec], 0x38
mov dword [ebp - 0xe8], 8
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], 0x6d
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd4], sym._AudioDlgProc_16
call sym._load_string
mov dword [esp], 0x13
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xb4], 0x38
mov dword [ebp - 0xb0], 8
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], 0x74
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x9c], sym._StagingDlgProc_16
call sym._load_string
mov dword [esp], 0x14
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x7c], 0x38
mov dword [ebp - 0x78], 8
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 0x75
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], sym._InputDlgProc_16
call sym._load_string
mov dword [esp], 0xc
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x44], 0x38
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0x6b
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], sym._AboutDlgProc_16
call sym._load_string
mov dword [esp], 0xd
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x244], 0x34
mov dword [ebp - 0x240], 0x10c
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], 0x64
call sym._load_string
mov dword [ebp - 0x22c], 9
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x220], sym._PropSheetCallback_12
mov dword [ebp - 0x228], 0
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_PropertySheetW]
sub esp, 4
test eax, eax
jle 0x412dfa
test byte [0x415090], 8
jne 0x412e9a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_ExitProcess]
lea edx, [ebp - 0x200]
xor eax, eax
mov ecx, 0x10
mov dword [ebp - 0x244], 0x3a0043
mov dword [ebp - 0x240], 0x77005c
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x23c], 0x6e0069
lea edi, [ebp - 0x244]
mov dword [ebp - 0x238], 0x6f0064
mov dword [ebp - 0x234], 0x730077
mov dword [ebp - 0x230], 0x73005c
mov dword [ebp - 0x22c], 0x730079
mov dword [ebp - 0x228], 0x650074
mov dword [ebp - 0x224], 0x33006d
mov dword [ebp - 0x220], 0x5c0032
mov dword [ebp - 0x21c], 0x690077
mov dword [ebp - 0x218], 0x65006e
mov dword [ebp - 0x214], 0x660063
mov dword [ebp - 0x210], 0x2e0067
mov dword [ebp - 0x20c], 0x780065
mov dword [ebp - 0x208], 0x65
mov dword [ebp - 0x204], 0x44
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_Wow64DisableWow64FsRedirection]
sub esp, 4
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea edx, [ebp - 0x254]
mov dword [esp], edi
lea ecx, [ebp - 0x204]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x412e4a
test byte [0x415090], 2
jne 0x412d70
mov eax, dword [ebp - 0x25c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_Wow64RevertWow64FsRedirection]
sub esp, 4
jmp 0x4127ae
mov dword [esp + 4], str.en_US
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll_setlocale]
movzx eax, word [esi + 2]
mov edx, eax
and edx, 0xffffffdf
cmp dx, 0x56
je 0x412dc0
cmp ax, 0x3f
jne 0x412d58
mov dword [esp], str.Usage:_winecfg__options__n_n
call sym._wine_dbg_printf_1
mov dword [esp], str.Options:_n
call sym._wine_dbg_printf_1
mov dword [esp], str.___no_option__Launch_the_graphical_version_of_this_program._n
call sym._wine_dbg_printf_1
mov dword [esp], str.___v__________Display_the_current_global_Windows_version._n
call sym._wine_dbg_printf_1
mov dword [esp], str.___v_version__Set_global_Windows_version_to_version._n
call sym._wine_dbg_printf_1
mov dword [esp], str.______________Display_this_information_and_exit._n_n
call sym._wine_dbg_printf_1
mov dword [esp], str.Valid_versions_for_version:_n_n
call sym._wine_dbg_printf_1
call sym._print_windows_versions
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 4], esi
mov dword [esp], str.Unsupported_option__ls_n
call sym._wine_dbg_printf_1
jmp 0x412cee
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, edi
mov dword [ebp - 0x264], edx
call sym._wine_dbgstr_wn.constprop.0_2
mov edx, dword [ebp - 0x264]
mov dword [esp + 0xc], str.failed_to_restart_64_bit__s__err__ld_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x415090
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x412ca2
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcslen]
cmp eax, 4
jbe 0x412df0
add esi, 6
mov dword [esp], esi
call sym._set_winver_from_string
test eax, eax
sete al
movzx eax, al
mov edi, eax
jmp 0x412d47
call sym._print_current_winver
jmp 0x412d47
test byte [0x415090], 8
je 0x412b43
mov dword [esp + 0xc], str.Cancel_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x415090
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x412b43
test byte [0x415090], 2
jne 0x412ec3
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
test byte [0x415090], 8
jne 0x412eec
mov eax, dword [ebp - 0x254]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push eax
push eax
lea eax, [ebp - 0x258]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x254]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x258]
push edx
push edx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp + 0xc], 0x4187e0
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x415090
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x412b43
mov dword [esp + 0xc], str.initialization_failed__aborting_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x415090
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x412e3d
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.restarting__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x415090
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x412e57