Function at 0x10002830
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp eax, 0x110
je 0x100029a0
cmp eax, 0x111
jne 0x10002990
mov eax, dword [sym.imp.user32.dll_GetWindowLongW]
mov dword [esp + 4], 8
mov dword [esp], esi
mov dword [ebp - 0x18], eax
call eax
push ebx
push ebx
mov dword [esp], eax
call sym._MapSL_4
push edi
mov edi, eax
xor eax, eax
mov ax, word [edi + 0x16]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call sym._MapSL_4
mov dword [ebp - 0x20], eax
xor eax, eax
push edx
mov ax, word [edi + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call sym._MapSL_4
mov ebx, dword [sym.imp.user32.dll_RegisterWindowMessageA]
mov dword [ebp - 0x28], eax
xor eax, eax
push ecx
mov ax, word [edi + 4]
mov dword [esp], str.commdlg_FindReplace
mov dword [ebp - 0x10], eax
call ebx
mov dword [ebp - 0x14], eax
push edx
mov dword [esp], str.commdlg_help
call ebx
push ecx
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
cmp ecx, 0x400
je 0x10002ab8
jbe 0x10002930
cmp ecx, 0x401
je 0x10002ce8
cmp ecx, 0x40e
jne 0x10002990
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
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
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp ecx, 1
je 0x10002c58
cmp ecx, 2
jne 0x10002990
mov eax, dword [edi + 8]
and eax, 0xffffffc7
or eax, 0x40
mov dword [edi + 8], eax
mov dword [esp + 4], 8
mov dword [esp], esi
mov eax, dword [ebp - 0x18]
call eax
push ecx
push ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp], esi
call dword [sym.imp.user32.dll_DestroyWindow]
mov eax, 1
push ebx
jmp 0x10002924
lea esp, [ebp - 0xc]
xor eax, eax
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 + 0x10]
mov dword [esp], eax
call sym._MapSL_4
mov dword [ebp - 0x10], eax
push edi
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call sym._MapSL_4
mov edi, eax
mov eax, dword [ebp + 0x14]
push edx
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov dword [esp], esi
call dword [sym.imp.user32.dll_SetWindowLongW]
mov ecx, dword [ebx + 8]
sub esp, 0xc
and ecx, 0xffffff87
mov dword [ebx + 8], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x480
mov edi, dword [sym.imp.user32.dll_SetDlgItemTextA]
mov dword [esp], esi
call edi
mov edx, dword [ebp - 0x10]
sub esp, 0xc
mov dword [esp + 8], edx
mov dword [esp + 4], 0x481
mov dword [esp], esi
call edi
mov eax, dword [ebx + 8]
sub esp, 0xc
mov edi, dword [sym.imp.user32.dll_CheckDlgButton]
shr eax, 1
and eax, 1
mov dword [esp + 4], 0x410
mov dword [esp + 8], eax
mov dword [esp], esi
call edi
mov eax, dword [ebx + 8]
sub esp, 0xc
test eax, 0x11000
jne 0x10002c28
test eax, 0x10000
jne 0x10002bf8
shr eax, 2
mov dword [esp + 4], 0x411
and eax, 1
mov dword [esp], esi
mov dword [esp + 8], eax
call edi
mov eax, dword [ebx + 8]
sub esp, 0xc
test ah, 0x88
jne 0x10002bc8
test ah, 0x80
jne 0x10002b98
test al, 0x80
je 0x10002b48
mov dword [esp], esi
mov dword [esp + 4], 1
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, 1
push ebx
push ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp - 0x24]
mov ebx, dword [sym.imp.user32.dll_GetDlgItemTextA]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x480
mov dword [esp], esi
call ebx
mov eax, dword [ebp - 0x1c]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x481
mov dword [esp], esi
call ebx
mov ebx, dword [sym.imp.user32.dll_IsDlgButtonChecked]
sub esp, 0x10
mov dword [esp + 4], 0x410
mov dword [esp], esi
call ebx
test eax, eax
push edx
push edx
mov eax, dword [edi + 8]
jne 0x10002dc8
and eax, 0xfffffffd
mov dword [edi + 8], eax
mov dword [esp + 4], 0x411
mov dword [esp], esi
call ebx
test eax, eax
push ecx
push ecx
mov eax, dword [edi + 8]
je 0x10002dd0
or eax, 4
and eax, 0xffffff97
or eax, 0x10
jmp 0x10002d6b
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x40e
mov dword [esp], esi
call ebx
push edi
push edi
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], esi
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 0x10002a92
mov dword [esp + 4], 0x411
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetDlgItem]
push edi
push edi
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 0x10002a8a
mov dword [esp + 4], 0x411
mov dword [esp], esi
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 0x10002a81
mov dword [esp + 4], 0x410
mov dword [esp], esi
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 0x10002a5b
mov dword [esp + 4], 0x410
mov dword [esp], esi
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 0x10002a50
mov eax, dword [ebp - 0x24]
mov ebx, dword [sym.imp.user32.dll_GetDlgItemTextA]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x480
mov dword [esp], esi
call ebx
mov eax, dword [ebp - 0x1c]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x481
mov dword [esp], esi
call ebx
mov ebx, dword [sym.imp.user32.dll_IsDlgButtonChecked]
sub esp, 0x10
mov dword [esp + 4], 0x410
mov dword [esp], esi
call ebx
test eax, eax
push ecx
push ecx
mov eax, dword [edi + 8]
jne 0x10002dc0
and eax, 0xfffffffd
mov dword [edi + 8], eax
mov dword [esp + 4], 0x411
mov dword [esp], esi
call ebx
test eax, eax
push edx
push edx
mov eax, dword [edi + 8]
je 0x10002de0
or eax, 4
and eax, 0xffffff8f
or eax, 8
jmp 0x10002d6b
mov eax, dword [ebp - 0x24]
mov ebx, dword [sym.imp.user32.dll_GetDlgItemTextA]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x480
mov dword [esp], esi
call ebx
mov eax, dword [ebp - 0x1c]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x481
mov dword [esp], esi
call ebx
mov ebx, dword [sym.imp.user32.dll_IsDlgButtonChecked]
sub esp, 0x10
mov dword [esp + 4], 0x410
mov dword [esp], esi
call ebx
test eax, eax
push edx
push edx
mov eax, dword [edi + 8]
jne 0x10002db8
and eax, 0xfffffffd
mov dword [edi + 8], eax
mov dword [esp + 4], 0x411
mov dword [esp], esi
call ebx
test eax, eax
push ecx
push ecx
mov eax, dword [edi + 8]
je 0x10002dd8
or eax, 4
and eax, 0xffffffa7
or eax, 0x20
mov dword [edi + 8], eax
mov dword [esp], esi
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], 8
call eax
push edx
push edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, 1
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
or eax, 2
jmp 0x10002d49
or eax, 2
jmp 0x10002cbd
or eax, 2
jmp 0x10002b1d
and eax, 0xfffffffb
jmp 0x10002b3d
and eax, 0xfffffffb
jmp 0x10002d65
and eax, 0xfffffffb
jmp 0x10002cdd