Function at 0x414360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x4d7200]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x40]
cmp ebx, 0xffffffff
jne 0x414386
mov ebx, dword [eax]
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x414a66
cmp ebx, 1
jl 0x414a66
cmp ebx, dword [eax]
jg 0x414a66
lea esi, [ebx + ebx*8]
cmp dword [ecx + esi*8 + 0xc], 0
lea edx, [ecx + esi*8]
je 0x414a66
mov eax, dword [edx]
cmp eax, 0x10
je 0x414972
cmp eax, 0x11
je 0x414972
cmp eax, 0x1c
jne 0x41445c
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push 0x412
push dword [edx + 4]
call esi
mov ecx, dword [ebp + 0xc]
test cl, 4
je 0x4143f0
or eax, 1
jmp 0x4143f8
test cl, 8
je 0x4143f8
and eax, 0xfffffffe
test cl, 0x20
je 0x414402
or eax, 4
jmp 0x41440a
test cl, 0x40
je 0x41440a
and eax, 0xfffffffb
test cl, cl
jns 0x414413
or eax, 2
jmp 0x41441e
test ecx, 0x100
je 0x41441e
and eax, 0xfffffffd
test cl, 2
je 0x414428
and eax, 0xfffffff7
jmp 0x414430
test cl, 1
je 0x414430
or eax, 8
push eax
mov eax, dword [edi + 0x3c]
lea ecx, [ebx + ebx*8]
push ebx
push 0x411
push dword [eax + ecx*8 + 4]
call esi
test eax, eax
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00489f05
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x23
je 0x4146cf
cmp eax, 0x24
je 0x4146cf
mov edx, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0x25
jne 0x414544
test dl, 0xc
je 0x4145d6
lea eax, [ebx + ebx*8]
mov eax, dword [ecx + eax*8 + 0x44]
mov dword [esp + 0x10], eax
test eax, eax
je 0x414a66
test edx, 4
mov ecx, edx
mov edx, dword [esp + 0x10]
mov eax, 0
sete al
lea eax, [eax*4 + 4]
mov dword [edx], eax
xor eax, eax
test ecx, 4
lea ecx, [ebx + ebx*8]
sete al
lea eax, [eax*4 + 4]
mov edx, dword [eax + edx]
mov eax, dword [edi + 0x3c]
push edx
push 0
push 0x172
mov eax, dword [eax + ecx*8 + 4]
push eax
mov dword [esp + 0x20], eax
call esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x41452c
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x41452c
push 2
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4145d3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4145d3
cmp eax, 0x19
jne 0x4145d6
mov eax, edx
and eax, 3
mov dword [esp + 0x10], eax
je 0x4145d6
cmp ebx, dword [edi + 0x40]
jg 0x414582
lea eax, [ebx + ebx*8]
cmp dword [ecx + eax*8 + 0xc], 0
je 0x414582
push 0
push 0
push 0x130b
lea eax, [ebx + ebx*8]
push dword [ecx + eax*8 + 4]
call esi
mov ecx, dword [edi + 0x3c]
test eax, eax
js 0x4145d3
jmp 0x414584
xor eax, eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x30], 0
push edx
push eax
push 0x133c
lea eax, [ebx + ebx*8]
mov dword [esp + 0x40], 0xffffffff
push dword [ecx + eax*8 + 4]
xorps xmm0, xmm0
mov dword [esp + 0x2c], 8
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
call esi
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4145d3
push dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.00414360
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0x3c]
lea ecx, [ebx + ebx*8]
mov esi, dword [eax + ecx*8 + 4]
test dl, 1
je 0x4145fe
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xefffffff
jmp 0x41461a
test dl, 2
je 0x414627
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0x3c]
lea ecx, [ebx + ebx*8]
mov eax, dword [eax + ecx*8]
cmp eax, 4
je 0x41463a
cmp eax, 0x15
jne 0x414666
test dl, 4
je 0x414645
push 0
push 1
jmp 0x414659
test dl, 8
je 0x414650
push 0
push 0
jmp 0x414659
test dl, 0x10
je 0x414666
push 0
push 2
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0xf1
push esi
call eax
mov ebx, dword [ebp + 0xc]
test bl, 0x20
je 0x414672
push 1
jmp 0x414679
test bl, 0x40
je 0x414680
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
jns 0x4146a1
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00489f05
mov esp, ebp
pop ebp
ret 8
test ebx, 0x100
je 0x41495c
push dword [edi + 0x230]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00489f05
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ecx + esi*8 + 0x44]
mov dword [esp + 0xc], esi
test esi, esi
je 0x414a66
mov eax, dword [ebp + 0xc]
test al, 1
je 0x4146fd
mov eax, dword [esi]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [eax + eax*8]
push dword [ecx + eax*8 + 4]
call esi
push 0
jmp 0x414716
test al, 2
je 0x414730
mov eax, dword [esi]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
lea eax, [eax + eax*8]
push dword [ecx + eax*8 + 4]
call esi
push 5
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push dword [eax + ecx*8 + 4]
call esi
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
test al, 4
je 0x414866
mov eax, dword [esi]
push dword [esi + 0xc]
push 0
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push 0x172
mov eax, dword [eax + ecx*8 + 4]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x4147a5
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4147a5
push 2
lea ecx, [esp + 0x20]
push ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4147b4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 8], 4
lea ecx, [ebx + ebx*8]
mov eax, dword [edi + 0x3c]
cmp dword [eax + ecx*8], 0x24
jne 0x414825
mov esi, dword [esi]
dec esi
test esi, esi
jle 0x4147fd
lea ebx, [esi + esi*8]
shl ebx, 3
mov eax, dword [edi + 0x3c]
mov eax, dword [ebx + eax]
cmp eax, 0x23
je 0x4147f5
cmp eax, 0x24
je 0x4147eb
cmp eax, 0xd
jne 0x4147fd
jmp 0x4147f5
push 8
push esi
mov ecx, edi
call fcn.00414360
dec esi
sub ebx, 0x48
test esi, esi
jg 0x4147d4
mov ebx, dword [esp + 0xc]
mov esi, dword [ebx + 4]
inc esi
cmp esi, dword [edi + 0x40]
jg 0x414829
lea ebx, [esi + esi*8]
shl ebx, 3
mov eax, dword [edi + 0x3c]
mov eax, dword [ebx + eax]
cmp eax, 0x23
je 0x41485b
cmp eax, 0x24
je 0x414851
cmp eax, 0xd
je 0x41485b
mov ebx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
test al, 0x20
je 0x4148ee
mov eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push dword [eax + ecx*8 + 4]
call esi
push 1
jmp 0x41490a
push 8
push esi
mov ecx, edi
call fcn.00414360
inc esi
add ebx, 0x48
cmp esi, dword [edi + 0x40]
jle 0x414810
jmp 0x414825
test al, 8
je 0x4148e5
mov eax, dword [esi]
push dword [esi + 0x10]
push 0
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push 0x172
mov ebx, dword [eax + ecx*8 + 4]
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x4148ca
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4148ca
push 2
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4148d9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 8], 8
jmp 0x414825
mov ebx, dword [esp + 0xc]
jmp 0x41482c
test al, 0x40
je 0x41491c
mov eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push dword [eax + ecx*8 + 4]
call esi
push 0
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push dword [eax + ecx*8 + 4]
call esi
mov eax, dword [ebp + 0xc]
test al, al
jns 0x414949
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00489f05
mov esp, ebp
pop ebp
ret 8
test eax, 0x100
je 0x41495c
push dword [edi + 0x230]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00489f05
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x30
push eax
push 0
push ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
push dword [edx + 8]
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x414a66
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x28]
test cl, 4
je 0x4149fc
or eax, 8
jmp 0x414a04
test cl, 8
je 0x414a08
and eax, 0xfffffff7
mov dword [esp + 0x28], eax
test cl, 0x20
je 0x414a12
and eax, 0xfffffffc
jmp 0x414a1a
test cl, 0x40
je 0x414a1e
or eax, 3
mov dword [esp + 0x28], eax
test cl, cl
jns 0x414a29
or eax, 0x80
jmp 0x414a36
test ecx, 0x100
je 0x414a3a
and eax, 0xffffff7f
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x3c]
lea ecx, [ebx + ebx*8]
push 0
push ebx
push dword [eax + ecx*8 + 8]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00489f05
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x4c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00489f05
mov esp, ebp
pop ebp
ret 8