Function at 0x435876
Capabilities:
Inspect load icon resource

Disassembly:
push 0x3d4
mov eax, 0x564b24
call fcn.0053da79
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.00435642
test eax, eax
je 0x435a92
mov edi, 0x3bc
push edi
lea eax, [ebp - 0x3d0]
push 0
push eax
call fcn.00539100
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.0043a21e
call fcn.0043a21e
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 0x435931
mov ebx, 0x5990a0
push ebx
lea ecx, [ebp - 0x3dc]
call fcn.0040235d
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x3dc]
mov eax, dword [eax - 0xc]
mov edi, 0xff
test eax, eax
jne 0x435997
cmp dword [ebp - 0x3d4], eax
je 0x43597e
push dword [ebp - 0x3d4]
call fcn.00538bc9
pop ecx
cmp eax, edi
jb 0x43597e
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x3dc]
call fcn.00402337
jmp 0x435997
mov esi, str.___t
push esi
call fcn.00538bc9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3dc]
call fcn.004023c0
mov eax, dword [ebp - 0x3dc]
mov eax, dword [eax - 0xc]
cmp eax, edi
jb 0x4359dd
push 0xfe
lea eax, [ebp - 0x3d8]
push eax
lea ecx, [ebp - 0x3dc]
call fcn.0040a558
push eax
lea ecx, [ebp - 0x3dc]
mov byte [ebp - 4], 1
call fcn.0040248f
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
call fcn.00402722
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 0x435a6b
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x3d4]
call fcn.0040235d
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3d4]
cmp dword [eax - 0xc], 0x3f
jb 0x435a4e
push 0x3e
lea eax, [ebp - 0x3d8]
push eax
lea ecx, [ebp - 0x3d4]
call fcn.0040a558
push eax
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 3
call fcn.0040248f
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x3d4]
lea eax, [ebp - 0xac]
push eax
call esi
mov ecx, dword [ebp - 0x3d4]
add ecx, 0xfffffff0
call fcn.00402722
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.00402722
xor eax, eax
call fcn.0053dafc
ret 8
and dword [esi + 0x2c], 0
cmp dword [esi + 0x34], 0
je 0x435a88
mov dword [esi + 0x2c], 0x10
mov dword [esi + 0x340], 0xbb8
mov dword [esi + 0x3c4], 1
test ebx, ebx
jne 0x435ac0
mov ebx, 0x5990a0
push ebx
lea ecx, [ebp - 0x3d8]
call fcn.0040235d
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x3d8]
cmp dword [eax - 0xc], 0xff
jb 0x435b1b
push 0xfe
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x3d8]
call fcn.0040a558
push eax
lea ecx, [ebp - 0x3d8]
mov byte [ebp - 4], 5
call fcn.0040248f
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3dc]
add ecx, 0xfffffff0
call fcn.00402722
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 0x435ba9
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x3d4]
call fcn.0040235d
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x3d4]
cmp dword [eax - 0xc], 0x3f
jb 0x435b8c
push 0x3e
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x3d4]
call fcn.0040a558
push eax
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 7
call fcn.0040248f
mov ecx, dword [ebp - 0x3e0]
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x3d4]
lea eax, [esi + 0x344]
push eax
call edi
mov ecx, dword [ebp - 0x3d4]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x3d8]
add ecx, 0xfffffff0
call fcn.00402722
add esi, 0x20
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
jmp 0x435a8a