Function at 0x100a7580
Capabilities:
Create process on windows
Get common file path
Self delete
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a95c5
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x101c7258
push 1
lea eax, [ebp - 0x444]
push eax
call fcn.100e14d0
add esp, 8
mov dword [ebp - 0x4d0], eax
mov ecx, dword [ebp - 0x4d0]
mov dword [ebp - 0x4d4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x4d4]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.10090bb0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x444]
call fcn.10005e00
push str.tbhelperU.dll
push 1
lea ecx, [ebp - 0x448]
push ecx
call fcn.100e14d0
add esp, 8
mov dword [ebp - 0x4d8], eax
mov edx, dword [ebp - 0x4d8]
mov dword [ebp - 0x4dc], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.10090bb0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x448]
call fcn.10005e00
push str.del__F__Q___s__r_ndel__F__Q___s__r_ndel__F__Q___s__r_nrmdir___s__r_ndel__F__Q___s__r_n
lea ecx, [ebp - 0x224]
call fcn.10005d80
mov byte [ebp - 4], 6
mov dx, word [0x101c732c]
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.1016f6c0
add esp, 0xc
mov cx, word [0x101c7330]
mov word [ebp - 0x434], cx
push 0x206
push 0
lea edx, [ebp - 0x432]
push edx
call fcn.1016f6c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
lea edx, [ebp - 0x21c]
push edx
call fcn.101752a0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x434]
push ecx
call fcn.10170f0e
add esp, 0xc
push 0x5c
lea edx, [ebp - 0x434]
push edx
call fcn.100aa650
add esp, 8
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
je 0x100a7716
xor eax, eax
mov ecx, dword [ebp - 0x438]
mov word [ecx], ax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0xffffffff
je 0x100a782f
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x43c]
call fcn.10005d40
mov byte [ebp - 4], 7
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x434]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.100043a0
push eax
lea ecx, [ebp - 0x220]
call fcn.100043a0
push eax
lea ecx, [ebp - 0x224]
call fcn.10004390
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.10005660
add esp, 0x1c
push 0
lea ecx, [ebp - 0x440]
push ecx
lea ecx, [ebp - 0x43c]
call fcn.10005e60
push eax
lea ecx, [ebp - 0x43c]
call fcn.100043a0
push eax
lea ecx, [ebp - 0x4cc]
call fcn.100abdf0
mov dword [ebp - 0x4e0], eax
mov ecx, dword [ebp - 0x4e0]
call fcn.100abe50
push eax
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x4cc]
call fcn.100abe20
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0x101c7334
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x43c]
call fcn.10005e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x224]
call fcn.10005e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.10005e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret