Function at 0x435556
Capabilities:
Inspect load icon resource

Disassembly:
push 0x3d4
mov eax, 0x5648a7
call fcn.0053d749
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3d4], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x3d8], eax
call fcn.00435322
test eax, eax
je 0x435772
mov edi, 0x3bc
push edi
lea eax, [ebp - 0x3d0]
push 0
push eax
call fcn.00538860
mov eax, dword [esi + 0x28]
add esp, 0xc
mov dword [ebp - 0x3d0], edi
mov dword [ebp - 0x3c8], eax
mov dword [ebp - 0x3c4], 0x10
mov dword [ebp - 0x2c], 0x24
call fcn.00439ede
call fcn.00439ede
movzx ecx, word [ebp - 0x3d8]
mov eax, dword [eax + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x3cc], eax
mov eax, dword [esi + 0x138]
mov dword [ebp - 0x2b8], eax
mov eax, dword [esi + 0x13c]
mov dword [ebp - 0x2b4], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x3c0], eax
test ebx, ebx
jne 0x435611
mov ebx, 0x599168
push ebx
lea ecx, [ebp - 0x3dc]
call fcn.0040266d
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x3dc]
mov eax, dword [eax - 0xc]
mov edi, 0xff
test eax, eax
jne 0x435677
cmp dword [ebp - 0x3d4], eax
je 0x43565e
push dword [ebp - 0x3d4]
call fcn.0053894e
pop ecx
cmp eax, edi
jb 0x43565e
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x3dc]
call fcn.00402647
jmp 0x435677
mov esi, str.___t
push esi
call fcn.0053894e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3dc]
call fcn.004026d0
mov eax, dword [ebp - 0x3dc]
mov eax, dword [eax - 0xc]
cmp eax, edi
jb 0x4356bd
push 0xfe
lea eax, [ebp - 0x3d8]
push eax
lea ecx, [ebp - 0x3dc]
call fcn.0040a89f
push eax
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 1
call fcn.0040279f
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
call fcn.00402a50
push dword [ebp - 0x3dc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x2b0]
push eax
call esi
cmp dword [ebp - 0x3d4], 0
je 0x43574b
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x3d4]
call fcn.0040266d
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3d4]
cmp dword [eax - 0xc], 0x3f
jb 0x43572e
push 0x3e
lea eax, [ebp - 0x3d8]
push eax
lea ecx, [ebp - 0x3d4]
call fcn.0040a89f
push eax
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 3
call fcn.0040279f
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
call fcn.00402a50
push dword [ebp - 0x3d4]
lea eax, [ebp - 0xac]
push eax
call esi
mov ecx, dword [ebp - 0x3d4]
add ecx, 0xfffffff0
call fcn.00402a50
lea eax, [ebp - 0x3d0]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 0x3dc]
add ecx, 0xfffffff0
call fcn.00402a50
xor eax, eax
call fcn.0053d7cc
ret 8
and dword [esi + 0x2c], 0
cmp dword [esi + 0x34], 0
je 0x435768
mov dword [esi + 0x2c], 0x10
mov dword [esi + 0x340], 0xbb8
mov dword [esi + 0x3c4], 1
test ebx, ebx
jne 0x4357a0
mov ebx, 0x599168
push ebx
lea ecx, [ebp - 0x3d8]
call fcn.0040266d
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x3d8]
cmp dword [eax - 0xc], 0xff
jb 0x4357fb
push 0xfe
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x3d8]
call fcn.0040a89f
push eax
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 5
call fcn.0040279f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3dc]
add ecx, 0xfffffff0
call fcn.00402a50
push dword [ebp - 0x3d8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi + 0x140]
push eax
call edi
cmp dword [ebp - 0x3d4], 0
je 0x435889
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x3d4]
call fcn.0040266d
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x3d4]
cmp dword [eax - 0xc], 0x3f
jb 0x43586c
push 0x3e
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x3d4]
call fcn.0040a89f
push eax
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 7
call fcn.0040279f
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xfffffff0
call fcn.00402a50
push dword [ebp - 0x3d4]
lea eax, [esi + 0x344]
push eax
call edi
mov ecx, dword [ebp - 0x3d4]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
call fcn.00402a50
add esi, 0x20
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
jmp 0x43576a