Function at 0x1002150e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x100217fc
mov eax, dword [edi]
mov esi, dword [eax + 0x170]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100217fc
cmp dword [ebp + 8], 0
je 0x1002156a
mov eax, dword [eax + 0xac]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1002156a
mov eax, dword [eax]
push 0
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x10190a00]
mov ecx, dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0xb4]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1002163a
lea eax, [edi + 0xb0]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.10019790
mov esi, dword [eax]
mov dword [ebp - 8], esi
test esi, esi
je 0x100217fc
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x14], eax
lea ecx, [eax - 0xe800]
cmp ecx, 0x1f
ja 0x10021627
lea ecx, [eax - 0xe800]
xor eax, eax
inc eax
shl eax, cl
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
mov esi, dword [eax + 0x190]
mov ecx, esi
call dword [0x10190a00]
mov ecx, dword [ebp - 8]
call esi
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 4]
test eax, eax
mov eax, dword [ebp - 8]
cmove ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [eax]
mov esi, dword [eax + 0x198]
mov ecx, esi
call dword [0x10190a00]
mov ecx, dword [ebp - 8]
call esi
test eax, eax
je 0x1002160c
cmp dword [ebp - 0x14], 0xe81f
je 0x10021627
mov eax, dword [ebx + 8]
mov ecx, edi
and eax, dword [ebp - 0xc]
push 1
push eax
push dword [ebp - 8]
call fcn.10022391
mov ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
jmp 0x1002162a
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x10], 0
lea eax, [edi + 0xb0]
jne 0x10021586
cmp dword [ebp + 8], 0
mov dword [ebx + 8], ecx
je 0x10021707
mov eax, dword [ebx + 0x10]
mov ecx, edi
push 0
mov dword [edi + 0xe0], eax
call fcn.100224d8
push dword [ebx]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x100], 1
jne 0x10021686
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetMenu]
jmp 0x1002168c
mov eax, dword [edi + 0x104]
mov dword [ebx + 4], eax
test eax, eax
je 0x100216bd
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi]
push 0
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
and dword [edi + 0x118], 0xfffffffe
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 0x8c]
mov ecx, edi
mov dword [ebx + 0x14], eax
and dword [edi + 0x8c], 0
push 0x7915
call fcn.1001f933
mov eax, 0xe900
cmp dword [ebx], eax
je 0x100216ee
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x10021700
push 0xea21
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop edi
pop esi
pop ebx
leave
ret 8
and dword [edi + 0xe0], 0
push 0xea21
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x10], eax
mov esi, 0xe900
test eax, eax
je 0x10021750
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10021744
push 0xea21
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
push 0xfffffffffffffff4
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebx + 4], 0
je 0x1002178a
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x100]
cmp eax, 1
jne 0x1002177c
push dword [ebx + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetMenu]
jmp 0x1002178a
cmp eax, 2
jne 0x1002178a
mov eax, dword [ebx + 4]
mov dword [edi + 0x104], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xac]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100217ae
mov eax, dword [eax]
push 1
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x10190a00]
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [edi]
push 1
mov esi, dword [eax + 0x178]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
cmp dword [ebx], 0xe900
je 0x100217d9
push dword [ebx]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x100217dc
mov eax, dword [ebp - 0x10]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x14]
mov ecx, edi
push 1
mov dword [edi + 0x8c], eax
call fcn.100224d8
jmp 0x10021700
call fcn.10023201
int3