Function at 0x1008d090
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0x7f0
push dword [esi + 8]
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
push 0
push 0
push 0x147
push ebp
call ebx
test eax, eax
js 0x1008d0d2
push 0
push eax
push 0x150
push ebp
call ebx
mov ebp, eax
mov al, 1
jmp 0x1008d0d8
mov ebp, dword [esp + 0x24]
xor al, al
xor ecx, ecx
test al, al
push 0x7da
push dword [esi + 8]
cmove ebp, ecx
call edi
push 0
push 0
push 0x147
push eax
mov dword [esp + 0x30], eax
call ebx
test eax, eax
js 0x1008d665
push 0
push eax
push 0x150
push dword [esp + 0x2c]
call ebx
mov ebx, eax
mov dword [esp + 0x20], ebx
cmp bl, 3
je 0x1008d128
cmp bl, 4
je 0x1008d128
cmp bl, 0xf
je 0x1008d128
xor cl, cl
jmp 0x1008d12a
mov cl, 1
mov byte [esp + 0x13], cl
cmp bl, 0xc
je 0x1008d142
cmp bl, 0xd
je 0x1008d142
mov byte [esp + 0x12], 0
cmp bl, 0x11
jne 0x1008d147
mov byte [esp + 0x12], 1
cmp bl, 3
je 0x1008d156
mov byte [esp + 0x11], 0
cmp bl, 0xc
jne 0x1008d15b
mov byte [esp + 0x11], 1
cmp bl, 4
je 0x1008d16d
mov dword [esp + 0x14], 0
cmp bl, 0xd
jne 0x1008d175
mov dword [esp + 0x14], 1
cmp bl, 0xf
je 0x1008d187
mov dword [esp + 0x1c], 0
cmp bl, 0x11
jne 0x1008d18f
mov dword [esp + 0x1c], 1
xor eax, eax
mov edx, 5
test cl, cl
cmovne eax, edx
push eax
push 0x7d6
push dword [esi + 8]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, 5
cmp bl, 0xb
cmove eax, ecx
push eax
push 0x7d5
push dword [esi + 8]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
xor eax, eax
mov ecx, 5
cmp byte [esp + 0x12], al
cmovne eax, ecx
push eax
push 0x7d7
push dword [esi + 8]
mov dword [esp + 0x30], eax
call edi
push eax
call ebx
push 0
push 0x7e0
push dword [esi + 8]
call edi
push eax
call ebx
push 0
push 0x7df
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x1c]
push 0x7e0
push dword [esi + 8]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push dword [esp + 0x1c]
push 0x7df
push dword [esi + 8]
call edi
push eax
call ebx
xor eax, eax
cmp byte [esp + 0x20], 0xb
setne al
push eax
push 0x7de
push dword [esi + 8]
mov dword [esp + 0x28], eax
call edi
push eax
call ebx
push dword [esp + 0x1c]
push 0x7dd
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x1c]
push 0x7dc
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x1c]
push 0x7db
push dword [esi + 8]
call edi
push eax
call ebx
movzx eax, byte [esp + 0x11]
push eax
push 0x7f9
push dword [esi + 8]
mov dword [esp + 0x24], eax
call edi
push eax
call ebx
push dword [esp + 0x18]
push 0x7fa
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x18]
push 0x7fb
push dword [esi + 8]
call edi
push eax
call ebx
cmp ebp, 1
jle 0x1008d2cf
cmp byte [esp + 0x11], 0
je 0x1008d2cf
mov eax, 1
jmp 0x1008d2d1
xor eax, eax
push eax
push 0x7ef
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x18]
push 0x7fc
push dword [esi + 8]
call edi
push eax
call ebx
cmp byte [esp + 0x11], 0
je 0x1008d33f
test ebp, ebp
jne 0x1008d33f
push 0x7f3
push dword [esi + 8]
call edi
push 1
push eax
call ebx
push 0x7f4
push dword [esi + 8]
call edi
push 1
push eax
call ebx
push 0x7f5
push dword [esi + 8]
call edi
push 1
push eax
call ebx
push 0x7f6
push dword [esi + 8]
call edi
push 1
push eax
call ebx
lea eax, [ebp + 1]
jmp 0x1008d41a
push 0
push 0x7f3
push dword [esi + 8]
call edi
push eax
call ebx
cmp byte [esp + 0x11], 0
je 0x1008d38e
test ebp, ebp
jne 0x1008d38e
push 0x7f4
push dword [esi + 8]
call edi
push 1
push eax
call ebx
push 0x7f5
push dword [esi + 8]
call edi
push 1
push eax
call ebx
push 0x7f6
push dword [esi + 8]
call edi
push 1
push eax
call ebx
lea eax, [ebp + 1]
jmp 0x1008d41a
push 0
push 0x7f4
push dword [esi + 8]
call edi
push eax
call ebx
cmp byte [esp + 0x11], 0
je 0x1008d3cb
test ebp, ebp
jne 0x1008d3cb
push 0x7f5
push dword [esi + 8]
call edi
push 1
push eax
call ebx
push 0x7f6
push dword [esi + 8]
call edi
push 1
push eax
call ebx
lea eax, [ebp + 1]
jmp 0x1008d41a
push 0
push 0x7f5
push dword [esi + 8]
call edi
push eax
call ebx
cmp byte [esp + 0x11], 0
je 0x1008d3f9
test ebp, ebp
jne 0x1008d3f9
push 0x7f6
push dword [esi + 8]
call edi
push 1
push eax
call ebx
lea eax, [ebp + 1]
jmp 0x1008d41a
push 0
push 0x7f6
push dword [esi + 8]
call edi
push eax
call ebx
cmp byte [esp + 0x11], 0
je 0x1008d418
test ebp, ebp
jne 0x1008d418
lea eax, [ebp + 1]
jmp 0x1008d41a
xor eax, eax
push eax
push 0x7f2
push dword [esi + 8]
call edi
push eax
call ebx
mov ebp, dword [esp + 0x18]
push ebp
push 0x7f0
push dword [esi + 8]
call edi
push eax
call ebx
push ebp
push 0x7f1
push dword [esi + 8]
call edi
push eax
call ebx
push ebp
push 0x7ee
push dword [esi + 8]
call edi
push eax
call ebx
push 0x7dc
push dword [esi + 8]
call edi
push 0
push 0
push 0x147
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
test ecx, ecx
js 0x1008d516
push 0
push ecx
push 0x150
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [esp + 0x11], 0
mov dword [esp + 0x18], eax
je 0x1008d4c9
test eax, eax
je 0x1008d4c9
cmp byte [esp + 0x12], 0
jne 0x1008d4b8
push 0x7ee
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
jne 0x1008d4c9
push 0x7f8
push dword [esi + 8]
call edi
push 1
push eax
call ebx
jmp 0x1008d4e6
push 0
push 0x7f8
push dword [esi + 8]
call edi
push eax
call ebx
cmp byte [esp + 0x11], 0
je 0x1008d506
cmp dword [esp + 0x18], 0
je 0x1008d506
cmp byte [esp + 0x12], 0
jne 0x1008d4ff
push 0x7ee
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
jne 0x1008d506
mov eax, 1
jmp 0x1008d508
xor eax, eax
push eax
push 0x7f7
push dword [esi + 8]
call edi
push eax
call ebx
push ebp
push 0x7fe
push dword [esi + 8]
call edi
push eax
call ebx
push ebp
push 0x7ff
push dword [esi + 8]
call edi
push eax
call ebx
push ebp
push 0x800
push dword [esi + 8]
call edi
push eax
call ebx
push ebp
push 0x801
push dword [esi + 8]
call edi
push eax
call ebx
push ebp
push 0x802
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x24]
push 0x800
push dword [esi + 8]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esp + 0x13], 0
jne 0x1008d583
cmp byte [esp + 0x20], 0xb
je 0x1008d583
xor eax, eax
jmp 0x1008d588
mov eax, 5
push eax
push 0x801
push dword [esi + 8]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x14]
push 0x80c
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x14]
push 0x80d
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x14]
push 0x80e
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x14]
push 0x810
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x14]
push 0x80f
push dword [esi + 8]
call edi
push eax
call ebx
push dword [esp + 0x14]
push 0x811
push dword [esi + 8]
call edi
push eax
call ebx
push ebp
push 0x7fd
push dword [esi + 8]
call edi
push eax
call ebx
cmp byte [esp + 0x11], 0
je 0x1008d635
cmp byte [esp + 0x12], 0
jne 0x1008d62e
push 0x7fd
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x1008d635
mov eax, 1
jmp 0x1008d637
xor eax, eax
push eax
push 0x7e1
push dword [esi + 8]
call edi
push eax
call ebx
mov ebp, dword [esp + 0x1c]
push ebp
push 0x7e2
push dword [esi + 8]
call edi
push eax
call ebx
push ebp
push 0x7e3
push dword [esi + 8]
call edi
push eax
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret