Function at 0x14000b4b0
Capabilities:
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..data]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r8d, 0x1000
lea rdx, str.TEMPonefile_PID_TIME
lea rcx, [0x140043550]
call fcn.14000a600
test al, al
je 0x14000bb02
mov edx, 1
lea rcx, [0x14000b150]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000bb0f
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 [0x140049d58], rax
mov qword [0x140049d50], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [0x140031530], rax
mov rax, qword [0x140049d50]
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x50], cx
mov qword [0x140049d50], rax
cmp cl, 0x4b
jne 0x14000bafc
cmp byte [rsp + 0x51], 0x41
jne 0x14000bafc
cmp dl, 0x59
jne 0x14000bafc
mov qword [rsp + 0x2a0], r15
mov ecx, 0x20000
xor r15d, r15d
mov qword [0x140031538], r15
call fcn.1400137b0
mov qword [0x140049d60], rax
test rax, rax
je 0x14000bb23
movups xmm0, xmmword [0x14002b830]
mov ecx, 0x274b8
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x14002b840]
movsd qword [rsp + 0x60], xmm0
call fcn.1400137b0
mov rbx, rax
test rax, rax
je 0x14000bb1c
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.1400052b0
mov rax, qword [0x140049d50]
lea r13, [0x140045550]
mov qword [0x140031538], rax
lea r12, [0x140041550]
mov rax, qword [0x140031530]
mov qword [0x140031540], rax
mov qword [0x140030d20], rbx
mov qword [0x140031548], r15
mov byte [0x140030d28], 1
nop
mov edx, 2
lea rcx, [rsp + 0x50]
mov rbx, r13
call fcn.14000ac60
movzx eax, word [rsp + 0x50]
mov word [0x140045550], ax
test ax, ax
je 0x14000b8aa
nop word [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000ac60
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000b6b0
cmp word [0x140045550], r15w
je 0x14000b8aa
cmp word [0x140043550], r15w
mov edx, 0x1000
mov word [0x140041550], r15w
mov rcx, r12
je 0x14000b722
lea r8, [0x140043550]
sub r8, r12
cmp rdx, 1
jb 0x14000bb35
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r15w
jne 0x14000b702
mov word [rcx], r15w
mov rax, r12
cmp word [0x140041550], r15w
mov ecx, 0x1000
je 0x14000b757
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000b740
cmp rcx, 1
jb 0x14000bb35
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140041550], r15w
mov rax, r12
je 0x14000b77d
nop
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x14000b770
mov r8, r13
sub r8, rax
cmp rdx, 1
jb 0x14000bb35
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r15w
jne 0x14000b783
cmp word [0x140030d30], r15w
mov word [rax], r15w
jne 0x14000b7f5
cmp word [0x140041550], r15w
lea rdx, [0x140030d30]
mov r8d, 0x1000
mov rcx, r12
je 0x14000b7f1
nop dword [rax + rax]
cmp r8, 1
jb 0x14000bb35
movzx eax, word [rcx]
dec r8
add rcx, 2
mov word [rdx], ax
add rdx, 2
cmp word [rcx], r15w
jne 0x14000b7d0
mov word [rdx], r15w
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000ac60
mov rcx, r12
call fcn.14000af00
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 0x14000bb2f
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14000b89c
nop word [rax + rax]
mov ebx, 0x8000
lea rcx, [0x14004bd90]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.14000ac60
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov r8d, ebx
mov qword [rsp + 0x20], r15
lea rdx, [0x14004bd90]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000bb29
sub rdi, rsi
jne 0x14000b850
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b680
call fcn.140005440
mov rcx, qword [0x140049d60]
call fcn.140013770
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, 0x80
lea r8, [0x14002a7fc]
mov r9d, eax
lea rcx, [rbp + 0x10]
mov edx, edi
call fcn.140001060
movzx eax, byte [rbp + 0x10]
lea rsi, [rbp + 0x10]
mov word [rbp + 0x90], r15w
lea rbx, [rbp + 0x90]
test al, al
je 0x14000b975
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x50], al
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x51], r15b
lea rcx, [rsp + 0x60]
call fcn.140010520
cmp rax, 1
jne 0x14000bb49
mov rax, rdi
mov rcx, rbx
cmp word [rbx], r15w
je 0x14000b94d
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], r15w
jne 0x14000b940
cmp rax, 1
jb 0x14000bb49
movzx eax, word [rsp + 0x60]
inc rsi
mov word [rcx], ax
add rbx, 2
dec rdi
mov word [rcx + 2], r15w
movzx eax, byte [rsi]
test al, al
jne 0x14000b900
lea rdx, [rbp + 0x90]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000a3d0
call fcn.14000a4d0
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000a3d0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov ecx, 0xfffffff6
mov dword [rbp - 0x24], pe_nt_image_headers64
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp], rax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [rbp - 8], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp], rax
mov dword [rbp - 0x60], 0x68
call fcn.14000b180
mov rdx, rax
lea rcx, [0x140030d30]
lea rax, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
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], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000bb3b
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
mov qword [0x140030d18], rcx
mov dword [rsp + 0x54], r15d
test rcx, rcx
je 0x14000baa3
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140030d18]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000ba8f
mov dword [rsp + 0x54], 1
mov rcx, qword [0x140030d18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140030d18], r15
call fcn.14000b010
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.14000bb60
add rsp, 0x2c0
pop rbp
ret
call fcn.14000aba0
int3
lea rcx, str.TEMPonefile_PID_TIME
call fcn.14000ac30
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000ab20
int3
mov qword [0x140030d20], r15
call fcn.14000abc0
int3
call fcn.14000ab60
int3
call fcn.14000ac00
int3
call fcn.1400101dc
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000abe0
int3
call fcn.1400101dc
int3