Function at 0x41b710
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a8c5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5f0a00]
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
call fcn.004195f0
push str.XTrend_Speed
push dword [edi + 0x38c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x5f95b8]
push 0x8c
call fcn.0044c5d0
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
push esi
push 1
push 0x80
push dword [edi + 0x38c]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0x80
push dword [edi + 0x38c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [0x5f0130]
push 0x3c
mov dword [ebp - 0x34], esi
call fcn.00440020
add esp, 4
test eax, eax
je 0x41b7fe
mov dword [eax], 1
lea esi, [eax + 0xc]
mov dword [eax + 4], 0x17
xor ecx, ecx
mov dword [eax + 8], 0x17
mov word [eax + 0x3a], cx
movups xmm0, xmmword [str.C:Rynat_CapitalXTrend]
mov dword [ebp - 0x34], esi
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x59aba8]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [0x59abb8]
movq qword [esi + 0x20], xmm0
mov eax, dword [0x59abc0]
mov dword [esi + 0x28], eax
mov ax, word [0x59abc4]
mov word [esi + 0x2c], ax
mov ecx, dword [edi + 0x510]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x41b815
mov eax, dword [ecx]
push esi
call dword [eax + 0x44]
push 0xffffffffffffffff
lea ecx, [edi + 8]
push str.available_size
call fcn.00476780
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x41b842
mov eax, dword [ecx]
push str.text
mov eax, dword [eax + 4]
call eax
test eax, eax
je 0x41b842
mov eax, dword [ebp - 0x2c]
jmp 0x41b847
xor eax, eax
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41b8b7
mov eax, dword [eax]
sub esp, 0x18
mov edx, esp
mov ecx, esi
xorps xmm0, xmm0
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x38], eax
lea eax, [ecx + 2]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x30], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b874
sub ecx, dword [ebp - 0x30]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.0040b6c0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00419420
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 1
jbe 0x41b8a4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
push eax
call dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040bf90
mov eax, dword [edi + 0x504]
cmp eax, 1
jne 0x41b8f9
push 0xffffffffffffffff
push str.first_install
lea ecx, [edi + 8]
call fcn.00476780
mov dword [edi + 0x548], eax
test eax, eax
je 0x41b8e6
push 1
push 1
mov ecx, eax
call fcn.0047d250
mov ecx, dword [edi + 0x510]
test ecx, ecx
je 0x41b92c
push 1
call fcn.0048aba0
jmp 0x41b92c
cmp eax, 2
jne 0x41b906
mov ecx, dword [edi + 0x54c]
jmp 0x41b911
cmp eax, 3
jne 0x41b920
mov ecx, dword [edi + 0x558]
test ecx, ecx
je 0x41b92c
push 1
push 1
call fcn.0047d250
jmp 0x41b92c
cmp eax, 7
jne 0x41b92c
mov ecx, edi
call fcn.0041a6d0
push 0
push 0
push 0xf
push dword [edi + 0x38c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [edi + 0x380]
push 0
call fcn.00463b80
add esi, 0xfffffff4
mov dword [ebp - 4], 2
cmp esi, dword [0x5f012c]
je 0x41b972
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x41b972
push esi
call fcn.00408c50
add esp, 4
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.00551e44
mov esp, ebp
pop ebp
ret 8