Function at 0x523dc0
Capabilities:
Inspect load icon resource

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 0x579bdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x98
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
push edi
push 0
mov edi, ecx
mov dword [ebp - 0x78], 0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x7c], 0x30
mov dword [ebp - 0x74], 0x5246d0
call esi
sub esp, 0x18
mov dword [ebp - 0x68], eax
mov ecx, esp
push 0x5bc1c0
call fcn.0042c2f0
lea ecx, [ebp - 0x18]
call fcn.00442a50
add esp, 0x18
lea edx, [ebp - 0xa4]
mov ecx, dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x523e55
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x523e81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x67
lea eax, [ebp - 0xa4]
push 0
mov dword [ebp - 0x54], eax
call esi
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x524137
call fcn.0042c860
mov ecx, eax
test ecx, ecx
je 0x524295
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.bnBtYnNhcg
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0042cad0
test al, al
jne 0x523ef0
push 0xc
push str.bnBtYnNhcg
lea ecx, [ebp - 0x18]
call fcn.0042cdf0
mov dword [ebp - 4], 1
call fcn.0042c860
mov ecx, eax
test ecx, ecx
je 0x52429f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
push 0x5943bc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0042cad0
test al, al
jne 0x523f37
push 0x14
push 0x5943bc
lea ecx, [ebp - 0x28]
call fcn.0042cdf0
mov byte [ebp - 4], 3
call fcn.0042c860
mov ecx, eax
test ecx, ecx
je 0x5242a9
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x58b2f0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0042cad0
test al, al
jne 0x523f7b
push 0
push 0x58b2f0
lea ecx, [ebp - 0x24]
call fcn.0042cdf0
mov byte [ebp - 4], 5
call fcn.0042c860
mov ecx, eax
test ecx, ecx
je 0x5242b3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push 0x58b2f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0042cad0
test al, al
jne 0x523fbf
push 0
push 0x58b2f0
lea ecx, [ebp - 0x20]
call fcn.0042cdf0
mov byte [ebp - 4], 7
call fcn.0042c860
mov ecx, eax
test ecx, ecx
je 0x5242bd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x58b2f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0042cad0
test al, al
jne 0x524003
push 0
push 0x58b2f0
lea ecx, [ebp - 0x1c]
call fcn.0042cdf0
push ecx
mov byte [ebp - 4], 9
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.0042c200
add eax, 0x10
lea ecx, [ebp - 0x34]
mov dword [esi], eax
call fcn.00442cb0
mov edi, eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0042c200
add eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [esi], eax
call fcn.00442cb0
add esp, 4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0x20]
mov edx, edi
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.004538a0
mov edx, dword [ebp - 0x30]
or esi, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x52408c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5240a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5240c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5240da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5240f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x52410b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x524282
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push str.TkEeP25uHlFybXBjHkdhbWw
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
call fcn.0042b390
push 0
mov dword [ebp - 4], 0xc
call esi
sub esp, 0x18
mov esi, eax
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.0042c2f0
lea ecx, [ebp - 0x14]
call fcn.00442a50
add esp, 0x18
push 0
push esi
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
push dword [eax]
lea eax, [ebp - 0xa4]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x3c0], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x5241cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x3c0], 0
je 0x52424c
push 0x6b
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x308
lea ecx, [edi + 0x18]
mov esi, eax
push 0
push ecx
call fcn.00548d40
add esp, 0xc
lea ecx, [edi + 0x324]
push 0x98
push 0
push ecx
call fcn.00548d40
mov eax, dword [edi + 0x3c0]
add esp, 0xc
mov dword [edi], 0x3bc
mov dword [edi + 4], eax
mov dword [edi + 8], 0x6b
push edi
push 0
mov dword [edi + 0xc], 7
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], 0x432
mov dword [edi + 0x320], 4
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x524282
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x524278
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5242c7
push ecx
push edx
call fcn.00546e91
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.0042cdd0
push 0x80004005
call fcn.0042cdd0
push 0x80004005
call fcn.0042cdd0
push 0x80004005
call fcn.0042cdd0
push 0x80004005
call fcn.0042cdd0
call fcn.0054be7f
int3