Function at 0x100b3e1
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
xor ebx, ebx
push 0xf0000000
push 1
push ebx
push ebx
push 0x101061c
mov esi, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 2], 1
mov byte [ebp - 1], 1
mov byte [ebp - 3], bl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x100b429
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100b434
mov ecx, esi
call fcn.010098ef
test al, al
jne 0x100b43b
xor al, al
jmp 0x100b728
mov eax, dword [esi + 4]
cmp byte [eax + 0x3ff6], bl
push edi
je 0x100b4eb
add eax, 0x3624
push eax
push ebx
call fcn.0100dc41
lea eax, [esi + 0x20]
push eax
call fcn.0100d5ec
push 0x1000
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [esi + 0x1c], eax
jne 0x100b479
xor al, al
jmp 0x100b727
push 0x10000000
lea eax, [ebp - 8]
lea edi, [esi + 0x3c]
push eax
mov dword [esi + 0x38], ebx
mov dword [edi], ebx
call fcn.0100d7fc
test eax, eax
je 0x100b472
push ebx
push dword [ebp - 8]
lea eax, [esi + 0x38]
push edi
push eax
call fcn.0100dd45
test al, al
jne 0x100b4b6
cmp dword [ebp - 8], ebx
je 0x100b472
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x100b472
mov eax, dword [esi + 4]
cmp byte [eax + 0x1710], bl
jne 0x100b4e7
push ebx
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [edi]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0xc], 0xd
mov byte [ebp - 0xb], 0xa
mov byte [ebp - 0xa], 0xd
mov byte [ebp - 9], 0xa
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [edi]
jmp 0x100b4f1
mov eax, dword [eax + 0x3624]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 1
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x10]
push eax
call edi
push eax
push dword [ebp - 0xc]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x100b522
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x3624]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [eax + 0x3620]
lea eax, [ebp - 0x74]
push eax
call fcn.0100d365
push dword [esi + 0x40]
push 0x10105f0
call fcn.0100d25d
mov eax, dword [0x10105f0]
cmp eax, ebx
je 0x100b588
push 0x10014e8
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
pop ecx
test eax, eax
mov eax, dword [0x10105f0]
pop ecx
je 0x100b57d
mov ecx, 0x1002128
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jne 0x100b58f
push eax
mov ecx, esi
call fcn.0100a33b
jmp 0x100b58f
cmp eax, ebx
je 0x100b588
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, esi
call fcn.0100a2af
mov eax, dword [esi + 4]
lea edi, [esi + 0xc]
mov dword [edi], ebx
cmp byte [eax + 0x3fe4], bl
je 0x100b5bf
mov ecx, dword [0x10105e0]
cmp ecx, ebx
je 0x100b5bf
push ebx
push dword [eax + 0x4008]
push edi
call ecx
test eax, eax
jne 0x100b5bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], ebx
cmp dword [edi], ebx
mov ecx, esi
je 0x100b5cc
call fcn.0100af7c
jmp 0x100b5d1
call fcn.0100b25a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.0100a0d8
mov eax, dword [esi + 4]
push dword [eax + 0x4008]
call fcn.01009440
test eax, eax
jne 0x100b5fa
mov byte [ebp - 1], bl
jmp 0x100b6b9
mov eax, dword [esi + 4]
push dword [eax + 0x4008]
call fcn.0100970a
mov eax, dword [esi + 4]
push dword [eax + 0x4008]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x100b5f2
push ebx
push ebx
mov byte [ebp - 3], 1
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
jmp 0x100b659
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x10b
jne 0x100b72c
cmp byte [ebp - 2], bl
je 0x100b72c
push dword [0x10105f0]
mov byte [ebp - 2], bl
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, esi
call fcn.0100a2af
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esi + 4]
push ebx
push dword [edi]
push 0xc00
push 1
push ebx
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [eax + 0x4008]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x100b629
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x1c], 0x103
jne 0x100b5f2
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.0100dc41
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.0100dc41
mov eax, dword [esi + 4]
add eax, 0x3624
push eax
push ebx
call fcn.0100dc41
cmp byte [ebp - 3], bl
je 0x100b6f7
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x100b6f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xc0001772
push 1
call fcn.0100d50f
mov byte [ebp - 1], bl
cmp dword [ebp - 8], ebx
je 0x100b706
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [0x10105f0]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x14]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov al, byte [ebp - 1]
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
push eax
push 0xc0000fd3
push 1
call fcn.0100d50f
mov byte [ebp - 1], bl
jmp 0x100b6b0