Function at 0x14000b310
Capabilities:
Accept command line arguments
Create process on windows
Extract resource via kernel32 functions
Get file size
Read file via mapping
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r8d, 0x1000
lea rdx, str.aegisflowget_cache
lea rcx, [0x140035610]
call fcn.14000a890
test al, al
je 0x14000b9da
mov edx, 1
mov qword [rsp + 0x210], rdi
lea rcx, [0x14000b2b0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000b9e7
mov edx, 0x1b
mov qword [rsp + 0x200], 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 [0x140039e28], rax
mov qword [0x140033608], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [0x140032de8], rax
mov rax, qword [0x140033608]
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x50], cx
mov qword [0x140033608], rax
cmp cl, 0x4b
jne 0x14000b9d4
cmp byte [rsp + 0x51], 0x41
jne 0x14000b9d4
cmp dl, 0x59
jne 0x14000b9d4
mov qword [rsp + 0x1d0], r15
mov ecx, 0x20000
xor r15d, r15d
mov qword [0x1400335f0], r15
call fcn.140013624
mov qword [0x140039e10], rax
test rax, rax
je 0x14000b9fb
movups xmm0, xmmword [0x14002d6e0]
mov ecx, 0x274b8
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x14002d6f0]
movsd qword [rsp + 0x60], xmm0
call fcn.140013624
mov rbx, rax
test rax, rax
je 0x14000b9f4
movaps xmm0, xmmword [rsp + 0x70]
mov rcx, rax
movups xmmword [rax + 0x73a0], xmm0
mov qword [rsp + 0x208], rsi
movsd xmm0, qword [rsp + 0x60]
mov qword [rsp + 0x1e8], r12
mov qword [rsp + 0x1e0], r13
movsd qword [rax + 0x73b0], xmm0
mov qword [rsp + 0x1d8], r14
call fcn.1400052a0
mov rax, qword [0x140033608]
lea r13, [0x140037610]
mov qword [0x1400335f0], rax
lea r12, [0x140033610]
mov rax, qword [0x140032de8]
mov qword [0x1400335f8], rax
mov qword [0x140032de0], rbx
mov qword [0x140033600], r15
nop dword [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
mov rbx, r13
call fcn.14000aeb0
movzx eax, word [rsp + 0x50]
mov word [0x140037610], ax
test ax, ax
je 0x14000b86a
nop word [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000aeb0
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000b510
cmp word [0x140037610], r15w
je 0x14000b86a
cmp word [0x140035610], r15w
mov edx, 0x1000
mov word [0x140033610], r15w
mov rcx, r12
je 0x14000b582
lea r8, [0x140035610]
sub r8, r12
cmp rdx, 1
jb 0x14000ba0d
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000b562
mov word [rcx], r15w
mov rax, r12
cmp word [0x140033610], r15w
mov ecx, 0x1000
je 0x14000b5b7
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000b5a0
cmp rcx, 1
jb 0x14000ba0d
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140033610], r15w
mov rax, r12
je 0x14000b5dd
nop
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x14000b5d0
mov r8, r13
sub r8, rax
cmp rdx, 1
jb 0x14000ba0d
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r15w
jne 0x14000b5e3
cmp word [0x140032df0], r15w
mov word [rax], r15w
jne 0x14000b655
cmp word [0x140033610], r15w
lea rdx, [0x140032df0]
mov r8d, 0x1000
mov rcx, r12
je 0x14000b651
nop dword [rax + rax]
cmp r8, 1
jb 0x14000ba0d
movzx eax, word [rcx]
dec r8
add rcx, 2
mov word [rdx], ax
add rdx, 2
cmp word [rcx], r15w
jne 0x14000b630
mov word [rdx], r15w
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000aeb0
mov edx, 4
lea rcx, [rsp + 0x58]
call fcn.14000aeb0
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r12
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000b6bb
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x70]
jmp 0x14000b76d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x14000b6ee
mov qword [rbp - 0x60], 0xffffffffffffffff
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x70]
jmp 0x14000b76d
xor r9d, r9d
mov eax, eax
mov qword [rsp + 0x28], r15
xor edx, edx
mov rcx, rdi
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x20], r15d
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
jne 0x14000b72f
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rbp - 0x70]
jmp 0x14000b76d
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x14000b76b
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b76d
xor bl, bl
test bl, bl
je 0x14000b776
mov ebx, r15d
jmp 0x14000b7a9
mov r8d, dword [rbp - 0x60]
mov rdx, r14
call fcn.14000a310
mov ebx, eax
test eax, eax
mov eax, 1
mov rcx, r14
cmove ebx, eax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x58], ebx
jne 0x14000b7b8
mov rsi, 0xffffffffffffffff
jmp 0x14000b7f4
mov rcx, r12
call fcn.14000b150
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 rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000ba07
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14000b852
nop
mov edi, 0x8000
lea rcx, [0x140039e30]
cmp rbx, rdi
cmovbe edi, ebx
movsxd r14, edi
mov rdx, r14
call fcn.14000aeb0
cmp rsi, 0xffffffffffffffff
je 0x14000b84d
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov r8d, edi
mov qword [rsp + 0x20], r15
lea rdx, [0x140039e30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000ba01
sub rbx, r14
jne 0x14000b800
cmp rsi, 0xffffffffffffffff
je 0x14000b4e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b4e0
call fcn.140005430
mov rcx, qword [0x140039e10]
call fcn.1400135e4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14002a760]
mov edx, 0x80
mov r9d, eax
lea rcx, [rbp + 0x40]
call fcn.140001060
lea rdx, [rbp + 0x40]
lea rcx, str.NUITKA_ONEFILE_PARENT
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xorps xmm0, xmm0
mov dword [rbp - 0x30], 0x68
xor eax, eax
movups xmmword [rbp - 0x2c], xmm0
mov dword [rbp + 0x34], eax
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
lea rcx, [0x140032df0]
mov rdx, rax
xor r8d, r8d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
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 0x14000ba13
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x50]
mov qword [0x140032dd8], rcx
mov dword [rsp + 0x54], r15d
test rcx, rcx
je 0x14000b97b
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140032dd8]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000b967
mov eax, 1
mov dword [rsp + 0x54], eax
mov rcx, qword [0x140032dd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140032dd8], r15
call fcn.14000b260
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x1d8]
mov r13, qword [rsp + 0x1e0]
mov r12, qword [rsp + 0x1e8]
mov rsi, qword [rsp + 0x208]
mov r15, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x200]
mov rdi, qword [rsp + 0x210]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14000ba40
add rsp, 0x1f0
pop rbp
ret
call fcn.14000adf0
int3
lea rcx, str.aegisflowget_cache
call fcn.14000ae80
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000ad70
int3
mov qword [0x140032de0], r15
call fcn.14000ae10
int3
call fcn.14000adb0
int3
call fcn.14000ae50
int3
call fcn.140010074
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000ae30
int3