Function at 0x401be0
Capabilities:
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, 0x1238
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
call fcn.004037d8
sub esp, eax
mov esi, dword [ecx]
mov ebx, dword [ecx + 8]
call sym._InitCommonControls_0
xor eax, eax
mov dword [ebp - 0x101c], eax
xor eax, eax
mov dword [0x4094a0], esi
mov dword [ebp - 0x1020], eax
movzx eax, word [ebx]
test eax, eax
je 0x402020
mov edi, dword [sym.imp.ucrtbase.dll__wcsnicmp]
jmp 0x401c37
movzx eax, word [ebx + 2]
add ebx, 2
cmp eax, 0x20
je 0x401c30
and eax, 0xfffd
cmp eax, 0x2d
jne 0x401ff8
movzx eax, word [ebx + 2]
lea edx, [ebx + 2]
sub eax, 0x44
cmp ax, 0x34
movzx ecx, ax
ja case.0x401c61.1
jmp dword [ecx*4 + 0x405460]
mov edi, 2
mov edx, 2
mov dword [ebp - 0x1020], edi
lea eax, [ebx + 4]
lea ecx, [ebp - 0x1228]
call sym._process_file_name.constprop.0
test eax, eax
je case.0x401c61.1
test byte [0x404010], 8
je 0x401d68
mov edi, dword [ebp - 0x101c]
mov eax, str.TRUE
test edi, edi
jne 0x401cb7
mov eax, str.FALSE
mov ecx, str.WHQL_check:__s_n
mov ebx, str.wWinMain
mov dword [esp + 0x10], eax
mov esi, 0x404010
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test byte [0x404010], 8
je 0x401d68
mov dword [esp], 3
mov eax, dword [ebp - 0x1020]
mov edx, 0x404010
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov eax, str.Output_type:__d_n
mov dword [esp + 0xc], eax
mov eax, str.wWinMain
mov dword [esp + 8], eax
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp - 0x1020]
test eax, eax
je 0x401d68
test byte [0x404010], 8
je 0x401d68
cmp eax, 2
mov edx, str._unknown_
jbe 0x401ea0
mov dword [esp + 0x10], edx
mov eax, str.Output_filename:__s_n
mov dword [esp + 0xc], eax
mov eax, str.wWinMain
mov dword [esp + 8], eax
mov eax, 0x404010
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov dword [esp], 0
call sym._CoInitialize_4
mov eax, dword [ebp - 0x101c]
sub esp, 4
mov dword [esp], eax
call sym._collect_dxdiag_information
test eax, eax
mov ebx, eax
je 0x401ee0
mov eax, dword [ebp - 0x1020]
test eax, eax
jne 0x401e80
test byte [0x404010], 1
jne 0x401eb0
mov dword [esp], ebx
call sym._free_dxdiag_information
call sym._CoUninitialize_0
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], edx
mov ecx, 5
mov esi, str.whql:
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
call edi
test eax, eax
jne case.0x401c61.1
mov ecx, 3
mov eax, 0x4053ba
mov dword [esp + 8], ecx
lea esi, [ebx + 0xc]
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
test eax, eax
jne 0x401f08
lea eax, [ebx + 0x10]
xor edx, edx
mov dword [ebp - 0x101c], edx
lea ebx, [eax + 2]
movzx eax, word [eax + 2]
test eax, eax
jne 0x401c37
jmp 0x401c96
mov eax, 1
mov edx, 1
mov dword [ebp - 0x1020], eax
lea ecx, [ebp - 0x1228]
lea eax, [ebx + 4]
call sym._process_file_name.constprop.0
jmp 0x401c8e
mov dword [esp], edx
mov eax, 8
mov dword [esp + 8], eax
mov eax, 0x4053c8
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__wcsnicmp]
test eax, eax
jne case.0x401c61.1
lea eax, [ebx + 0x12]
jmp 0x401e1c
mov dword [esp + 8], eax
lea eax, [ebp - 0x1228]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._output_dxdiag_information
jmp 0x401daa
mov edx, dword [eax*4 + 0x405558]
jmp 0x401d3d
mov edx, str.wWinMain
mov ecx, 0x404010
mov dword [esp + 8], edx
mov eax, str.Information_dialog_is_not_implemented_n
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x401daa
test byte [0x404010], 2
jne 0x401f40
call sym._CoUninitialize_0
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], esi
mov eax, 2
mov dword [esp + 8], eax
mov eax, 0x4053c2
mov dword [esp + 4], eax
call edi
test eax, eax
jne case.0x401c61.1
mov eax, 1
mov dword [ebp - 0x101c], eax
lea eax, [ebx + 0xe]
jmp 0x401e1c
mov ebx, str.DxDiag_information_collection_failed_n
mov esi, str.wWinMain
mov dword [esp + 0xc], ebx
mov edi, 0x404010
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x401ee9
lea esi, [ebp - 0x1018]
mov eax, 0x400
mov dword [esp + 0xc], eax
lea ebx, [ebp - 0x818]
mov eax, 0x65
mov dword [esp + 4], eax
mov eax, dword [0x4094a0]
mov dword [esp + 8], esi
mov dword [esp], eax
call sym._LoadStringW_16
mov eax, 0x400
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, 0x66
mov dword [esp + 4], eax
mov eax, dword [0x4094a0]
mov dword [esp + 8], ebx
mov dword [esp], eax
call sym._LoadStringW_16
mov edx, 0x30
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym._MessageBoxW_16
sub esp, 0x10
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov eax, 1
mov edx, 1
mov dword [ebp - 0x1020], eax
lea ecx, [ebp - 0x1228]
mov eax, ebx
call sym._process_file_name.constprop.0
jmp 0x401c8e
test byte [0x404010], 8
je 0x401d68
lea esi, [esi]
jmp 0x401cb2