Function at 0x406750
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b69c6
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4e0214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x274], esi
mov word [ebp - 0x218], ax
call fcn.0047c5e0
add esp, 0xc
xor eax, eax
jmp 0x4067b0
movzx ecx, word [eax + str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_]
mov word [ebp + eax - 0x218], cx
add eax, 2
cmp cx, bx
jne 0x4067b0
mov eax, str.3uToolsV3_x86
cmp byte [esi], bl
jne 0x4067d5
mov eax, str.3uToolsV3_x64
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4067d7
lea edi, [ebp - 0x218]
sub eax, edx
add edi, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4067f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x270]
push edx
push 0xf023f
mov ecx, eax
push ebx
lea eax, [ebp - 0x218]
push eax
and ecx, 3
push reloc.OLEAUT32.dll_SysReAllocString
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406853
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp - 0x218]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp eax, ebx
je 0x406853
xor al, al
jmp 0x406b4c
mov edi, 7
xor eax, eax
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], ax
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 4], ebx
cmp byte [ecx], al
push 0xe
lea esi, [ebp - 0x26c]
mov eax, str.3uTools_32bit_
jne 0x40688c
mov eax, str.3uTools_64bit_
call fcn.00403870
xor edx, edx
push 0x2b
mov eax, str.Shenzhen_Aidapu_Network_Technology_Co._Ltd.
lea esi, [ebp - 0x250]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
call fcn.00403870
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x234], ax
push 0x12
mov eax, str.http:__www.3u.com_
lea esi, [ebp - 0x234]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
call fcn.00403870
mov edx, dword [ebp - 0x274]
mov esi, dword [edx + 0x34]
add edx, 0x20
cmp esi, 8
jb 0x4068f8
mov eax, dword [edx]
jmp 0x4068fa
mov eax, edx
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406900
sub eax, edi
sar eax, 1
cmp esi, 8
jb 0x406916
mov edx, dword [edx]
lea ecx, [eax + eax + 2]
push ecx
push edx
mov edx, dword [ebp - 0x270]
push 1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.DisplayIcon
push edx
call ebx
mov edx, dword [ebp - 0x258]
mov edi, dword [ebp - 0x26c]
mov eax, edi
cmp edx, 8
jae 0x40694c
lea eax, [ebp - 0x26c]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406950
sub eax, esi
sar eax, 1
mov ecx, edi
cmp edx, 8
jae 0x40696c
lea ecx, [ebp - 0x26c]
lea eax, [eax + eax + 2]
push eax
push ecx
mov ecx, dword [ebp - 0x270]
push 1
push 0
push str.DisplayName
push ecx
call ebx
mov ecx, dword [ebp - 0x274]
mov esi, dword [ecx + 0x6c]
add ecx, 0x58
cmp esi, 8
jb 0x406999
mov eax, dword [ecx]
jmp 0x40699b
mov eax, ecx
lea edi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4069a0
sub eax, edi
sar eax, 1
cmp esi, 8
jb 0x4069b6
mov ecx, dword [ecx]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x270]
push edx
push ecx
push 1
push 0
push str.DisplayVersion
push eax
call ebx
mov edx, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
mov eax, edi
cmp edx, 8
jae 0x4069e7
lea eax, [ebp - 0x250]
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4069f0
sub eax, esi
sar eax, 1
mov ecx, edi
cmp edx, 8
jae 0x406a0c
lea ecx, [ebp - 0x250]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x270]
push edx
push ecx
push 1
push 0
push str.Publisher
push eax
call ebx
mov ecx, dword [ebp - 0x274]
mov esi, dword [ecx + 0x50]
add ecx, 0x3c
cmp esi, 8
jb 0x406a39
mov eax, dword [ecx]
jmp 0x406a3b
mov eax, ecx
lea edi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x406a40
sub eax, edi
sar eax, 1
cmp esi, 8
jb 0x406a56
mov ecx, dword [ecx]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x270]
push edx
push ecx
push 1
push 0
push str.UninstallString
push eax
call ebx
mov edx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x234]
mov eax, edi
cmp edx, 8
jae 0x406a87
lea eax, [ebp - 0x234]
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406a90
sub eax, esi
mov esi, 8
sar eax, 1
mov ecx, edi
cmp edx, esi
jae 0x406ab0
lea ecx, [ebp - 0x234]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x270]
push edx
push ecx
push 1
xor edi, edi
push edi
push str.URLInfoAbout
push eax
call ebx
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], esi
jb 0x406aed
mov edx, dword [ebp - 0x234]
push edx
call fcn.004790ec
add esp, 4
xor eax, eax
mov ebx, 7
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
cmp dword [ebp - 0x23c], esi
jb 0x406b1e
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.004790ec
add esp, 4
xor edx, edx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], edi
mov word [ebp - 0x250], dx
cmp dword [ebp - 0x258], esi
jb 0x406b4a
mov eax, dword [ebp - 0x26c]
push eax
call fcn.004790ec
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004790f7
mov esp, ebp
pop ebp
ret