Function at 0x78504260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x54
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
test byte [0x78508020], 8
jne 0x78504452
mov eax, dword [ebp + 8]
mov dword [esp + 4], str.Wine_Structure
mov dword [esp], eax
call sym._GetPropW_8
sub esp, 8
mov edi, eax
cmp ebx, 0x110
je 0x785044a1
test eax, eax
je 0x78504310
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x785042cd
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call eax
sub esp, 0x10
mov esi, eax
test eax, eax
jne 0x78504312
cmp ebx, 0x111
jne 0x78504320
movzx eax, word [ebp + 0x10]
cmp eax, 0x63
je 0x785048e0
jbe 0x78504410
cmp eax, 0x1f4
jb 0x78504310
cmp eax, 0x1f5
jbe 0x78504790
cmp eax, 0x1f9
jne 0x78504310
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cmp eax, 1
je 0x785047ca
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp dword [section..bss], ebx
jne 0x78504310
cmp dword [ebp + 0x10], 1
je 0x78504970
mov eax, dword [ebp + 0x10]
mov esi, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._EndDialog_8
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], str.Wine_Structure
mov dword [esp], eax
call sym._RemovePropW_8
mov ebx, dword [edi + 0x10]
sub esp, 8
call sym._GetProcessHeap_0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
mov ebx, dword [edi + 8]
sub esp, 0xc
call sym._GetProcessHeap_0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
mov ebx, dword [edi + 0x14]
sub esp, 0xc
call sym._GetProcessHeap_0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
mov ebx, dword [edi + 0xc]
sub esp, 0xc
call sym._GetProcessHeap_0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
mov eax, dword [edi + 0x18]
sub esp, 0xc
mov dword [esp], eax
call sym._CoTaskMemFree_4
sub esp, 4
call sym._GetProcessHeap_0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
sub esp, 0xc
jmp 0x78504312
lea edx, [eax - 1]
xor esi, esi
cmp edx, 1
ja 0x78504312
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
jne 0x78504310
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x78504312
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], str.__p___04x___08lx___08lx__n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x206
mov dword [esp + 0xc], str.ps_dlg_proc
mov dword [esp + 8], 0x7850957d
mov dword [esp + 4], 0x78508020
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x7850427c
call sym._GetProcessHeap_0
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapAlloc_12
mov dword [eax], esi
mov edi, eax
sub esp, 0xc
mov dword [eax + 0x10], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], edi
mov dword [esp + 4], str.Wine_Structure
mov dword [esp], eax
call sym._SetPropW_12
mov eax, dword [edi]
sub esp, 0xc
test byte [eax + 4], 1
je 0x78504830
mov eax, dword [eax + 0xc]
test eax, eax
je 0x7850452d
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._SetWindowTextW_8
sub esp, 8
mov eax, edi
call sym._get_descriptors.isra.0
lea eax, [edi + 4]
mov edx, dword [edi]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
call sym._init_pastelist
mov ebx, dword [edi]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], eax
xor eax, eax
mov word [ebp - 0x24], ax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
test eax, eax
jle 0x78504a05
xor eax, eax
mov dword [ebp - 0x38], edi
xor esi, esi
mov edi, ebx
mov ebx, eax
mov eax, dword [edi + 0x30]
lea edx, [ebp - 0x24]
mov eax, dword [eax + esi*4]
mov word [ebp - 0x24], ax
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x14]
sub esp, 8
test eax, eax
jne 0x785045af
mov eax, 1
mov ecx, esi
shl eax, cl
or ebx, eax
add esi, 1
cmp esi, dword [edi + 0x34]
jge 0x785045bc
cmp esi, 7
jle 0x78504581
mov dword [ebp - 0x2c], ebx
mov ebx, edi
mov edi, dword [ebp - 0x38]
test byte [0x78508020], 8
jne 0x785047f0
mov esi, dword [ebx + 0x2c]
test esi, esi
jle 0x78504a20
xor eax, eax
mov dword [ebp - 0x38], edi
xor esi, esi
mov edi, eax
jmp 0x785045f8
add esi, 1
cmp esi, dword [ebx + 0x2c]
jge 0x7850462e
mov edx, dword [ebx + 0x28]
lea eax, [esi + esi*8]
lea ecx, [edx + eax*4]
mov eax, 0xff
mov edx, dword [ecx + 0x1c]
test dh, 4
jne 0x78504611
movzx eax, dl
test dword [ebp - 0x2c], eax
je 0x785045f0
mov eax, dword [ebp + 8]
mov edx, 0x1f8
add edi, 1
add esi, 1
call sym._add_entry_to_lb
cmp esi, dword [ebx + 0x2c]
jl 0x785045f8
mov ebx, dword [ebp - 0x30]
mov eax, edi
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x38]
or ebx, eax
test eax, eax
setne al
movzx eax, al
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x1f5
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._EnableWindow_8
mov eax, dword [edi + 4]
sub esp, 8
test al, 6
jne 0x78504677
or eax, 2
mov dword [edi + 4], eax
test ebx, ebx
jne 0x78504754
and eax, 0xfffffff9
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1f5
mov dword [esp + 4], 0x1f4
mov dword [esp], eax
call sym._CheckRadioButton_16
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._EnableWindow_8
sub esp, 8
mov eax, dword [ebp + 8]
mov edx, edi
call sym._update_src_text
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov edx, ebx
call sym._update_as_icon.isra.4
mov eax, dword [ebp + 8]
mov edx, ebx
call sym._update_result_text.isra.5
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x1f9
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp], eax
call sym._SetFocus_4
mov eax, dword [edi]
sub esp, 4
mov eax, dword [eax + 0x10]
test eax, eax
je 0x78504310
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], 0
xor esi, esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x110
mov dword [esp], ecx
call eax
mov eax, esi
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov ebx, dword [ebp - 0x30]
test ebx, ebx
jne 0x78504890
test al, 2
jne 0x78504935
mov edx, dword [ebp - 0x2c]
test edx, edx
jne 0x78504a11
test al, 4
je 0x78504685
and eax, 0xfffffffb
or eax, 2
mov dword [edi + 4], eax
jmp 0x785048a3
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
jne 0x78504310
mov edx, dword [edi + 4]
cmp eax, 0x1f4
je 0x78504a31
and edx, 0xfffffffd
mov eax, dword [ebp + 8]
or edx, 4
mov dword [edi + 4], edx
mov edx, edi
call sym._update_src_text
mov edx, 0x1f8
mov eax, dword [ebp + 8]
call sym._update_display_list
add edi, 4
mov eax, dword [ebp + 8]
mov edx, edi
call sym._update_as_icon.isra.4
mov eax, dword [ebp + 8]
mov edx, edi
call sym._update_result_text.isra.5
jmp 0x78504310
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x14], str.supported_mask__02x_n
mov dword [esp + 0x10], 0x112
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.init_linklist
mov dword [esp + 8], 0x7850957d
mov dword [esp + 4], 0x78508020
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x785045d1
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x63
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x63
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._EnableWindow_8
mov eax, dword [edi]
sub esp, 8
jmp 0x78504514
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x78504920
test al, 2
je 0x78504a11
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0x1f4
mov dword [esp + 8], 0x1f5
mov dword [esp + 4], 0x1f4
mov dword [esp], eax
call sym._CheckRadioButton_16
mov edx, 0x1f7
sub esp, 0x10
mov eax, dword [ebp + 8]
call sym._update_display_list
jmp 0x785046d4
mov eax, dword [ebp + 0x10]
shr eax, 0x10
jne 0x78504310
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0x3eb
xor esi, esi
mov dword [esp + 8], eax
mov eax, dword [0x7850a004]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._PostMessageW_16
sub esp, 0x10
jmp 0x78504312
test al, 4
jne 0x7850477a
test al, 2
jne 0x785048a3
jmp 0x78504685
and eax, 0xfffffffd
or eax, 4
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0x1f5
mov dword [esp + 8], 0x1f5
mov dword [esp + 4], 0x1f4
mov dword [esp], eax
call sym._CheckRadioButton_16
mov edx, 0x1f8
sub esp, 0x10
jmp 0x785048ce
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x1f9
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x188
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov ebx, eax
cmp eax, 0xffffffff
je 0x785049ed
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x1f9
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x199
mov dword [esp], eax
call sym._SendMessageW_16
mov edx, dword [edi]
mov eax, dword [eax + 0x20]
sub esp, 0x10
mov dword [edx + 0x40], eax
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
shr eax, 2
mov edx, dword [edi]
and eax, 1
mov dword [edx + 0x44], eax
jmp 0x78504332
mov dword [ebp - 0x2c], 0
jmp 0x785045c4
test al, 4
jne 0x7850493e
jmp 0x78504685
mov ebx, dword [ebp - 0x30]
xor esi, esi
mov dword [ebp - 0x2c], 0
jmp 0x78504645
and edx, 0xfffffffb
mov eax, dword [ebp + 8]
or edx, 2
mov dword [edi + 4], edx
mov edx, edi
call sym._update_src_text
mov edx, 0x1f7
jmp 0x785047c2