Function at 0x417b80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4b41e0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea ecx, [edi + 0x40]
mov dword [esp + 0x18], ecx
cmp esi, 0xffffffff
jne 0x417bac
mov esi, dword [ecx]
jmp 0x417bb0
mov dword [esp + 0x18], ecx
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x418277
cmp esi, 1
jl 0x418277
cmp esi, dword [ecx]
jg 0x418277
lea ebx, [esi + esi*8]
shl ebx, 3
mov dword [esp + 0x10], ebx
cmp dword [ebx + edx + 0xc], 0
je 0x418277
mov eax, dword [ebx + edx]
cmp eax, 0x10
je 0x418189
cmp eax, 0x11
je 0x418189
cmp eax, 0x1c
jne 0x417c8b
push 0
push esi
push 0x412
push dword [ebx + edx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0xc]
test cl, 4
je 0x417c1e
or eax, 1
jmp 0x417c26
test cl, 8
je 0x417c26
and eax, 0xfffffffe
test cl, 0x20
je 0x417c30
or eax, 4
jmp 0x417c38
test cl, 0x40
je 0x417c38
and eax, 0xfffffffb
test cl, cl
jns 0x417c41
or eax, 2
jmp 0x417c4c
test ecx, 0x100
je 0x417c4c
and eax, 0xfffffffd
test cl, 2
je 0x417c56
and eax, 0xfffffff7
jmp 0x417c5e
test cl, 1
je 0x417c5e
or eax, 8
push eax
mov eax, dword [edi + 0x3c]
push esi
push 0x411
push dword [eax + ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x23
je 0x417ee5
cmp eax, 0x24
je 0x417ee5
mov ebx, dword [ebp + 0xc]
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0x25
jne 0x417d75
mov ecx, dword [edi + 0x3c]
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + ecx + 0x44]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x418277
test ebx, 4
mov eax, 0
mov edx, ebx
sete al
lea eax, [eax*4 + 4]
mov dword [ecx], eax
xor ecx, ecx
mov eax, dword [edi + 0x3c]
test edx, 4
mov edx, dword [esp + 0x14]
sete cl
mov eax, dword [eax + esi + 4]
mov dword [esp + 0x10], eax
lea ecx, [ecx*4 + 4]
push dword [ecx + edx]
push 0
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x417d5d
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x14], eax
test eax, eax
je 0x417d5d
push 2
lea ecx, [esp + 0x28]
push ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x417e09
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x417e09
cmp eax, 0x19
jne 0x417e05
mov eax, ebx
and eax, 3
mov dword [esp + 0x14], eax
je 0x417e05
cmp esi, dword [ecx]
mov ecx, dword [edi + 0x3c]
jg 0x417db1
push 0
push 0
push 0x130b
lea eax, [esi + esi*8]
push dword [ecx + eax*8 + 4]
call edx
mov ecx, dword [edi + 0x3c]
test eax, eax
js 0x417e05
mov edx, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x417db3
xor eax, eax
lea esi, [esp + 0x24]
mov dword [esp + 0x38], 0
push esi
mov esi, dword [esp + 0x14]
xorps xmm0, xmm0
push eax
push 0x133c
movlpd qword [esp + 0x34], xmm0
push dword [esi + ecx + 4]
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x34], 8
call edx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x417e09
push dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00417b80
jmp 0x417e09
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + esi + 4]
test bl, 1
je 0x417e2e
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 0x417e4a
test bl, 2
je 0x417e54
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]
test bl, 4
je 0x417e5f
push 0
push 1
jmp 0x417e73
test bl, 8
je 0x417e6a
push 0
push 0
jmp 0x417e73
test bl, 0x10
je 0x417e7f
push 0
push 2
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, 0x20
je 0x417e88
push 1
jmp 0x417e8f
test bl, 0x40
je 0x417e96
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
jns 0x417eb7
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 8
test ebx, 0x100
je 0x418173
push dword [edi + 0x230]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebx + edx + 0x44]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x418277
mov eax, dword [ebp + 0xc]
test al, 1
je 0x417f13
mov eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [eax + eax*8]
push dword [edx + eax*8 + 4]
call esi
push 0
jmp 0x417f2c
test al, 2
je 0x417f3e
mov eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
lea eax, [eax + eax*8]
push dword [edx + eax*8 + 4]
call esi
push 5
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, 4
je 0x418084
mov eax, dword [ebx]
push dword [ebx + 0xc]
push 0
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push 0x172
mov esi, dword [eax + ecx*8 + 4]
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x417fa8
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x417fa8
push 2
lea eax, [esp + 0x28]
push eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x417fb7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x10]
mov dword [ebx + 8], 4
mov eax, dword [edi + 0x3c]
cmp dword [eax + esi], 0x24
jne 0x41805c
mov esi, dword [ebx]
dec esi
test esi, esi
jle 0x418016
lea ebx, [esi + esi*8]
mov edx, eax
shl ebx, 3
nop
mov ecx, dword [ebx + edx]
cmp ecx, 0x23
je 0x417ff4
cmp ecx, 0x24
je 0x417ff4
mov eax, edx
cmp ecx, 0xd
jne 0x418012
mov eax, edx
cmp ecx, 0x24
jne 0x418008
push 8
push esi
mov ecx, edi
call fcn.00417b80
mov eax, dword [edi + 0x3c]
dec esi
sub ebx, 0x48
mov edx, eax
test esi, esi
jg 0x417fe0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [ebx + 4]
inc esi
cmp esi, dword [ecx]
jg 0x41805c
lea ebx, [esi + esi*8]
shl ebx, 3
mov ecx, dword [ebx + eax]
cmp ecx, 0x23
je 0x41803a
cmp ecx, 0x24
je 0x41803f
cmp ecx, 0xd
jne 0x418058
cmp ecx, 0x24
jne 0x41804c
push 8
push esi
mov ecx, edi
call fcn.00417b80
mov eax, dword [edi + 0x3c]
mov ecx, dword [esp + 0x18]
inc esi
add ebx, 0x48
cmp esi, dword [ecx]
jle 0x418028
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
test al, 0x20
je 0x418105
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 0x418121
test al, 8
je 0x41805f
mov eax, dword [ebx]
push dword [ebx + 0x10]
push 0
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push 0x172
mov esi, dword [eax + ecx*8 + 4]
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x4180ea
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x4180ea
push 2
lea eax, [esp + 0x28]
push eax
push esi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4180f9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 8], 8
jmp 0x41805c
test al, 0x40
je 0x418133
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 0x418160
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 + 0x48]
xor ecx, esp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 8
test eax, 0x100
je 0x418173
push dword [edi + 0x230]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x30
push eax
push 0
push esi
mov dword [esp + 0x34], 1
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
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
push dword [ebx + edx + 8]
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x418277
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x30]
test cl, 4
je 0x418210
or eax, 8
jmp 0x418218
test cl, 8
je 0x41821c
and eax, 0xfffffff7
mov dword [esp + 0x30], eax
test cl, 0x20
je 0x418226
and eax, 0xfffffffc
jmp 0x41822e
test cl, 0x40
je 0x418232
or eax, 3
mov dword [esp + 0x30], eax
test cl, cl
jns 0x41823d
or eax, 0x80
jmp 0x41824a
test ecx, 0x100
je 0x41824e
and eax, 0xffffff7f
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [edi + 0x3c]
push 0
push esi
push dword [eax + ebx + 8]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x54]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00469e65
mov esp, ebp
pop ebp
ret 8