Function at 0x10002df0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp eax, 0x110
je 0x10002eb0
cmp eax, 0x111
jne 0x10002e9d
mov eax, dword [sym.imp.user32.dll_GetWindowLongW]
mov dword [esp + 4], 8
mov dword [esp], edi
mov dword [ebp - 0x1c], eax
call eax
push ebx
push ebx
mov dword [esp], eax
call sym._MapSL_4
mov ebx, eax
push esi
mov si, word [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sym._MapSL_4
mov ecx, dword [sym.imp.user32.dll_RegisterWindowMessageA]
mov dword [ebp - 0x20], eax
xor eax, eax
push edx
mov dword [ebp - 0x10], ecx
mov ax, word [ebx + 4]
mov dword [esp], str.commdlg_FindReplace
mov dword [ebp - 0x14], eax
call ecx
mov dword [ebp - 0x18], eax
push ecx
mov ecx, dword [ebp - 0x10]
mov dword [esp], str.commdlg_help
call ecx
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
push edx
cmp word [ebp + 0x10], 2
je 0x100030b0
cmp ecx, 0x40e
je 0x100032f0
dec ecx
je 0x10002fe0
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym._MapSL_4
push ebx
mov ebx, eax
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sym._MapSL_4
push esi
mov esi, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, dword [ebx + 8]
sub esp, 0xc
and eax, 0xffffff87
mov dword [ebx + 8], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0x480
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetDlgItemTextA]
mov eax, dword [ebx + 8]
sub esp, 0xc
and eax, 1
add eax, 0x420
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x421
mov dword [esp + 4], 0x420
mov dword [esp], edi
call dword [sym.imp.user32.dll_CheckRadioButton]
mov eax, dword [ebx + 8]
sub esp, 0x10
test ah, 0x44
jne 0x10003108
test ah, 0x40
jne 0x10003162
shr eax, 1
mov dword [esp + 4], 0x410
and eax, 1
mov dword [esp], edi
mov dword [esp + 8], eax
mov esi, dword [sym.imp.user32.dll_CheckDlgButton]
call esi
mov eax, dword [ebx + 8]
sub esp, 0xc
test eax, 0x11000
jne 0x100031d8
test eax, 0x10000
jne 0x1000320c
shr eax, 2
mov dword [esp + 4], 0x411
and eax, 1
mov dword [esp], edi
mov dword [esp + 8], eax
call esi
mov eax, dword [ebx + 8]
sub esp, 0xc
test ah, 0x88
jne 0x100032c0
test ah, 0x80
jne 0x10003290
test al, 0x80
je 0x10003240
mov dword [esp], edi
mov dword [esp + 4], 1
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, 1
push ecx
push ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
and esi, 0xffff
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x480
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItemTextA]
mov esi, dword [sym.imp.user32.dll_IsDlgButtonChecked]
sub esp, 0x10
mov dword [esp + 4], 0x421
mov dword [esp], edi
call esi
test eax, eax
push ecx
push ecx
mov eax, dword [ebx + 8]
jne 0x10003320
and eax, 0xfffffffe
mov dword [ebx + 8], eax
mov dword [esp + 4], 0x410
mov dword [esp], edi
call esi
test eax, eax
push edx
push edx
mov eax, dword [ebx + 8]
je 0x10003330
or eax, 2
mov dword [ebx + 8], eax
mov dword [esp + 4], 0x411
mov dword [esp], edi
call esi
test eax, eax
push esi
push esi
mov eax, dword [ebx + 8]
je 0x10003328
or eax, 4
and eax, 0xffffff8f
or eax, 8
mov dword [ebx + 8], eax
mov dword [esp + 4], 8
mov dword [esp], edi
mov eax, dword [ebp - 0x1c]
call eax
push ebx
push ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, 1
sub esp, 0x10
jmp 0x10002e9f
mov eax, dword [ebx + 8]
and eax, 0xffffffc7
or eax, 0x40
mov dword [ebx + 8], eax
mov dword [esp + 4], 8
mov dword [esp], edi
mov eax, dword [ebp - 0x1c]
call eax
push edx
push edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp], edi
call dword [sym.imp.user32.dll_DestroyWindow]
mov eax, 1
push ecx
jmp 0x10002e9f
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x420
mov dword [esp], edi
mov dword [ebp - 0x10], edx
call edx
mov esi, dword [sym.imp.user32.dll_EnableWindow]
push edx
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x10]
push ecx
push ecx
mov dword [esp + 4], 0x421
mov dword [esp], edi
call edx
push edx
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
push ecx
push ecx
mov eax, dword [ebx + 8]
test ah, 0x40
je 0x10002f48
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x420
mov dword [esp], edi
call esi
push edx
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
push ecx
push ecx
mov dword [esp + 4], 0x421
mov dword [esp], edi
call esi
push edx
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
push ecx
push ecx
mov dword [esp + 4], 0x430
mov dword [esp], edi
call esi
push esi
push esi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
push eax
push eax
mov eax, dword [ebx + 8]
jmp 0x10002f48
mov dword [esp + 4], 0x410
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
push edx
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_EnableWindow]
push ecx
push ecx
mov eax, dword [ebx + 8]
test eax, 0x10000
je 0x10002f80
mov dword [esp + 4], 0x410
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
push edx
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
push ecx
push ecx
mov eax, dword [ebx + 8]
jmp 0x10002f80
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x40e
mov dword [esp], edi
call ebx
push esi
push esi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_EnableWindow]
push eax
push eax
mov dword [esp + 4], 0x40e
mov dword [esp], edi
call ebx
push edx
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
push ecx
push ecx
jmp 0x10002fb7
mov dword [esp + 4], 0x411
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
push esi
push esi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
push eax
push eax
mov eax, dword [ebx + 8]
jmp 0x10002faf
mov dword [esp + 4], 0x411
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
push edx
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_EnableWindow]
push ecx
push ecx
mov eax, dword [ebx + 8]
jmp 0x10002fa6
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, 1
sub esp, 0x10
jmp 0x10002e9f
or eax, 1
jmp 0x10003028
and eax, 0xfffffffb
jmp 0x10003068
and eax, 0xfffffffd
jmp 0x10003048