Function at 0x4033b0
Capabilities:
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
mov eax, 0x1248
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
call fcn.00401048
sub esp, eax
mov esi, dword [ecx]
mov ebx, dword [ecx + 8]
call dword [sym.imp.comctl32.dll_InitCommonControls]
mov dword [ebp - 0x101c], 0
mov dword [0x404070], esi
movzx eax, word [ebx]
mov dword [ebp - 0x1020], 0
test ax, ax
je 0x4037f2
mov esi, dword [sym.imp.ucrtbase.dll__wcsnicmp]
jmp 0x403417
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 0x20
je 0x403410
and eax, 0xfffffffd
cmp ax, 0x2d
jne 0x4037d1
movzx eax, word [ebx + 2]
lea edx, [ebx + 2]
sub eax, 0x36
cmp ax, 0x42
ja case.0x403441.1
movzx eax, ax
jmp dword [eax*4 + 0x405428]
lea eax, [ebx + 4]
lea ecx, [ebp - 0x1228]
mov edx, 2
mov dword [ebp - 0x1020], 2
call sym._process_file_name.constprop.0
test eax, eax
je case.0x403441.1
test byte [0x404010], 8
je 0x403536
mov edx, dword [ebp - 0x101c]
mov eax, str.TRUE
test edx, edx
jne 0x40348e
mov eax, str.FALSE
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.WHQL_check:__s_n
mov dword [esp + 8], 0x40824c
mov dword [esp + 4], 0x404010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x404010], 8
je 0x403536
mov eax, dword [ebp - 0x1020]
mov dword [esp + 0xc], str.Output_type:__d_n
mov dword [esp + 8], 0x40824c
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x404010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp - 0x1020]
test eax, eax
je 0x403536
test byte [0x404010], 8
je 0x403536
mov edx, str._unknown_
cmp eax, 2
jbe 0x403693
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Output_filename:__s_n
mov dword [esp + 8], 0x40824c
mov dword [esp + 4], 0x404010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebp - 0x101c]
sub esp, 4
mov dword [esp], eax
call sym._collect_dxdiag_information
mov ebx, eax
test eax, eax
je 0x4036d0
mov eax, dword [ebp - 0x1020]
test eax, eax
jne 0x403678
test byte [0x404010], 1
jne 0x4036f8
mov dword [esp], ebx
call sym._free_dxdiag_information
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
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.0x403441.1
lea edx, [ebx + 0xc]
mov dword [esp + 8], 3
mov dword [esp], edx
mov dword [ebp - 0x122c], edx
mov dword [esp + 4], 0x405376
call edi
mov edx, dword [ebp - 0x122c]
test eax, eax
jne 0x40369f
mov dword [ebp - 0x101c], 0
lea eax, [ebx + 0x10]
jmp 0x40363b
lea eax, [ebx + 4]
lea ecx, [ebp - 0x1228]
mov edx, 1
mov dword [ebp - 0x1020], 1
call sym._process_file_name.constprop.0
jmp 0x403465
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.0x403441.1
lea eax, [ebx + 0x12]
lea ebx, [eax + 2]
movzx eax, word [eax + 2]
test ax, ax
jne 0x403417
jmp 0x40346d
mov dword [esp + 8], 5
mov dword [esp + 4], 0x405384
mov dword [esp], edx
call esi
test eax, eax
jne case.0x403441.1
lea eax, [ebx + 0xc]
jmp 0x40363b
mov dword [esp + 8], eax
lea eax, [ebp - 0x1228]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._output_dxdiag_information
jmp 0x403579
mov edx, dword [eax*4 + 0x405df0]
jmp 0x40350e
mov dword [esp + 8], 2
mov dword [esp + 4], 0x40537e
mov dword [esp], edx
call edi
test eax, eax
jne case.0x403441.1
mov dword [ebp - 0x101c], 1
lea eax, [ebx + 0xe]
jmp 0x40363b
test byte [0x404010], 2
jne 0x403721
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0xc], str.Information_dialog_is_not_implemented_n
mov dword [esp + 8], 0x40824c
mov dword [esp + 4], 0x404010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x403579
mov dword [esp + 0xc], str.DxDiag_information_collection_failed_n
mov dword [esp + 8], 0x40824c
mov dword [esp + 4], 0x404010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4036d9
mov eax, dword [0x404070]
lea esi, [ebp - 0x1018]
mov edi, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], esi
lea ebx, [ebp - 0x818]
mov dword [esp + 4], 0x65
mov dword [esp], eax
call edi
mov eax, dword [0x404070]
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 - 0x1228]
mov edx, 1
mov eax, ebx
mov dword [ebp - 0x1020], 1
call sym._process_file_name.constprop.0
jmp 0x403465
test byte [0x404010], 8
je 0x403536
jmp 0x403489