Function at 0x450600
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x45099d
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp esi, 1
jne 0x450651
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 1
push ecx
push ebx
push eax
push 1
mov ecx, edi
call fcn.0044a520
cmp dword [ebp + 0xc], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
je 0x450717
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
cmp esi, 2
jne 0x45068b
mov eax, dword [edi + 0xe0]
test eax, eax
je 0x4508f3
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
test eax, eax
je 0x4508f3
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xe0], 0
mov dword [eax], 0
jmp 0x450717
cmp esi, 0x1a
jne 0x4506af
push ebx
push eax
push esi
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [edi + 0x24]
call fcn.00421050
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jmp 0x450717
cmp esi, 0x14
jne 0x4506d4
mov ecx, dword [edi + 0x100]
xor eax, eax
mov edx, dword [ebp + 0x18]
test ecx, ecx
setne al
mov dword [edx], eax
test ecx, ecx
je 0x450717
pop edi
lea eax, [esi - 0x13]
pop esi
pop ebx
pop ebp
ret 0x18
cmp esi, 7
jne 0x450767
mov eax, dword [edi + 0x100]
test eax, eax
je 0x45070e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45070e
mov esi, dword [edi + 0x28]
call dword [sym.imp.USER32.dll_GetCapture]
cmp esi, eax
je 0x45070b
push dword [edi + 0x100]
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
lea eax, [esi - 0x100]
cmp eax, 9
ja 0x45091f
mov eax, dword [edi + 0x100]
test eax, eax
je 0x45091f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45091f
mov ecx, dword [ebp + 0x10]
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ecx
push esi
push dword [edi + 0x100]
call eax
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
cmp esi, 0x37f
jne 0x450790
push ebx
push 0
push esi
push dword [edi + 0x100]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
cmp esi, 0x4e
jne 0x450901
cmp dword [ebx + 8], 0xfffffffe
jne 0x4507d4
mov eax, dword [edi + 0x28]
cmp eax, dword [ebx]
jne 0x4507c9
mov eax, dword [ebx + 0xc]
test eax, eax
js 0x4507c9
cmp eax, dword [edi + 0x48]
jne 0x4507c9
push eax
lea ecx, [edi + 0x24]
call fcn.00447be0
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x4507c9
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jmp 0x4507d7
mov eax, dword [ebp + 0x18]
cmp dword [ebx + 8], 0xfffffdc4
jne 0x45081b
mov eax, dword [edi + 0x28]
cmp eax, dword [ebx]
jne 0x450812
mov ecx, dword [ebx + 0x10]
test ecx, ecx
js 0x450812
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x450801
xor eax, eax
jmp 0x450804
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x450812
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [ebx + 8], 0xfffffdc3
jne 0x45085f
mov eax, dword [edi + 0x28]
cmp eax, dword [ebx]
jne 0x450856
mov ecx, dword [ebx + 0xc]
test ecx, ecx
js 0x450856
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x450845
xor eax, eax
jmp 0x450848
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x450856
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov ecx, dword [ebx + 8]
cmp ecx, 0xfffffdce
jne 0x450873
mov dword [eax], 0
mov ecx, dword [ebx + 8]
cmp ecx, 0xfffffdd8
jne 0x450884
mov dword [eax], 0
mov ecx, dword [ebx + 8]
cmp ecx, 0xfffffdd9
jne 0x450717
mov eax, dword [edi + 0x28]
cmp eax, dword [ebx]
jne 0x4508f3
mov ecx, dword [edi + 0x48]
test ecx, ecx
js 0x4508f3
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x4508b1
xor eax, eax
jmp 0x4508b4
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0x4c]
mov dword [ebp + 0x14], eax
test eax, eax
je 0x4508f3
mov ecx, dword [edi + 0x100]
mov dword [ebp + 0xc], ecx
cmp eax, ecx
je 0x4508f3
push 1
mov ecx, edi
mov dword [edi + 0x100], eax
call fcn.0042c800
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4508ea
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jmp 0x450717
cmp esi, 5
jne 0x450717
cmp eax, 1
je 0x45070e
push 1
call fcn.0042c800
jmp 0x45070e
cmp esi, 0x111
jne 0x45093f
mov eax, dword [edi + 0x100]
test eax, eax
je 0x45093f
mov ecx, dword [ebp + 0x10]
push ebx
push ecx
push esi
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
call eax
cmp byte [edi + 0xf8], 0
je 0x45096e
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
push esi
call fcn.0042a980
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x450784
cmp byte [edi + 0xf9], 0
je 0x45099d
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
push esi
call fcn.00447990
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x450784
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18