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

Disassembly:
push rbp
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
call fcn.14001084c
call fcn.140010854
mov r8d, 0x1000
lea rdx, str.TEMPMIGI
lea rcx, [0x140032610]
call fcn.14000a9e0
test al, al
je 0x14000bbc9
mov edx, 1
mov qword [rsp + 0x308], rsi
lea rcx, [0x14000b3f0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000bbd6
mov edx, 0x1b
mov qword [rsp + 0x300], 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 [0x140042e40], rax
mov qword [0x140032608], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [0x140031de8], rax
mov rax, qword [0x140032608]
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x50], cx
mov qword [0x140032608], rax
cmp cl, 0x4b
jne 0x14000bbc3
cmp byte [rsp + 0x51], 0x41
jne 0x14000bbc3
cmp dl, 0x59
jne 0x14000bbc3
mov qword [rsp + 0x2e8], r12
mov ecx, 0x20000
xor r12d, r12d
mov qword [0x1400325f0], r12
call fcn.140013884
mov qword [0x140038e20], rax
test rax, rax
je 0x14000bbea
movups xmm0, xmmword [0x14002c6c0]
mov ecx, 0x274b8
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x14002c6d0]
movsd qword [rsp + 0x60], xmm0
call fcn.140013884
mov rbx, rax
test rax, rax
je 0x14000bbe3
movaps xmm0, xmmword [rsp + 0x70]
mov rcx, rax
movups xmmword [rax + 0x73a0], xmm0
mov qword [rsp + 0x310], rdi
movsd xmm0, qword [rsp + 0x60]
mov qword [rsp + 0x2e0], r13
mov qword [rsp + 0x2d8], r14
movsd qword [rax + 0x73b0], xmm0
mov qword [rsp + 0x2d0], r15
call fcn.1400052a0
mov rax, qword [0x140032608]
lea r13, [0x140040e40]
mov qword [0x1400325f0], rax
mov r15d, 0x80
mov rax, qword [0x140031de8]
mov qword [0x1400325f8], rax
mov qword [0x140031de0], rbx
mov qword [0x140032600], r12
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [0x140034610]
call fcn.14000aff0
movzx eax, word [rsp + 0x50]
mov word [0x140034610], ax
test ax, ax
je 0x14000b9ba
nop dword [rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000aff0
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000b650
cmp word [0x140034610], r12w
je 0x14000b9ba
cmp word [0x140032610], r12w
mov edx, 0x1000
mov word [0x140040e40], r12w
mov rcx, r13
je 0x14000b6c2
lea r8, [0x140032610]
sub r8, r13
cmp rdx, 1
jb 0x14000bbfc
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r12w
jne 0x14000b6a2
mov word [rcx], r12w
mov rax, r13
cmp word [0x140040e40], r12w
mov ecx, 0x1000
je 0x14000b6f7
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000b6e0
cmp rcx, 1
jb 0x14000bbfc
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140040e40], r12w
mov rax, r13
je 0x14000b71d
nop
add rax, 2
dec rdx
cmp word [rax], r12w
jne 0x14000b710
lea r8, [0x140034610]
sub r8, rax
nop word [rax + rax]
cmp rdx, 1
jb 0x14000bbfc
movzx ecx, word [rax + r8]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [rax + r8], r12w
jne 0x14000b730
cmp word [0x140031df0], r12w
mov word [rax], r12w
jne 0x14000b7a5
cmp word [0x140040e40], r12w
lea rdx, [0x140031df0]
mov r8d, 0x1000
mov rcx, r13
je 0x14000b7a1
nop dword [rax + rax]
cmp r8, 1
jb 0x14000bbfc
movzx eax, word [rcx]
dec r8
add rcx, 2
mov word [rdx], ax
add rdx, 2
cmp word [rcx], r12w
jne 0x14000b780
mov word [rdx], r12w
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000aff0
mov edx, 4
lea rcx, [rsp + 0x58]
call fcn.14000aff0
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r15d
mov edx, 0x80000000
mov rcx, r13
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000b808
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x70]
jmp 0x14000b8ba
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x14000b83b
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 0x14000b8ba
xor r9d, r9d
mov eax, eax
mov qword [rsp + 0x28], r12
xor edx, edx
mov rcx, rdi
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x20], r12d
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
jne 0x14000b87c
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 0x14000b8ba
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x14000b8b8
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 0x14000b8ba
xor bl, bl
test bl, bl
je 0x14000b8c3
mov ebx, r12d
jmp 0x14000b8f6
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 0x14000b905
mov r14, 0xffffffffffffffff
jmp 0x14000b941
mov rcx, r13
call fcn.14000b290
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov edx, 0x40000000
mov rcx, r13
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000bbf6
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14000b9a2
nop dword [rax + rax]
mov edi, 0x8000
lea rcx, [0x140038e40]
cmp rbx, rdi
cmovbe edi, ebx
movsxd rsi, edi
mov rdx, rsi
call fcn.14000aff0
cmp r14, 0xffffffffffffffff
je 0x14000b99d
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r12d
mov r8d, edi
mov qword [rsp + 0x20], r12
lea rdx, [0x140038e40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000bbf0
sub rbx, rsi
jne 0x14000b950
cmp r14, 0xffffffffffffffff
je 0x14000b621
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b621
call fcn.140005430
mov rcx, qword [0x140038e20]
call fcn.140013844
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x1400296b4]
mov rdx, r15
mov r9d, eax
lea rcx, [rbp + 0x40]
call fcn.140001060
movzx edx, byte [rbp + 0x40]
lea rdi, [rbp + 0x40]
mov word [rbp + 0xc0], r12w
lea rbx, [rbp + 0xc0]
test dl, dl
je 0x14000ba72
mov rcx, r15
mov rax, rbx
cmp word [rbx], r12w
je 0x14000ba1d
nop
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000ba10
cmp rcx, 1
jb 0x14000bc10
mov byte [rsp + 0x50], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x51], r12b
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], r12w
lea rcx, [rcx + 1]
jne 0x14000ba40
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x50]
call fcn.1400105e0
movzx edx, byte [rdi + 1]
inc rdi
add rbx, 2
dec r15
test dl, dl
jne 0x14000ba02
lea rdx, [rbp + 0xc0]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000a7c0
call fcn.14000a8b0
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000a7c0
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, [0x140031df0]
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], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000bc02
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x50]
mov qword [0x140031dd8], rcx
mov dword [rsp + 0x54], r12d
test rcx, rcx
je 0x14000bb6a
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140031dd8]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000bb56
mov eax, 1
mov dword [rsp + 0x54], eax
mov rcx, qword [0x140031dd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140031dd8], r12
call fcn.14000b3a0
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x2d8]
mov r13, qword [rsp + 0x2e0]
mov rdi, qword [rsp + 0x310]
mov r15, qword [rsp + 0x2d0]
mov r12, qword [rsp + 0x2e8]
mov rbx, qword [rsp + 0x300]
mov rsi, qword [rsp + 0x308]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14000bc30
add rsp, 0x2f0
pop rbp
ret
call fcn.14000af30
int3
lea rcx, str.TEMPMIGI
call fcn.14000afc0
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000aeb0
int3
mov qword [0x140031de0], r12
call fcn.14000af50
int3
call fcn.14000aef0
int3
call fcn.14000af90
int3
call fcn.1400102a4
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000af70
int3
call fcn.1400102a4
int3