Function at 0x7ff754e7b160
Capabilities:
Accept command line arguments
Create process on windows
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [section._________1]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r8d, 0x1000
lea rdx, [0x7ff754e9a8c0]
lea rcx, [0x7ff754ea3610]
call fcn.7ff754e7a5f0
test al, al
je 0x7ff754e7b778
mov edx, 1
lea rcx, [0x7ff754e7b130]
call qword [sym.imp.kernel32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x7ff754e7b785
mov edx, 0x1b
mov qword [rsp + 0x2d0], rbx
xor ecx, ecx
lea r8d, [rdx - 0x11]
call qword [sym.imp.kernel32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.kernel32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.kernel32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov qword [0x7ff754ea9e38], rax
mov qword [0x7ff754ea9e18], rax
call qword [sym.imp.kernel32.dll_SizeofResource]
mov eax, eax
mov qword [0x7ff754ea15f0], rax
mov rax, qword [0x7ff754ea9e18]
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x50], cx
mov qword [0x7ff754ea9e18], rax
cmp cl, 0x4b
jne 0x7ff754e7b772
cmp byte [rsp + 0x51], 0x41
jne 0x7ff754e7b772
cmp dl, 0x59
jne 0x7ff754e7b772
mov qword [rsp + 0x2a0], r15
mov ecx, 0x20000
xor r15d, r15d
mov qword [0x7ff754ea15f8], r15
call fcn.7ff754e833f4
mov qword [0x7ff754ea9e20], rax
test rax, rax
je 0x7ff754e7b799
movups xmm0, xmmword [0x7ff754e9b6f0]
mov ecx, 0x274b8
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x7ff754e9b700]
movsd qword [rsp + 0x60], xmm0
call fcn.7ff754e833f4
mov rbx, rax
test rax, rax
je 0x7ff754e7b792
movaps xmm0, xmmword [rsp + 0x70]
mov rcx, rax
mov qword [rsp + 0x2d8], rsi
movups xmmword [rax + 0x73a0], xmm0
mov qword [rsp + 0x2e0], rdi
movsd xmm0, qword [rsp + 0x60]
mov qword [rsp + 0x2b8], r12
mov qword [rsp + 0x2b0], r13
movsd qword [rax + 0x73b0], xmm0
mov qword [rsp + 0x2a8], r14
call fcn.7ff754e752b0
mov rax, qword [0x7ff754ea9e18]
lea r13, [0x7ff754ea5610]
mov qword [0x7ff754ea15f8], rax
lea r12, [0x7ff754ea1610]
mov rax, qword [0x7ff754ea15f0]
mov qword [0x7ff754ea1600], rax
mov qword [0x7ff754ea0de0], rbx
mov qword [0x7ff754ea1608], r15
mov byte [0x7ff754ea0de8], 1
nop
mov edx, 2
lea rcx, [rsp + 0x50]
mov rbx, r13
call fcn.7ff754e7ac40
movzx eax, word [rsp + 0x50]
mov word [0x7ff754ea5610], ax
test ax, ax
je 0x7ff754e7b55a
nop word [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.7ff754e7ac40
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x7ff754e7b360
cmp word [0x7ff754ea5610], r15w
je 0x7ff754e7b55a
cmp word [0x7ff754ea3610], r15w
mov edx, 0x1000
mov word [0x7ff754ea1610], r15w
mov rcx, r12
je 0x7ff754e7b3d2
lea r8, [0x7ff754ea3610]
sub r8, r12
cmp rdx, 1
jb 0x7ff754e7b7ab
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x7ff754e7b3b2
mov word [rcx], r15w
mov rax, r12
cmp word [0x7ff754ea1610], r15w
mov ecx, 0x1000
je 0x7ff754e7b407
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x7ff754e7b3f0
cmp rcx, 1
jb 0x7ff754e7b7ab
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x7ff754ea1610], r15w
mov rax, r12
je 0x7ff754e7b42d
nop
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x7ff754e7b420
mov r8, r13
sub r8, rax
cmp rdx, 1
jb 0x7ff754e7b7ab
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r15w
jne 0x7ff754e7b433
cmp word [0x7ff754ea0df0], r15w
mov word [rax], r15w
jne 0x7ff754e7b4a5
cmp word [0x7ff754ea1610], r15w
lea rdx, [0x7ff754ea0df0]
mov r8d, 0x1000
mov rcx, r12
je 0x7ff754e7b4a1
nop dword [rax + rax]
cmp r8, 1
jb 0x7ff754e7b7ab
movzx eax, word [rcx]
dec r8
add rcx, 2
mov word [rdx], ax
add rdx, 2
cmp word [rcx], r15w
jne 0x7ff754e7b480
mov word [rdx], r15w
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.7ff754e7ac40
mov rcx, r12
call fcn.7ff754e7aee0
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov edx, 0x40000000
mov rcx, r12
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.kernel32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x7ff754e7b7a5
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x7ff754e7b54c
nop word [rax + rax]
mov ebx, 0x8000
lea rcx, [0x7ff754ea9e40]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.7ff754e7ac40
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov r8d, ebx
mov qword [rsp + 0x20], r15
lea rdx, [0x7ff754ea9e40]
mov rcx, r14
call qword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x7ff754e7b79f
sub rdi, rsi
jne 0x7ff754e7b500
mov rcx, r14
call qword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x7ff754e7b330
call fcn.7ff754e75440
mov rcx, qword [0x7ff754ea9e20]
call fcn.7ff754e833b4
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov edi, 0x80
lea r8, [0x7ff754e9a6c4]
mov r9d, eax
lea rcx, [rbp + 0x10]
mov edx, edi
call fcn.7ff754e71060
movzx edx, byte [rbp + 0x10]
lea rsi, [rbp + 0x10]
mov word [rbp + 0x90], r15w
lea rbx, [rbp + 0x90]
test dl, dl
je 0x7ff754e7b622
nop word [rax + rax]
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r15w
je 0x7ff754e7b5cd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x7ff754e7b5c0
cmp rcx, 1
jb 0x7ff754e7b7bf
mov byte [rsp + 0x50], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x51], r15b
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], r15w
lea rcx, [rcx + 1]
jne 0x7ff754e7b5f0
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x50]
call fcn.7ff754e80150
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x7ff754e7b5b0
lea rdx, [rbp + 0x90]
lea rcx, [0x7ff754e9a930]
call fcn.7ff754e7a3d0
call fcn.7ff754e7a4c0
mov rdx, rax
lea rcx, [0x7ff754e9a950]
call fcn.7ff754e7a3d0
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x68
xor eax, eax
movups xmmword [rbp - 0x5c], xmm0
mov dword [rbp + 4], eax
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
call qword [sym.imp.kernel32.dll_GetCommandLineW]
xor r9d, r9d
lea rcx, [0x7ff754ea0df0]
mov rdx, rax
xor r8d, r8d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r15d
call qword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x7ff754e7b7b1
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
mov qword [0x7ff754ea0dd8], rcx
mov dword [rsp + 0x54], r15d
test rcx, rcx
je 0x7ff754e7b719
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov rcx, qword [0x7ff754ea0dd8]
lea rdx, [rsp + 0x54]
call qword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
jne 0x7ff754e7b705
mov dword [rsp + 0x54], 1
mov rcx, qword [0x7ff754ea0dd8]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [0x7ff754ea0dd8], r15
call fcn.7ff754e7aff0
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x2a8]
mov r13, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2b8]
mov rdi, qword [rsp + 0x2e0]
mov rsi, qword [rsp + 0x2d8]
mov r15, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0x2d0]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.7ff754e7b7e0
add rsp, 0x2c0
pop rbp
ret
call fcn.7ff754e7ab80
int3
lea rcx, [0x7ff754e9a8c0]
call fcn.7ff754e7ac10
int3
lea rcx, [0x7ff754e9a8f8]
call fcn.7ff754e7ab00
int3
mov qword [0x7ff754ea0de0], r15
call fcn.7ff754e7aba0
int3
call fcn.7ff754e7ab40
int3
call fcn.7ff754e7abe0
int3
call fcn.7ff754e7fe14
int3
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
call fcn.7ff754e7abc0
int3
call fcn.7ff754e7fe14
int3