Function at 0x415ed0
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 0x47e410
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x430
mov eax, dword [0x4b5200]
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 eax, dword [edi + 0x3c]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x418], eax
test eax, eax
je 0x41691f
cmp esi, 1
jl 0x41691f
cmp esi, dword [edi + 0x40]
jg 0x41691f
lea edx, [esi + esi*8]
shl edx, 3
mov dword [ebp - 0x428], edx
cmp dword [edx + eax + 0xc], 0
je 0x41691f
mov ecx, dword [edx + eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x424], esi
mov esi, dword [ebp - 0x420]
mov dword [ebp - 0x414], ecx
cmp ecx, 0x20
jne 0x41606a
mov eax, dword [edx + eax + 0x44]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x41634b
mov ecx, eax
call fcn.004141d0
push 0x268
push dword [ebp - 0x418]
call fcn.0046b8fe
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 0x4163b5
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 - 0x424]
cmp eax, 0xffffffff
je 0x416446
lea eax, [esi + esi*8]
shl eax, 3
xor esi, esi
mov dword [ebp - 0x41c], eax
nop
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x41603c
mov ecx, dword [ebp - 0x48]
cmp ecx, 1
jl 0x41603c
cmp ecx, dword [edi + 0x40]
jg 0x41603c
lea eax, [ecx + ecx*8]
cmp dword [edx + eax*8 + 0xc], 0
je 0x41603c
cmp dword [edx + eax*8], 0x1c
jne 0x41603c
push ecx
mov ecx, edi
call fcn.00415ed0
mov ecx, dword [ebp - 0x41c]
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 - 0x424]
cmp eax, 0xffffffff
jne 0x416010
mov esi, dword [ebp - 0x420]
jmp 0x416446
cmp ecx, 0x19
jne 0x4160e3
mov eax, dword [edx + eax + 4]
push 0
push 0
push 0x1304
push eax
mov dword [ebp - 0x428], eax
call dword [ebp - 0x424]
test eax, eax
je 0x41634b
mov esi, 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 - 0x428]
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
call dword [ebp - 0x424]
test eax, eax
je 0x4160d3
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00415ed0
sub esi, 1
jne 0x416093
mov esi, dword [ebp - 0x420]
jmp 0x415fa6
cmp ecx, 3
jne 0x41611c
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0x1603
push dword [edx + eax + 4]
call dword [ebp - 0x424]
test eax, eax
je 0x41634b
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41634b
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
jmp 0x415fa6
cmp ecx, 0x26
jne 0x416167
push 0x3b0
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0046ce00
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 0x415fa6
cmp ecx, 0x23
je 0x416175
cmp ecx, 0x24
jne 0x416228
mov eax, dword [edx + eax + 0x44]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x416222
mov ecx, dword [eax]
cmp ecx, esi
jne 0x416190
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4161d0
cmp ecx, 1
jl 0x4161d0
cmp ecx, dword [edi + 0x40]
jg 0x4161d0
mov esi, dword [ebp - 0x418]
lea eax, [ecx + ecx*8]
cmp dword [esi + eax*8 + 0xc], 0
mov esi, dword [ebp - 0x420]
je 0x4161d0
mov edx, dword [ebp - 0x418]
push ecx
mov ecx, edi
mov dword [edx + eax*8 + 0x44], 0
call fcn.00415ed0
mov edx, dword [ebp - 0x428]
mov eax, dword [edi + 0x3c]
push 0x1c
push dword [ebp - 0x41c]
mov dword [edx + eax + 0x44], 0
call fcn.0046b8fe
mov ecx, dword [ebp - 0x414]
add esp, 8
cmp ecx, 0x1a
je 0x4163f0
cmp ecx, 0x16
je 0x4163f0
cmp ecx, 0x28
je 0x4163f0
cmp ecx, 0x10
jne 0x41634b
push esi
mov ecx, edi
call fcn.0041aac0
jmp 0x416446
mov eax, dword [ebp - 0x418]
cmp ecx, 0x25
jne 0x41624f
mov eax, dword [edx + eax + 0x44]
test eax, eax
je 0x41634b
mov ecx, dword [ebp - 0x418]
push 0x10
push eax
mov dword [edx + ecx + 0x44], 0
jmp 0x415f9e
cmp ecx, 0xc
jne 0x41625d
mov eax, dword [edx + eax + 0x44]
jmp 0x4162e3
cmp ecx, 0x1d
jne 0x4162b6
mov ecx, dword [ebp - 0x418]
lea eax, [esi + esi*8]
push 0
push 2
push 0x1108
push dword [ecx + eax*8 + 4]
call dword [ebp - 0x424]
test eax, eax
je 0x416289
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 - 0x424]
test eax, eax
je 0x41634b
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
jmp 0x415fa6
cmp ecx, 0x17
jne 0x4162f4
mov eax, dword [edx + eax + 0x44]
movzx ecx, ax
test eax, eax
je 0x41634b
mov eax, ecx
test eax, eax
je 0x4162d8
push eax
mov ecx, edi
call fcn.00415ed0
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
movzx eax, word [eax + ecx*8 + 0x46]
test eax, eax
je 0x41634b
push eax
mov ecx, edi
call fcn.00415ed0
jmp 0x415fa6
cmp ecx, 0x22
jne 0x4161f1
mov eax, dword [edx + eax + 0x44]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x41634b
push 0x40e980
push 5
push 4
add eax, 4
mov dword [ebp - 4], 0
push eax
call fcn.0046b598
push 0x18
push dword [ebp - 0x41c]
mov dword [ebp - 4], 0xffffffff
call fcn.0046b8fe
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
mov dword [eax + ecx*8 + 0x44], 0
jmp 0x415fa3
mov edx, dword [ebp - 0x414]
lea ecx, [esi + esi*8]
shl ecx, 3
cmp edx, 0x11
jne 0x416371
mov eax, dword [edi + 0x3c]
push 0
push esi
push dword [eax + ecx + 8]
call dword [sym.imp.USER32.dll_RemoveMenu]
jmp 0x416446
cmp edx, 0x1c
jne 0x415fb2
mov eax, dword [edi + 0x3c]
push 0
push esi
push 0x419
push dword [eax + ecx + 4]
call dword [ebp - 0x424]
cmp eax, 0xffffffff
je 0x416446
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 - 0x424]
jmp 0x416446
mov eax, dword [eax + 4]
test eax, eax
je 0x416446
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 0x416446
push esi
mov ecx, edi
call fcn.0041aac0
jmp 0x416446
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 0x416436
mov eax, dword [ecx]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x41642d
mov esi, eax
push dword [ecx + esi*4]
mov ecx, edi
call fcn.00415ed0
mov ecx, dword [ebp - 0x418]
sub esi, 1
jne 0x416412
mov esi, dword [ebp - 0x420]
push ecx
call fcn.0046b303
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 0x416463
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 0x416474
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 0x4164a7
mov eax, dword [ebp - 0x414]
cmp eax, 0xb
jne 0x416496
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4164a7
cmp eax, 0x13
je 0x4164a0
cmp eax, 0x1c
jne 0x4164a7
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.0046ce00
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 0x4164f2
test edx, edx
je 0x4164f2
mov eax, dword [edi + 0x3c]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*8]
add eax, 0xc
cmp dword [eax], 0
jne 0x4164f2
dec edx
sub eax, 0x48
mov dword [edi + 0x40], edx
test edx, edx
jne 0x4164e2
mov eax, dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp - 0x42c], eax
mov eax, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [ebp - 0x438], eax
mov eax, dword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [ebp - 0x43c], eax
mov eax, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov dword [ebp - 0x430], eax
mov eax, dword [sym.imp.USER32.dll_IsDialogMessageW]
mov dword [ebp - 0x434], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x428], eax
jmp 0x416548
mov ecx, dword [ebp - 0x414]
mov esi, dword [edi + 0x1c0]
test esi, esi
je 0x41691b
cmp byte [esi + 0x38], 0
lea eax, [esi + 0x38]
jne 0x416908
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 0x41691b
mov eax, dword [esi + 0x18]
cmp eax, 0xcae
jne 0x416606
mov dword [esi], 0xfffffffa
mov byte [esi + 0x39], 1
cmp eax, 0x100
jne 0x41689c
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x41689c
mov eax, 0xd
cmp ax, word [esi + 0x1c]
jne 0x41689c
mov ecx, dword [esi + 0x14]
xor eax, eax
mov dword [ebp - 0x418], ecx
test ecx, ecx
jne 0x416808
xor edx, edx
jmp 0x416872
mov ecx, dword [ebp - 0x414]
test eax, eax
je 0x416548
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x4165c1
cmp eax, 0xcb1
jne 0x4165c1
mov edx, dword [ecx + 0x3c]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x418], eax
test edx, edx
je 0x416542
cmp eax, 1
jl 0x416542
cmp eax, dword [ecx + 0x40]
jg 0x416542
lea eax, [eax + eax*8]
cmp dword [edx + eax*8 + 0xc], 0
je 0x416542
mov edx, dword [esi + 0x20]
cmp edx, 0x205
jne 0x416693
mov eax, dword [ecx + 0x1c0]
mov edx, dword [esi + 0x14]
test eax, eax
je 0x416542
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xffffffea
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 8], 0x205
jmp 0x4167d4
cmp edx, 0x203
jne 0x4166cd
mov eax, dword [ecx + 0x1c0]
mov edx, dword [esi + 0x14]
test eax, eax
je 0x416542
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xfffffff2
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 8], 0x203
jmp 0x4167d4
cmp edx, 0x202
jne 0x4166ee
push 0
push 0
push dword [esi + 0x14]
push edx
mov edx, dword [ebp - 0x418]
push edx
call fcn.0041ad60
jmp 0x416542
cmp edx, 0x402
jne 0x416728
mov eax, dword [ecx + 0x1c0]
mov edx, dword [esi + 0x14]
test eax, eax
je 0x416542
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xffffff35
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 8], 0x402
jmp 0x4167d4
cmp edx, 0x403
je 0x41679f
cmp edx, 0x404
je 0x41679f
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x420], eax
mov eax, dword [ecx + 0x1c0]
cmp edx, 0x405
jne 0x416777
test eax, eax
je 0x416542
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xffffff34
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x420]
jmp 0x4167d4
test eax, eax
je 0x416542
mov dword [eax + 0x30], ecx
mov eax, dword [ecx + 0x1c0]
mov dword [eax], 0xffffff36
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x420]
jmp 0x4167d4
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x41c], eax
mov eax, dword [ecx + 0x1c0]
test eax, eax
je 0x416542
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 edx, dword [ebp - 0x41c]
mov eax, dword [ecx + 0x1c0]
mov dword [eax + 4], edx
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 0x416542
push 0xfffffffffffffff4
push ecx
call dword [ebp - 0x428]
mov edx, eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x41686e
cmp edx, 1
jl 0x41686e
cmp edx, dword [eax + 0x40]
jg 0x41686e
lea eax, [edx + edx*8]
cmp dword [ecx + eax*8 + 0xc], 0
lea ecx, [ecx + eax*8]
je 0x41686e
mov eax, dword [ebp - 0x418]
cmp dword [ecx + 4], eax
jne 0x41686e
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x41686a
cmp edx, dword [eax + 0x40]
jg 0x41686a
lea eax, [edx + edx*8]
cmp dword [ecx + eax*8 + 0xc], 0
je 0x41686a
mov eax, dword [ecx + eax*8]
cmp eax, 0x23
je 0x41687c
cmp eax, 0x24
jne 0x416872
jmp 0x41687c
xor eax, eax
jmp 0x416872
xor edx, edx
mov eax, edx
cmp eax, 0x22
je 0x41687c
cmp eax, 0x25
jne 0x41689c
mov ecx, dword [esi + 0x14]
push ecx
movzx eax, dx
push eax
push 0x111
push ecx
call dword [ebp - 0x42c]
push eax
call dword [ebp - 0x424]
jmp 0x416542
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4168f1
lea ecx, [esi + 0x14]
test ecx, ecx
jne 0x4168ae
xor cl, cl
jmp 0x4168ed
mov edx, dword [eax + 0x244]
add eax, 0x230
mov dword [ebp - 0x41c], eax
test edx, edx
je 0x4168df
push ecx
push edx
push dword [eax]
call dword [ebp - 0x430]
test eax, eax
setne cl
test eax, eax
jne 0x4168ed
mov eax, dword [ebp - 0x41c]
lea ecx, [esi + 0x14]
push ecx
push dword [eax]
call dword [ebp - 0x434]
test eax, eax
setne cl
test cl, cl
jne 0x416905
lea eax, [esi + 0x14]
push eax
call dword [ebp - 0x438]
lea eax, [esi + 0x14]
push eax
call dword [ebp - 0x43c]
lea eax, [esi + 0x38]
xor cl, cl
mov byte [eax], cl
cmp dword [esi], 0
mov ecx, dword [ebp - 0x414]
jne 0x416548
mov al, 1
jmp 0x416921
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.0046b2f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4