Function at 0x413df0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f031c
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x532630]
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 edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], eax
jne 0x41424c
mov esi, dword [ebp + 0xc]
lea ecx, [edi + 0x24]
mov dword [ebp - 0x14], ecx
cmp esi, dword [ecx + 4]
jne 0x413e5d
push 0
call fcn.00412700
mov ecx, dword [ebp - 0x78]
mov eax, 1
mov dword [ecx], 0
jmp 0x41424e
cmp esi, 2
jne 0x413f13
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 - 0x78]
mov edx, dword [ebp - 0x7c]
mov dword [ecx], 0
cmp esi, 1
jne 0x413fca
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.00412700
push 0
push 0x6ddd00
push 0x304
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [0x537f70]
test ecx, ecx
jne 0x413f91
push 0x532030
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x537f70], 0
jne 0x413f80
push 0x20
call fcn.0049044a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x413f6a
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.00406530
jmp 0x413f6c
cmp esi, 0x22b8
jne 0x413e84
mov esi, ecx
lea eax, [ecx - 0x28]
neg esi
sbb esi, esi
and esi, eax
cmp edx, 0x200
jne 0x413f53
cmp byte [ecx + 0x410], 0
jne 0x413f4c
add ecx, 0x3d0
call fcn.00415ef0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x7c]
mov byte [ecx + 0x410], 0
push edx
mov ecx, esi
call fcn.00413990
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov eax, 1
jmp 0x41424e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x537f70], eax
push 0x532030
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x537f70]
push 0
call fcn.00406560
lea ecx, [edi - 4]
call fcn.00414920
push 1
lea ecx, [edi - 4]
call fcn.004144e0
mov eax, dword [ebp - 0x78]
mov dword [eax], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
je 0x41424c
mov eax, 1
jmp 0x41424e
cmp esi, 2
jne 0x413fe3
mov eax, dword [edi + 0x18]
push 0
mov dword [eax + 0x20], 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x413faa
cmp esi, 0x113
jne 0x41400a
cmp dword [ebp + 0x10], 0x304
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], 1
jne 0x413faa
push 0
call fcn.004d34cf
add esp, 4
jmp 0x413faa
cmp esi, 0x4a
jne 0x41414b
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], 1
test edx, edx
je 0x413faa
cmp dword [edx], 0x2716
jne 0x413faa
push dword [edx + 4]
xor eax, eax
mov dword [ebp - 0x1c], 0
push dword [edx + 8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00405920
push 0x30
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004c9f30
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
push eax
call fcn.0041bb80
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push 4
push 0x4f9524
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call fcn.00405920
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041c4e0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00404910
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0x4f97fc
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004d2360
add esp, 8
test eax, eax
jne 0x41412e
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004115b0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 5
push eax
call fcn.00417680
mov edx, dword [ebp - 0x7c]
add esp, 4
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41412e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x44]
call fcn.00404910
lea ecx, [ebp - 0x74]
call fcn.0041bcb0
lea ecx, [ebp - 0x2c]
call fcn.00404910
jmp 0x413faa
cmp esi, 0x42e
jne 0x41420b
cmp dword [edi + 0x4f4], 0
jne 0x4141fb
cmp dword [edi + 0x4f0], 0
jne 0x4141fb
push 0x328
call fcn.0049044a
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 6
test esi, esi
je 0x4141b4
push 0x328
push 0
push esi
call fcn.004c9f30
add esp, 0xc
lea eax, [edi + 0x4f4]
mov ecx, esi
push eax
lea eax, [edi - 4]
push eax
call fcn.00416050
mov ecx, eax
jmp 0x4141b6
xor ecx, ecx
movaps xmm0, xmmword [0x4f9a00]
push 0
sub esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, esp
mov dword [edi + 0x4f4], ecx
push 0x88
push SysReAllocString
push 0x4f97ac
push 0
movups xmmword [eax], xmm0
call fcn.00426490
mov ecx, dword [edi + 0x4f4]
mov dword [edi + 0x4f8], eax
call fcn.004269b0
mov eax, dword [ebp - 0x78]
mov dword [eax], 0
mov eax, 1
jmp 0x41424e
cmp esi, 0x465
jne 0x41424c
add edi, 0xfffffffc
push str..PIPE4C6B6BDC_A47D_6B44_E687_2CB6CE2F0F59
lea esi, [edi + 0x4c8]
mov ecx, esi
call fcn.004102e0
lea eax, [edi + 0x43c]
mov ecx, esi
neg edi
sbb edi, edi
and edi, eax
push edi
call fcn.00410e60
mov eax, dword [ebp - 0x78]
mov dword [eax], 0
mov eax, 1
jmp 0x41424e
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.00490730
mov esp, ebp
pop ebp
ret 0x18