Function at 0x411740
Capabilities:
Set registry value

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 0x4e8055
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xe70
push esi
mov esi, ecx
mov ecx, 0x524e73
push edi
call fcn.004e6414
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
sub ecx, 0x10
call fcn.00408b90
lea edi, [eax + 0x10]
mov dword [ebp - 0x54], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push 0x40
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0xf
call fcn.00403440
movups xmm0, xmmword [0x511320]
mov ecx, eax
mov dword [ebp - 0x40], 0x34
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x3c], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x511330]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x511340]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x511350]
mov dword [ecx + 0x30], eax
mov byte [ecx + 0x34], 0
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.GptChrome
call fcn.00408580
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
push ecx
cmovae eax, dword [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00408410
mov ecx, reloc.WS2_32.dll_bind
mov byte [ebp - 4], 1
call fcn.004061f0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x58], esp
push str.GptChrome
call fcn.00408580
mov byte [ebp - 4], 3
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
push ecx
cmovae eax, dword [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00408410
mov ecx, reloc.WS2_32.dll_accept
mov byte [ebp - 4], 1
call fcn.004061f0
push 0x400
lea eax, [ebp - 0x680]
push 0
push eax
call fcn.004bc490
add esp, 0x14
lea eax, [ebp - 0xa80]
push 0x400
push 0
push eax
call fcn.004bc490
add esp, 0xc
push 0x400
lea eax, [ebp - 0xe80]
push 0
push eax
call fcn.004bc490
add esp, 0xc
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x28]
push 0x50fad0
call fcn.004079d0
add esp, 4
push str.GptBrowser.exe
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.004079d0
add esp, 4
push str.uninstall.exe
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.004079d0
add esp, 4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x680]
push dword [ebp - 0x38]
push 0x511388
push eax
call fcn.0040e260
add esp, 0xc
lea eax, [ebp - 0xa80]
push edi
push 0x511388
push eax
call fcn.0040e260
add esp, 0xc
lea eax, [ebp - 0xe80]
push dword [ebp - 0x34]
push str.__s___uninsgpt
push eax
call fcn.0040e260
add esp, 0xc
lea ecx, [ebp - 0x24]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
call fcn.00408580
push 9
push str.GptChrome
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00408e20
push 0x208
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.004bc490
add esp, 0xc
lea eax, [ebp - 0x280]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408580
mov byte [ebp - 4], 8
push 0x5c
push dword [ebp - 0x1c]
call fcn.004bc029
mov ecx, dword [ebp - 0x1c]
mov edx, eax
add esp, 8
test edx, edx
jne 0x4119ad
or edx, 0xffffffff
jmp 0x4119b1
sub edx, ecx
sar edx, 1
mov eax, dword [ecx - 0xc]
lea ecx, [ebp - 0x1c]
sub eax, edx
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407df0
mov byte [ebp - 4], 9
mov esi, reloc.WS2_32.dll_accept
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
mov eax, reloc.WS2_32.dll_bind
cmovne esi, eax
lea eax, [ebp - 0x74]
push eax
call fcn.0040ec90
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x4119f2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.00408410
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x411a33
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411a29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411d45
push ecx
push edx
call fcn.004b8e2a
add esp, 8
push str.109.0.5414.155
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.00408410
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x20106
push 0
push 0
push 0
push dword [ebp - 0x24]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [ebp - 0x2c]
test eax, eax
jne 0x411c02
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x680]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x411c02
push str.GPT_Chrome
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push str.GPT_Chrome
push 1
push 0
push str.DisplayName
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x411c02
lea eax, [ebp - 0xa80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0xa80]
push eax
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x411c02
push str.Guangxi_Yuehai_Yinghua_Network_Technology_Co.__Ltd.
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push str.Guangxi_Yuehai_Yinghua_Network_Technology_Co.__Ltd.
push 1
push 0
push str.Publisher
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x411c02
lea eax, [ebp - 0xe80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0xe80]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x411c02
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.PackageName
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x411c02
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x20]
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x411c02
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push str.InstallDate
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x411c02
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x11], 1
jmp 0x411c06
mov byte [ebp - 0x11], 0
mov edx, dword [ebp - 0x20]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411c21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411c3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411c56
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 0x411c70
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 0x411c8a
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 0x411ca4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411cbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411cd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x411d08
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411cfe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411d4a
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov dword [ebp - 0x40], 0
add edi, 0xfffffff0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x411d2f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004c05a0
call fcn.004c05a0
int3