Function at 0x401a00
Capabilities:
Terminate process

Disassembly:
push ebp
mov eax, 0x1228
mov ebp, esp
push edi
push esi
push ebx
call fcn.00403428
sub esp, eax
mov ebx, dword [ebp + 0x10]
call dword [sym.imp.comctl32.dll_InitCommonControls]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1010], 0
mov dword [ebp - 0x1014], 0
mov dword [0x40a4a0], eax
movzx eax, word [ebx]
test ax, ax
je 0x401e52
mov esi, dword [sym.imp.ucrtbase.dll__wcsnicmp]
jmp 0x401a56
add ebx, 2
movzx eax, word [ebx]
cmp ax, 0x20
je 0x401a50
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x401e31
movzx eax, word [ebx + 2]
lea edx, [ebx + 2]
sub eax, 0x36
cmp ax, 0x42
ja case.0x401a80.1
movzx eax, ax
jmp dword [eax*4 + 0x40646c]
lea eax, [ebx + 4]
lea ecx, [ebp - 0x121c]
mov edx, 2
mov dword [ebp - 0x1014], 2
call sym._process_file_name.constprop.0
test eax, eax
je case.0x401a80.1
test byte [0x404010], 8
je 0x401b7e
mov edx, dword [ebp - 0x1010]
mov eax, str.TRUE
test edx, edx
jne 0x401ad6
mov eax, str.FALSE
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.WHQL_check:__s_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
test byte [0x404010], 8
je 0x401b7e
mov eax, dword [ebp - 0x1014]
mov dword [esp + 0xc], str.Output_type:__d_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x404010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x401b7e
test byte [0x404010], 8
je 0x401b7e
mov edx, str._unknown_
cmp eax, 2
jbe 0x401cf0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Output_filename:__s_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebp - 0x1010]
sub esp, 4
mov dword [esp], eax
call dbg.collect_dxdiag_information
mov ebx, eax
test eax, eax
je 0x401d60
mov eax, dword [ebp - 0x1014]
test eax, eax
jne 0x401cd0
test byte [0x404010], 1
jne 0x401d30
mov dword [esp], ebx
call sym._free_dxdiag_information
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 8], 5
mov edi, dword [sym.imp.ucrtbase.dll__wcsnicmp]
mov dword [esp + 4], str.whql:
mov dword [esp], edx
call edi
test eax, eax
jne case.0x401a80.1
lea edx, [ebx + 0xc]
mov dword [esp + 8], 3
mov dword [esp], edx
mov dword [ebp - 0x1220], edx
mov dword [esp + 4], 0x4063ba
call edi
mov edx, dword [ebp - 0x1220]
test eax, eax
jne 0x401d00
mov dword [ebp - 0x1010], 0
lea eax, [ebx + 0x10]
jmp 0x401c60
mov dword [esp + 8], 5
mov dword [esp + 4], 0x4063c8
mov dword [esp], edx
call esi
test eax, eax
jne case.0x401a80.1
lea eax, [ebx + 0xc]
lea ebx, [eax + 2]
movzx eax, word [eax + 2]
test ax, ax
jne 0x401a56
jmp 0x401ab5
lea eax, [ebx + 4]
lea ecx, [ebp - 0x121c]
mov edx, 1
mov dword [ebp - 0x1014], 1
call sym._process_file_name.constprop.0
jmp 0x401aad
mov dword [esp + 8], 8
mov dword [esp + 4], str.dontskip
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll__wcsnicmp]
test eax, eax
jne case.0x401a80.1
lea eax, [ebx + 0x12]
jmp 0x401c60
mov dword [esp + 8], eax
lea eax, [ebp - 0x121c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dbg.output_dxdiag_information
jmp 0x401bc1
mov edx, dword [eax*4 + 0x40659c]
jmp 0x401b56
mov dword [esp + 8], 2
mov dword [esp + 4], 0x4063c2
mov dword [esp], edx
call edi
test eax, eax
jne case.0x401a80.1
mov dword [ebp - 0x1010], 1
lea eax, [ebx + 0xe]
jmp 0x401c60
mov dword [esp + 0xc], str.Information_dialog_is_not_implemented_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.1
jmp 0x401bc1
test byte [0x404010], 2
jne 0x401d80
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0xc], str.DxDiag_information_collection_failed_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x404010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1
jmp 0x401d69
mov eax, dword [0x40a4a0]
lea esi, [info.output_type]
mov edi, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], esi
lea ebx, [ebp - 0x80c]
mov dword [esp + 4], 0x65
mov dword [esp], eax
call edi
mov eax, dword [0x40a4a0]
sub esp, 0x10
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x66
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_ExitProcess]
lea ecx, [ebp - 0x121c]
mov edx, 1
mov eax, ebx
mov dword [ebp - 0x1014], 1
call sym._process_file_name.constprop.0
jmp 0x401aad
test byte [0x404010], 8
jne 0x401ad1
jmp 0x401b7e