Function at 0x416080
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d490
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x430
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x42c], edi
mov eax, dword [edi + 0x3c]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x418], eax
test eax, eax
je 0x416aed
cmp esi, 1
jl 0x416aed
cmp esi, dword [edi + 0x40]
jg 0x416aed
lea edx, [esi + esi*8]
shl edx, 3
mov dword [ebp - 0x424], edx
cmp dword [edx + eax + 0xc], 0
je 0x416aed
mov ecx, dword [edx + eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x41c], edi
mov edi, dword [ebp - 0x42c]
mov dword [ebp - 0x414], ecx
cmp ecx, 0x20
jne 0x41621e
mov eax, dword [edx + eax + 0x44]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x416517
mov ecx, eax
call fcn.00414380
push 0x270
push dword [ebp - 0x418]
call fcn.0046a3d1
add esp, 8
mov edx, dword [ebp - 0x414]
lea ecx, [esi + esi*8]
shl ecx, 3
mov eax, dword [edi + 0x3c]
add eax, ecx
cmp edx, 0x1b
jne 0x416581
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
push ecx
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0x80000020
push 0x43f
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
push dword [eax + 4]
call dword [ebp - 0x41c]
cmp eax, 0xffffffff
je 0x416614
lea eax, [esi + esi*8]
shl eax, 3
xor esi, esi
mov dword [ebp - 0x420], eax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x4161f0
mov ecx, dword [ebp - 0x48]
cmp ecx, 1
jl 0x4161f0
cmp ecx, dword [edi + 0x40]
jg 0x4161f0
lea eax, [ecx + ecx*8]
cmp dword [edx + eax*8 + 0xc], 0
je 0x4161f0
cmp dword [edx + eax*8], 0x1c
jne 0x4161f0
push ecx
mov ecx, edi
call fcn.00416080
mov ecx, dword [ebp - 0x420]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [edi + 0x3c]
inc esi
push esi
push 0x43f
push dword [ecx + eax + 4]
call dword [ebp - 0x41c]
cmp eax, 0xffffffff
jne 0x4161c4
mov esi, dword [ebp - 0x428]
jmp 0x416614
cmp ecx, 0x19
jne 0x4162a0
mov eax, dword [edx + eax + 4]
push 0
push 0
push 0x1304
push eax
mov dword [ebp - 0x424], eax
call dword [ebp - 0x41c]
test eax, eax
je 0x416517
mov esi, eax
nop word [eax + eax]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 8
push eax
lea eax, [esi - 1]
xorps xmm0, xmm0
push eax
push 0x133c
push dword [ebp - 0x424]
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
call dword [ebp - 0x41c]
test eax, eax
je 0x416290
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00416080
sub esi, 1
jne 0x416250
mov esi, dword [ebp - 0x428]
jmp 0x41615c
cmp ecx, 3
jne 0x4162d9
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0x1603
push dword [edx + eax + 4]
call dword [ebp - 0x41c]
test eax, eax
je 0x416517
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x416517
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
jmp 0x41615c
cmp ecx, 0x26
jne 0x416324
push 0x3b0
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0046ba40
mov eax, dword [edi + 0x230]
add esp, 0xc
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x410], 0x3bc
mov dword [ebp - 0x408], esi
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
jmp 0x41615c
cmp ecx, 0x23
je 0x416332
cmp ecx, 0x24
jne 0x4163e5
mov eax, dword [edx + eax + 0x44]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x4163df
mov ecx, dword [eax]
cmp ecx, esi
jne 0x41634d
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41638d
cmp ecx, 1
jl 0x41638d
cmp ecx, dword [edi + 0x40]
jg 0x41638d
mov edi, dword [ebp - 0x418]
lea eax, [ecx + ecx*8]
cmp dword [edi + eax*8 + 0xc], 0
mov edi, dword [ebp - 0x42c]
je 0x41638d
mov edx, dword [ebp - 0x418]
push ecx
mov ecx, edi
mov dword [edx + eax*8 + 0x44], 0
call fcn.00416080
mov edx, dword [ebp - 0x424]
mov eax, dword [edi + 0x3c]
push 0x1c
push dword [ebp - 0x420]
mov dword [edx + eax + 0x44], 0
call fcn.0046a3d1
mov ecx, dword [ebp - 0x414]
add esp, 8
cmp ecx, 0x1a
je 0x4165bc
cmp ecx, 0x16
je 0x4165bc
cmp ecx, 0x28
je 0x4165bc
cmp ecx, 0x10
jne 0x416517
push esi
mov ecx, edi
call fcn.0041ac50
jmp 0x416614
mov eax, dword [ebp - 0x418]
cmp ecx, 0x25
jne 0x41640c
mov eax, dword [edx + eax + 0x44]
test eax, eax
je 0x4164ba
mov ecx, dword [ebp - 0x418]
push 0x10
push eax
mov dword [edx + ecx + 0x44], 0
jmp 0x416154
cmp ecx, 0xc
jne 0x416420
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
mov eax, dword [eax + ecx*8 + 0x44]
jmp 0x4164a9
cmp ecx, 0x1d
jne 0x416476
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
push 0
push 2
push 0x1108
push dword [eax + ecx*8 + 4]
call dword [ebp - 0x41c]
test eax, eax
je 0x416449
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
push 0
push 0
push 0x1108
push dword [eax + ecx*8 + 4]
call dword [ebp - 0x41c]
test eax, eax
je 0x416517
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
jmp 0x41615c
cmp ecx, 0x17
jne 0x4164ba
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
mov eax, dword [eax + ecx*8 + 0x44]
movzx ecx, ax
test eax, eax
je 0x416517
mov eax, ecx
test eax, eax
je 0x41649e
push eax
mov ecx, edi
call fcn.00416080
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
movzx eax, word [eax + ecx*8 + 0x46]
test eax, eax
je 0x416517
push eax
mov ecx, edi
call fcn.00416080
jmp 0x41615c
mov edx, dword [edi + 0x3c]
cmp ecx, 0x22
jne 0x4163ae
lea eax, [esi + esi*8]
mov eax, dword [edx + eax*8 + 0x44]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x416517
push 0x40ec50
push 5
push 4
add eax, 4
mov dword [ebp - 4], 0
push eax
call fcn.0046a06b
push 0x18
push dword [ebp - 0x420]
mov dword [ebp - 4], 0xffffffff
call fcn.0046a3d1
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
mov dword [eax + ecx*8 + 0x44], 0
jmp 0x416159
mov edx, dword [ebp - 0x414]
lea ecx, [esi + esi*8]
shl ecx, 3
cmp edx, 0x11
jne 0x41653d
mov eax, dword [edi + 0x3c]
push 0
push esi
push dword [ecx + eax + 8]
call dword [sym.imp.USER32.dll_RemoveMenu]
jmp 0x416614
cmp edx, 0x1c
jne 0x416168
mov eax, dword [edi + 0x3c]
push 0
push esi
push 0x419
push dword [eax + ecx + 4]
call dword [ebp - 0x41c]
cmp eax, 0xffffffff
je 0x416614
push 0
push eax
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
push 0x416
push dword [eax + ecx*8 + 4]
call dword [ebp - 0x41c]
jmp 0x416614
mov eax, dword [eax + 4]
test eax, eax
je 0x416614
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
cmp dword [eax + ecx*8 + 8], 0
je 0x416614
push esi
mov ecx, edi
call fcn.0041ac50
jmp 0x416614
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
mov ecx, dword [eax + ecx*8 + 0x44]
mov dword [ebp - 0x418], ecx
test ecx, ecx
je 0x416604
mov eax, dword [ecx]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x4165fb
mov esi, eax
nop
push dword [ecx + esi*4]
mov ecx, edi
call fcn.00416080
mov ecx, dword [ebp - 0x418]
sub esi, 1
jne 0x4165e0
mov esi, dword [ebp - 0x428]
push ecx
call fcn.00469dd3
add esp, 4
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [eax + ecx*8 + 0x14]
test eax, eax
je 0x416631
push eax
call edx
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
mov eax, dword [eax + ecx*8 + 0x10]
test eax, eax
je 0x416642
push eax
call edx
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
mov ecx, dword [eax + ecx*8 + 0x44]
test ecx, ecx
je 0x416675
mov eax, dword [ebp - 0x414]
cmp eax, 0xb
jne 0x416664
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x416675
cmp eax, 0x13
je 0x41666e
cmp eax, 0x1c
jne 0x416675
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
push 0x48
push 0
lea eax, [eax + ecx*8]
push eax
call fcn.0046ba40
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
add esp, 0xc
mov dword [eax + ecx*8 + 0xc], 0
mov edx, dword [edi + 0x40]
cmp esi, edx
jne 0x4166c0
test edx, edx
je 0x4166c0
mov eax, dword [edi + 0x3c]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*8]
add eax, 0xc
cmp dword [eax], 0
jne 0x4166c0
dec edx
sub eax, 0x48
mov dword [edi + 0x40], edx
test edx, edx
jne 0x4166b0
mov eax, dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp - 0x430], eax
mov eax, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [ebp - 0x43c], eax
mov eax, dword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [ebp - 0x440], eax
mov eax, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov dword [ebp - 0x434], eax
mov eax, dword [sym.imp.USER32.dll_IsDialogMessageW]
mov dword [ebp - 0x438], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x420], eax
jmp 0x416716
mov ecx, dword [ebp - 0x414]
mov esi, dword [edi + 0x1c0]
test esi, esi
je 0x416ae9
cmp byte [esi + 0x38], 0
lea eax, [esi + 0x38]
jne 0x416ad6
push 1
push 0
lea eax, [esi + 0x14]
mov dword [esi], 0
push 0
mov dword [esi + 4], 0
xorps xmm0, xmm0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
movups xmmword [eax], xmm0
push 0
movq qword [eax + 0x10], xmm0
push eax
mov dword [eax + 0x18], 0
call ecx
test eax, eax
je 0x416ae9
mov eax, dword [esi + 0x18]
cmp eax, 0xcae
jne 0x4167d4
mov dword [esi], 0xfffffffa
mov byte [esi + 0x39], 1
cmp eax, 0x100
jne 0x416a6a
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x416a6a
mov eax, 0xd
cmp ax, word [esi + 0x1c]
jne 0x416a6a
mov ecx, dword [esi + 0x14]
xor eax, eax
mov dword [ebp - 0x418], ecx
test ecx, ecx
jne 0x4169ca
xor edi, edi
jmp 0x416a34
mov ecx, dword [ebp - 0x414]
test eax, eax
je 0x416716
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x41678f
cmp eax, 0xcb1
jne 0x41678f
mov edx, dword [ecx + 0x3c]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x418], eax
test edx, edx
je 0x416710
cmp eax, 1
jl 0x416710
cmp eax, dword [ecx + 0x40]
jg 0x416710
lea eax, [eax + eax*8]
cmp dword [edx + eax*8 + 0xc], 0
je 0x416710
mov edx, dword [esi + 0x20]
cmp edx, 0x205
jne 0x41686a
mov eax, dword [ecx + 0x1c0]
mov edx, dword [esi + 0x14]
test eax, eax
je 0x416710
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xffffffea
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 8], 0x205
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 4], edx
jmp 0x41699f
cmp edx, 0x203
jne 0x4168ad
mov eax, dword [ecx + 0x1c0]
mov edx, dword [esi + 0x14]
test eax, eax
je 0x416710
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xfffffff2
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 8], 0x203
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 4], edx
jmp 0x41699f
cmp edx, 0x202
jne 0x4168ce
push 0
push 0
push dword [esi + 0x14]
push edx
mov edx, dword [ebp - 0x418]
push edx
call fcn.0041af00
jmp 0x416710
cmp edx, 0x402
jne 0x416911
mov eax, dword [ecx + 0x1c0]
mov edx, dword [esi + 0x14]
test eax, eax
je 0x416710
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xffffff35
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 8], 0x402
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 4], edx
jmp 0x41699f
cmp edx, 0x403
je 0x41696d
cmp edx, 0x404
je 0x41696d
mov esi, dword [esi + 0x14]
mov eax, dword [ecx + 0x1c0]
cmp edx, 0x405
jne 0x416954
test eax, eax
je 0x416710
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xffffff34
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 8], edx
jmp 0x416996
test eax, eax
je 0x416710
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xffffff36
jmp 0x41698d
mov eax, dword [ecx + 0x1c0]
mov esi, dword [esi + 0x14]
test eax, eax
je 0x416710
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xffffff33
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 8], edx
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 4], esi
mov eax, dword [ecx + 0x1c0]
mov edx, dword [ebp - 0x418]
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 0x10], 0
mov eax, dword [ecx + 0x1c0]
mov byte [eax + 0x38], 1
jmp 0x416710
push 0xfffffffffffffff4
push ecx
call dword [ebp - 0x420]
mov edi, eax
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x416a30
cmp edi, 1
jl 0x416a30
cmp edi, dword [eax + 0x40]
jg 0x416a30
lea eax, [edi + edi*8]
cmp dword [ecx + eax*8 + 0xc], 0
lea ecx, [ecx + eax*8]
je 0x416a30
mov eax, dword [ebp - 0x418]
cmp dword [ecx + 4], eax
jne 0x416a30
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x416a2c
cmp edi, dword [eax + 0x40]
jg 0x416a2c
lea eax, [edi + edi*8]
cmp dword [ecx + eax*8 + 0xc], 0
je 0x416a2c
mov eax, dword [ecx + eax*8]
cmp eax, 0x23
je 0x416a3e
cmp eax, 0x24
jne 0x416a34
jmp 0x416a3e
xor eax, eax
jmp 0x416a34
xor edi, edi
mov eax, edi
cmp eax, 0x22
je 0x416a3e
cmp eax, 0x25
jne 0x416a64
mov esi, dword [esi + 0x14]
push esi
call dword [ebp - 0x430]
push esi
movzx ecx, di
push ecx
push 0x111
push eax
call dword [ebp - 0x41c]
mov edi, dword [ebp - 0x42c]
jmp 0x416710
mov edi, dword [ebp - 0x42c]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x416abf
lea ecx, [esi + 0x14]
test ecx, ecx
jne 0x416a7c
xor cl, cl
jmp 0x416abb
mov edx, dword [eax + 0x244]
add eax, 0x230
mov dword [ebp - 0x424], eax
test edx, edx
je 0x416aad
push ecx
push edx
push dword [eax]
call dword [ebp - 0x434]
test eax, eax
setne cl
test eax, eax
jne 0x416abb
mov eax, dword [ebp - 0x424]
lea ecx, [esi + 0x14]
push ecx
push dword [eax]
call dword [ebp - 0x438]
test eax, eax
setne cl
test cl, cl
jne 0x416ad3
lea eax, [esi + 0x14]
push eax
call dword [ebp - 0x43c]
lea eax, [esi + 0x14]
push eax
call dword [ebp - 0x440]
lea eax, [esi + 0x38]
xor cl, cl
mov byte [eax], cl
cmp dword [esi], 0
mov ecx, dword [ebp - 0x414]
jne 0x416716
mov al, 1
jmp 0x416aef
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00469dc5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4