Function at 0x100073a0
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x254
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x214], eax
mov eax, dword [ecx + 4]
cmp eax, 0x110
je 0x100073f8
cmp eax, 0x111
je 0x10007600
cmp eax, 0x4e
je 0x10007590
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edi, dword [esi + 0x1c]
mov eax, dword [ebp - 0x214]
mov dword [esp + 4], 8
mov dword [ebp - 0x220], edi
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, dword [edi]
xor edi, edi
sub esp, 0xc
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x34]
add eax, 0x34
cmp ebx, eax
je 0x10007e58
mov eax, dword [sym.imp.user32.dll_SendDlgItemMessageW]
xor esi, esi
mov dword [ebp - 0x228], eax
lea esi, [esi]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x181
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x214]
mov dword [esp + 4], 0x64
mov dword [esp], eax
mov eax, dword [ebp - 0x228]
call eax
mov eax, dword [ebp - 0x220]
sub esp, 0x14
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
movsx ecx, word [edx + 0x4e]
movzx edx, word [ebx + 0x1c]
mov ebx, dword [ebx]
cmp ecx, edx
cmove edi, esi
add eax, 0x34
inc esi
cmp ebx, eax
jne 0x10007448
mov dword [esp + 0xc], edi
mov eax, dword [sym.imp.user32.dll_SendDlgItemMessageA]
mov edi, dword [ebp - 0x214]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x186
mov dword [esp], edi
mov dword [esp + 4], 0x64
mov dword [ebp - 0x218], eax
call eax
mov esi, dword [ebp - 0x220]
sub esp, 0x14
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
cmp word [eax + 0x4c], 1
mov dword [esp], edi
setne al
mov dword [esp + 8], 0x66
xor edi, edi
movzx eax, al
mov dword [esp + 4], 0x65
add eax, 0x65
mov dword [esp + 0xc], eax
call dword [sym.imp.user32.dll_CheckRadioButton]
mov eax, dword [esi]
xor esi, esi
sub esp, 0x10
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x54]
lea edx, [eax + 0x54]
cmp edx, ebx
jne 0x1000757d
jmp 0x10007d38
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x214]
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x218]
mov dword [esp + 8], 0x14a
mov dword [esp + 4], 0x6e
call eax
mov eax, dword [ebp - 0x220]
sub esp, 0x14
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
movsx ecx, word [edx + 0x5e]
movzx edx, word [ebx + 0x14]
mov ebx, dword [ebx]
cmp ecx, edx
cmove edi, esi
add eax, 0x54
inc esi
cmp ebx, eax
je 0x100076e0
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x10007528
mov eax, dword [ebx + 8]
jmp 0x10007528
mov eax, dword [ebp - 0x214]
mov dword [esp + 4], 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov edx, eax
xor eax, eax
cmp dword [esi + 8], 0xffffff36
jne 0x100073e5
mov eax, dword [edx]
mov esi, dword [edx + 4]
mov ecx, 0x40
mov eax, dword [eax + 0x10]
mov edi, eax
mov eax, dword [ebp - 0x214]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, 1
sub esp, 0xc
jmp 0x100073e5
mov eax, dword [ebp - 0x214]
mov dword [esp + 4], 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
mov esi, eax
movzx eax, bx
sub esp, 8
sub eax, 0x64
cmp eax, 0xe
ja case.0x1000762b.103
jmp dword [eax*4 + 0x1002b174]
test byte [0x10025828], 8
je 0x10007679
cmp ebx, 0x65
mov eax, str.portrait
mov edx, str.landscape
mov dword [esp + 0xc], str.Setting_orientation_to__s_n
cmovne eax, edx
mov dword [esp + 8], str.PSDRV_PaperDlgProc
mov dword [esp + 4], 0x10025828
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
xor eax, eax
cmp ebx, 0x65
mov edx, dword [esi + 4]
setne al
inc eax
mov word [edx + 0x4c], ax
mov eax, dword [esi + 4]
or dword [eax + 0x48], 1
mov eax, dword [ebp - 0x214]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ebp - 0x214]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x218]
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x6e
call eax
sub esp, 0x14
mov eax, dword [ebp - 0x220]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
mov ebx, dword [eax + 0xc]
lea ecx, [eax + 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x22c], eax
cmp ecx, ebx
je 0x10007d90
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x48]
test ah, 4
je 0x10007747
movsx edi, word [edx + 0x5a]
mov dword [ebp - 0x22c], edi
mov edi, dword [ebp - 0x22c]
mov dword [ebp - 0x234], edi
test ah, 0x20
je 0x10007762
movsx edi, word [edx + 0x60]
mov dword [ebp - 0x234], edi
test eax, 0x20000
je 0x1000777c
movzx eax, word [edx + 0xa6]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x234], eax
cmp ecx, ebx
je 0x10007e68
mov dword [ebp - 0x230], 0
lea edi, [ebp - 0x210]
jmp 0x10007898
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1002b090
mov dword [esp + 4], 0x100
mov dword [esp], edi
call sym._swprintf.constprop.0
mov ecx, 0x20
mov edx, 0x100
mov dword [esp + 4], 0x3e8
mov word [ebp + eax*2 - 0x210], cx
inc eax
sub edx, eax
lea eax, [edi + eax*2]
mov dword [esp + 8], eax
mov eax, dword [0x10025784]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x228]
sub esp, 0x10
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 4], 0x70
mov dword [esp], eax
call ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x228]
mov esi, eax
movzx eax, word [ebx + 8]
sub esp, 0x14
shl edx, 0x10
mov dword [esp + 0xc], esi
or eax, edx
mov dword [esp + 8], 0x151
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x214]
mov dword [esp + 4], 0x70
mov dword [esp], eax
call ecx
mov eax, dword [ebp - 0x22c]
sub esp, 0x14
cmp dword [ebx + 8], eax
jne 0x10007884
mov eax, dword [ebp - 0x234]
cmp dword [ebx + 0xc], eax
cmovne esi, dword [ebp - 0x230]
mov dword [ebp - 0x230], esi
mov eax, dword [ebp - 0x220]
mov ebx, dword [ebx]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
add eax, 0xc
cmp ebx, eax
je 0x100078d0
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
cmp eax, edx
jne 0x100077a0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1002b08a
mov dword [esp + 4], 0x100
mov dword [esp], edi
call sym._swprintf.constprop.0
jmp 0x100077c0
mov eax, dword [ebp - 0x230]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x214]
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x228]
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x70
call eax
mov eax, dword [ebp - 0x220]
sub esp, 0x14
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov ebx, dword [edx + 0x48]
add edx, 0x48
cmp ebx, edx
je 0x100079d0
lea esi, cs:[esi]
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x10007977
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x14a
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x214]
mov dword [esp + 4], 0x72
mov dword [esp], eax
mov eax, dword [ebp - 0x218]
call eax
mov eax, dword [ebp - 0x220]
sub esp, 0x14
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
movsx ecx, word [edx + 0x58]
movzx edx, word [ebx + 0x14]
cmp ecx, edx
cmove edi, esi
inc esi
mov ecx, dword [eax + 0xc]
mov ebx, dword [ebx]
lea edx, [ecx + 0x48]
cmp ebx, edx
jne 0x10007928
test esi, esi
je 0x100079d0
mov eax, dword [ebp - 0x214]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x218]
mov dword [esp + 8], 0x14e
mov dword [esp + 4], 0x72
call eax
mov eax, 1
sub esp, 0x14
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edi, dword [ebp - 0x214]
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x72
mov dword [esp], edi
call esi
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x71
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov eax, 1
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
shr ebx, 0x10
mov eax, 1
cmp ebx, 1
jne 0x100073e5
mov eax, dword [ebp - 0x214]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x188
mov dword [esp + 4], 0x64
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendDlgItemMessageA]
mov edi, eax
mov eax, dword [esi]
sub esp, 0x14
mov edx, dword [eax + 0xc]
mov ebx, dword [edx + 0x34]
add edx, 0x34
cmp ebx, edx
je 0x10007aa3
test edi, edi
jle 0x10007aa3
xor eax, eax
jmp 0x10007a9c
cmp ebx, edx
je 0x10007aa3
inc eax
mov ebx, dword [ebx]
cmp edi, eax
jg 0x10007a98
test byte [0x10025828], 8
jne 0x10007ed8
mov eax, dword [esi + 4]
movzx edx, word [ebx + 0x1c]
movss xmm0, dword [0x1002b684]
movss xmm2, dword [0x1002b688]
mov word [eax + 0x4e], dx
mov eax, dword [esi + 4]
or dword [eax + 0x48], 2
mov edx, dword [ebx + 0x18]
mov eax, dword [esi + 4]
movss xmm1, dword [edx]
mulss xmm1, xmm0
divss xmm1, xmm2
cvttss2si edx, xmm1
mov word [eax + 0x52], dx
mov edx, dword [ebx + 0x18]
mov eax, dword [esi + 4]
mulss xmm0, dword [edx + 4]
divss xmm0, xmm2
cvttss2si edx, xmm0
mov word [eax + 0x50], dx
mov eax, dword [esi + 4]
or dword [eax + 0x48], 0xc
mov edx, dword [esi + 4]
cmp word [edx + 0x44], 0xa5
jbe 0x10007690
mov eax, dword [ebx + 0xc]
add edx, 0x66
lea ebx, [eax + 0x3e]
lea esi, [esi]
movzx ecx, word [eax]
test cx, cx
je 0x10007b3e
add eax, 2
add edx, 2
mov word [edx - 2], cx
cmp eax, ebx
jne 0x10007b28
xor eax, eax
mov word [edx], ax
mov eax, dword [esi + 4]
or dword [eax + 0x48], 0x10000
jmp 0x10007690
mov eax, dword [ebp - 0x214]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x147
mov dword [esp + 4], 0x72
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendDlgItemMessageA]
mov ecx, eax
mov eax, dword [esi]
sub esp, 0x14
mov edx, dword [eax + 0xc]
mov ebx, dword [edx + 0x48]
add edx, 0x48
cmp edx, ebx
je 0x10007bb2
xor eax, eax
lea esi, [esi]
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x10007bac
cmp ecx, eax
jle 0x10007bb2
inc eax
mov ebx, dword [ebx]
cmp ebx, edx
jne 0x10007ba0
test byte [0x10025828], 8
jne 0x10007e6f
mov eax, dword [esi + 4]
movzx edx, word [ebx + 0x14]
mov word [eax + 0x58], dx
mov eax, dword [esi + 4]
or dword [eax + 0x48], 0x200
jmp 0x10007690
shr ebx, 0x10
mov eax, 1
cmp ebx, 1
jne 0x100073e5
mov edi, dword [ebp - 0x214]
mov ebx, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], edi
mov dword [esp + 8], 0x147
mov dword [esp + 4], 0x70
call ebx
sub esp, 0x14
mov dword [esp], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x150
mov dword [esp + 4], 0x70
call ebx
mov edi, eax
sub esp, 0x14
mov ebx, eax
shr edi, 0x10
test byte [0x10025828], 8
jne 0x10007ea4
mov eax, dword [esi + 4]
mov word [eax + 0x5a], bx
mov eax, dword [esi + 4]
or dword [eax + 0x48], 0x400
mov eax, dword [esi + 4]
mov word [eax + 0x60], di
mov eax, dword [esi + 4]
or dword [eax + 0x48], 0x2000
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
test byte [eax + 0x4a], 2
je 0x10007690
mov eax, dword [esi + 4]
mov word [eax + 0xa6], bx
mov eax, dword [esi + 4]
or dword [eax + 0x48], 0x20000
jmp 0x10007690
shr ebx, 0x10
mov eax, 1
cmp ebx, 1
jne 0x100073e5
mov eax, dword [ebp - 0x214]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x147
mov dword [esp + 4], 0x6e
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendDlgItemMessageA]
mov ecx, eax
mov eax, dword [esi]
sub esp, 0x14
mov edx, dword [eax + 0xc]
mov ebx, dword [edx + 0x54]
add edx, 0x54
test ecx, ecx
jle 0x10007d0b
cmp ebx, edx
je 0x10007d0b
xor eax, eax
jmp 0x10007d04
cmp ecx, eax
jle 0x10007d0b
mov ebx, dword [ebx]
inc eax
cmp ebx, edx
jne 0x10007d00
test byte [0x10025828], 8
jne 0x10007f59
mov eax, dword [esi + 4]
movzx edx, word [ebx + 0x14]
mov word [eax + 0x5e], dx
mov eax, dword [esi + 4]
or dword [eax + 0x48], 0x1000
jmp 0x10007690
mov edi, dword [ebp - 0x214]
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x6e
mov dword [esp], edi
call esi
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 0x6f
mov dword [esp], edi
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
jmp 0x10007710
lea ebx, [ebp - 0x210]
mov dword [esp + 0xc], eax
mov edi, eax
mov esi, 0x20
mov dword [esp], ebx
mov dword [esp + 8], 0x1002b08a
mov dword [esp + 4], 0x100
call sym._swprintf.constprop.0
mov edx, 0x100
mov dword [esp + 4], 0x3e8
mov word [ebp + eax*2 - 0x210], si
inc eax
sub edx, eax
lea eax, [ebx + eax*2]
mov dword [esp + 8], eax
mov eax, dword [0x10025784]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov esi, dword [ebp - 0x214]
sub esp, 0x10
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp - 0x228]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x143
mov dword [esp + 4], 0x70
mov dword [esp], esi
call ebx
mov edx, edi
movzx eax, di
shl edx, 0x10
sub esp, 0x14
or eax, edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x151
mov dword [esp + 4], 0x70
mov dword [esp], esi
call ebx
xor eax, eax
sub esp, 0x14
jmp 0x100078d6
mov eax, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [ebp - 0x228], eax
jmp 0x1000749c
xor eax, eax
jmp 0x100078d6
movzx eax, word [ebx + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Setting_paper_source_to_item__d_WinBin___d_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.PSDRV_PaperDlgProc
mov dword [esp + 4], 0x10025828
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x10007bbf
movzx eax, ax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Setting_resolution_to__dx_d_n
mov dword [esp + 8], str.PSDRV_PaperDlgProc
mov dword [esp + 4], 0x10025828
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x10007c56
mov eax, dword [ebx + 0x18]
pxor xmm1, xmm1
pxor xmm0, xmm0
cvtss2sd xmm1, dword [eax + 4]
cvtss2sd xmm0, dword [eax]
mov eax, dword [ebx + 0xc]
movsd qword [ebp - 0x228], xmm1
movsd qword [ebp - 0x220], xmm0
call sym._wine_dbgstr_wn.constprop.0_1
movsd xmm1, qword [ebp - 0x228]
movsd xmm0, qword [ebp - 0x220]
mov dword [esp + 0x18], eax
movsd qword [esp + 0x24], xmm1
movsd qword [esp + 0x1c], xmm0
movzx eax, word [ebx + 0x1c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.Setting_pagesize_to_item__d__WinPage__d___s___PaperSize__.2fx_.2f_n
mov dword [esp + 8], str.PSDRV_PaperDlgProc
mov dword [esp + 4], 0x10025828
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x10007ab0
movzx eax, word [ebx + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Setting_duplex_to_item__d_Winduplex___d_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.PSDRV_PaperDlgProc
mov dword [esp + 4], 0x10025828
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x10007d18