Function at 0x41f660
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x290], eax
jne 0x41fe7e
mov esi, dword [ebp + 0xc]
lea ecx, [edi + 0x24]
mov dword [ebp - 0x21c], ecx
cmp esi, dword [ecx + 4]
jne 0x41f6e2
push 0
call fcn.0041da50
mov ecx, dword [ebp - 0x290]
mov eax, 1
mov dword [ecx], 0
jmp 0x41fe80
cmp esi, 2
jne 0x41f7a1
lea eax, [ecx + 8]
mov dword [ecx + 0x14], 7
push eax
push esi
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 0x290]
mov edx, dword [ebp - 0x28c]
mov dword [ecx], 0
cmp esi, 1
jne 0x41f890
mov eax, dword [edi + 0x18]
push 0x6c
push 0
mov dword [eax + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
lea ecx, [edi + 0x24]
call fcn.0041da50
push 0
push 0x6ddd00
push 0x304
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [0x55c94c]
test ecx, ecx
jne 0x41f82b
push 0x556064
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x55c94c], 0
jne 0x41f81a
push 0x20
call fcn.004a1ec4
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41f801
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.0040f370
jmp 0x41f803
cmp esi, 0x22b8
jne 0x41f70f
mov esi, ecx
lea eax, [ecx - 0x28]
neg esi
sbb esi, esi
and esi, eax
cmp edx, 0x200
jne 0x41f7e7
cmp byte [ecx + 0x410], 0
jne 0x41f7e0
add ecx, 0x3d0
call fcn.00421700
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x28c]
mov byte [ecx + 0x410], 0
push edx
mov ecx, esi
call fcn.0041f1b0
mov ecx, dword [ebp - 0x290]
mov dword [ecx], eax
mov eax, 1
jmp 0x41fe80
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x55c94c], eax
push 0x556064
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x55c94c]
push 0
call fcn.0040f430
call fcn.004175f0
mov ecx, eax
call fcn.00417700
call fcn.00410ff0
sub esp, 0x28
mov ecx, eax
mov edx, esp
push 0
push 0
push 1
push 0
push 0x519b34
mov dword [edx + 0x24], 0
call fcn.0042a020
push 0
lea ecx, [edi - 4]
call fcn.0041db20
mov eax, dword [ebp - 0x290]
mov dword [eax], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
je 0x41fe7e
mov eax, 1
jmp 0x41fe80
cmp esi, 2
jne 0x41f9ce
mov eax, dword [edi + 0x18]
push 0x302
mov dword [eax + 0x20], 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, dword [edi + 0x528]
test esi, esi
jne 0x41f958
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 8
mov dword [edi + 0x524], eax
call fcn.004a1ec4
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x41f945
push 0xc
call fcn.004a1ec4
add esp, 4
test eax, eax
je 0x41f912
mov ecx, dword [edi + 0x524]
mov dword [eax], ecx
mov dword [eax + 4], 4
mov dword [eax + 8], 0x41a290
jmp 0x41f914
xor eax, eax
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 2
push eax
push esi
call fcn.0041cea0
mov eax, dword [ebp - 0x28c]
add esp, 8
test eax, eax
je 0x41f947
push 0xc
push eax
call fcn.004a1bda
add esp, 8
jmp 0x41f947
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x528], esi
test esi, esi
je 0x41f9aa
push dword [edi + 0x524]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x528]
cmp dword [ecx + 4], 0
je 0x41f975
call fcn.004206a0
push dword [edi + 0x524]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x528]
test eax, eax
je 0x41f9a0
cmp dword [eax + 4], 0
jne 0x41fe9d
push 8
push eax
call fcn.004a1bda
add esp, 8
mov dword [edi + 0x528], 0
lea ecx, [edi + 0x4c4]
call fcn.00418e40
call fcn.004175f0
mov ecx, eax
call fcn.004179a0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x41f86d
cmp esi, 0x113
jne 0x41fbb8
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], 1
mov eax, dword [ebp - 0x224]
sub eax, 0x302
je 0x41fa59
sub eax, 2
jne 0x41f86d
push eax
call fcn.004ea1b3
add esp, 4
mov dword [ebp - 0x21c], eax
mov esi, edx
call fcn.0041dd50
mov ecx, eax
call fcn.0040d610
mov ecx, dword [ebp - 0x21c]
cdq
sub ecx, eax
sbb esi, edx
mov dword [ebp - 0x21c], esi
js 0x41f86d
jg 0x41fa3c
cmp ecx, 0x5265c00
jbe 0x41f86d
call fcn.0041dd50
mov ecx, eax
call fcn.0040d7d0
call fcn.0041dd50
mov ecx, eax
call fcn.0040d530
jmp 0x41f86d
lea eax, [ebp - 0x228]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x228], xmm0
call fcn.004262d0
push 0
call fcn.004ea1b3
add esp, 8
sub eax, dword [ebp - 0x228]
sbb edx, dword [ebp - 0x224]
test edx, edx
jg 0x41fafe
jl 0x41fa93
cmp eax, 0x15180
jae 0x41fafe
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e38d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00405290
add esp, 8
test eax, eax
jne 0x41f86d
mov dword [ebp - 0x28c], 1
jmp 0x41fb08
mov dword [ebp - 0x28c], 3
push 0x302
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 8
mov dword [edi + 0x524], eax
call fcn.004a1ec4
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 3
test esi, esi
je 0x41fbab
push 0xc
call fcn.004a1ec4
add esp, 4
test eax, eax
je 0x41fb6f
mov ecx, dword [edi + 0x524]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x28c]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x41a290
jmp 0x41fb71
xor eax, eax
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 4
push eax
push esi
call fcn.0041cea0
mov eax, dword [ebp - 0x28c]
add esp, 8
test eax, eax
je 0x41fbad
push 0xc
push eax
call fcn.004a1bda
add esp, 8
mov dword [edi + 0x528], esi
jmp 0x41f86d
xor esi, esi
mov dword [edi + 0x528], esi
jmp 0x41f86d
cmp esi, 0x4a
jne 0x41fd4c
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], 1
test edx, edx
je 0x41f86d
cmp dword [edx], 0x2716
jne 0x41f86d
push dword [edx + 4]
xor eax, eax
mov dword [ebp - 0x230], 0
push dword [edx + 8]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
call fcn.0040aed0
push 0x30
lea eax, [ebp - 0x288]
mov dword [ebp - 4], 5
push 0
push eax
call fcn.004e38d0
add esp, 0xc
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x288]
push eax
call fcn.0042d180
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
push 4
push 0x519274
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 7
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
call fcn.0040aed0
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x288]
call fcn.0042da30
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 7
call fcn.00407260
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
push 0x519afc
cmovae eax, dword [ebp - 0x258]
push eax
call fcn.004eab2e
add esp, 8
test eax, eax
jne 0x41fd26
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x28c]
cmovae eax, dword [ebp - 0x240]
push eax
call fcn.0040de10
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 9
push eax
call fcn.00426e50
mov edx, dword [ebp - 0x28c]
add esp, 4
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41fd26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x258]
call fcn.00407260
lea ecx, [ebp - 0x288]
call fcn.0042d2b0
lea ecx, [ebp - 0x240]
call fcn.00407260
jmp 0x41f86d
cmp esi, 0x42e
jne 0x41fe3a
cmp dword [edi + 0x55c], 0
jne 0x41fe27
cmp dword [edi + 0x558], 0
jne 0x41fe27
push 0x328
call fcn.004a1ec4
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 0xa
test esi, esi
je 0x41fdb6
push 0x328
push 0
push esi
call fcn.004e38d0
add esp, 0xc
lea eax, [edi + 0x55c]
mov ecx, esi
push eax
lea eax, [edi - 4]
push eax
call fcn.00421860
jmp 0x41fdb8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x55c], eax
call fcn.0041dd50
mov ecx, eax
call fcn.0040d630
mov ecx, dword [edi + 0x55c]
push eax
push dword [ebp - 0x28c]
push dword [ebp - 0x224]
call fcn.00421d50
movaps xmm0, xmmword [0x519d10]
mov ecx, dword [edi + 0x55c]
push 0
sub esp, 0x10
mov eax, esp
push 0x88
push SysReAllocStringLen
push 0x519ab8
push 0
movups xmmword [eax], xmm0
call fcn.004397f0
mov ecx, dword [edi + 0x55c]
mov dword [edi + 0x560], eax
call fcn.00439d10
mov eax, dword [ebp - 0x290]
mov dword [eax], 0
mov eax, 1
jmp 0x41fe80
cmp esi, 0x465
jne 0x41fe7e
add edi, 0xfffffffc
push str..PIPE4C6B6BDC_A47D_6B44_E687_2CB6CE2F0F59
lea esi, [edi + 0x530]
mov ecx, esi
call fcn.00415560
lea eax, [edi + 0x43c]
mov ecx, esi
neg edi
sbb edi, edi
and edi, eax
push edi
call fcn.00416140
mov eax, dword [ebp - 0x290]
mov dword [eax], 0
mov eax, 1
jmp 0x41fe80
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret 0x18
call fcn.004e9fed
int3