Function at 0x14000c4d0
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 - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140030008]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
call fcn.140011414
call fcn.14001141c
mov r8d, 0x1000
lea rdx, str.jira_estima_watch_tempdir
lea rcx, [0x14003d340]
call fcn.14000b990
test al, al
je 0x14000cc16
mov edx, 1
mov qword [rsp + 0x2b8], r14
lea rcx, [0x14000bfe0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000cc23
mov edx, 0x1b
mov qword [rsp + 0x2e0], 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 [0x140034ae8], rax
mov qword [0x140034af0], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [0x140034af8], rax
mov rax, qword [0x140034af0]
movzx ecx, word [rax]
movzx edx, byte [rax + 2]
add rax, 3
mov word [rsp + 0x50], cx
mov qword [0x140034af0], rax
cmp cl, 0x4b
jne 0x14000cc10
cmp byte [rsp + 0x51], 0x41
jne 0x14000cc10
cmp dl, 0x59
jne 0x14000cc10
mov qword [rsp + 0x2b0], r15
mov ecx, 0x20000
xor r15d, r15d
mov qword [0x140034b08], r15
call fcn.140010d00
mov qword [0x140034b20], rax
test rax, rax
je 0x14000cc60
call fcn.140005b60
mov qword [0x140034b00], rax
test rax, rax
je 0x14000cc60
mov rax, qword [0x140034af0]
mov qword [rsp + 0x2e8], rsi
mov qword [rsp + 0x2f0], rdi
mov qword [rsp + 0x2c8], r12
mov r12d, 0x80
mov qword [0x140034b08], rax
mov rax, qword [0x140034af8]
mov qword [rsp + 0x2c0], r13
lea r13, [0x140041b40]
mov qword [0x140034b10], rax
mov qword [0x140034b18], r15
nop dword [rax]
mov edx, 2
lea rcx, [rsp + 0x50]
lea rsi, [0x140041340]
lea rbx, [0x140034b40]
call fcn.14000c0b0
movzx eax, word [rsp + 0x50]
mov word [0x140034b40], ax
test ax, ax
je 0x14000c9fa
mov edx, 2
lea rcx, [rsp + 0x50]
lea rbx, [rbx + 2]
call fcn.14000c0b0
movzx eax, word [rsp + 0x50]
mov word [rbx], ax
test ax, ax
jne 0x14000c692
cmp word [0x140034b40], r15w
je 0x14000c9fa
cmp word [0x14003d340], r15w
mov edx, 0x1000
mov word [0x140041b40], r15w
mov rcx, r13
je 0x14000c704
lea r8, [0x14003d340]
sub r8, r13
cmp rdx, 1
jb 0x14000cc3f
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r15w
jne 0x14000c6e4
mov word [rcx], r15w
mov rax, r13
cmp word [0x140041b40], r15w
mov ecx, 0x1000
je 0x14000c737
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000c720
cmp rcx, 1
jb 0x14000cc3f
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140041b40], r15w
mov rax, r13
je 0x14000c75d
nop
add rax, 2
dec rdx
cmp word [rax], r15w
jne 0x14000c750
lea r8, [0x140034b40]
sub r8, rax
nop word [rax + rax]
cmp rdx, 1
jb 0x14000cc3f
movzx ecx, word [rax + r8]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [rax + r8], r15w
jne 0x14000c770
cmp word [0x140041340], r15w
mov word [rax], r15w
jne 0x14000c7da
cmp word [0x140041b40], r15w
mov edx, 0x1000
mov rcx, rsi
je 0x14000c7d6
mov r8, r13
sub r8, rsi
cmp rdx, 1
jb 0x14000cc3f
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r15w
jne 0x14000c7b6
mov word [rcx], r15w
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14000c0b0
mov edx, 4
lea rcx, [rsp + 0x58]
call fcn.14000c0b0
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r12d
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 0x14000c83e
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rbp - 0x70]
mov r14, qword [rsp + 0x78]
jmp 0x14000c8f5
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x14000c875
mov qword [rbp - 0x78], 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 - 0x70]
mov r14, qword [rsp + 0x78]
jmp 0x14000c8f5
xor r9d, r9d
mov eax, eax
mov qword [rsp + 0x28], r15
xor edx, edx
mov rcx, rdi
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x20], r15d
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
jne 0x14000c8b7
mov bl, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x78]
jmp 0x14000c8f5
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 0x14000c8f3
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 0x14000c8f5
xor bl, bl
test bl, bl
je 0x14000c8fe
mov ebx, r15d
jmp 0x14000c933
mov r8d, dword [rbp - 0x78]
mov rdx, r14
xor ecx, ecx
call fcn.14000b260
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 0x14000c942
mov rsi, 0xffffffffffffffff
jmp 0x14000c97e
mov rcx, r13
call fcn.14000b710
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov edx, 0x40000000
mov rcx, r13
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000cc36
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14000c9e2
nop dword [rax + rax]
mov edi, 0x8000
lea rcx, [0x140035340]
cmp rbx, rdi
cmovbe edi, ebx
movsxd r14, edi
mov rdx, r14
call fcn.14000c0b0
cmp rsi, 0xffffffffffffffff
je 0x14000c9dd
lea r9, [rsp + 0x5c]
mov dword [rsp + 0x5c], r15d
mov r8d, edi
mov qword [rsp + 0x20], r15
lea rdx, [0x140035340]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000cc30
sub rbx, r14
jne 0x14000c990
cmp rsi, 0xffffffffffffffff
je 0x14000c660
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000c660
mov rcx, qword [0x140034b00]
call fcn.14000a1d0
mov rcx, qword [0x140034b20]
call fcn.140010cec
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140024958]
mov rdx, r12
mov r9d, eax
lea rcx, [rbp + 0x20]
call fcn.14000c470
movzx edx, byte [rbp + 0x20]
lea rdi, [rbp + 0x20]
mov word [rbp + 0xa0], r15w
lea rbx, [rbp + 0xa0]
test dl, dl
je 0x14000cac2
nop dword [rax]
mov rcx, r12
mov rax, rbx
cmp word [rbx], r15w
je 0x14000ca6d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x14000ca60
cmp rcx, 1
jb 0x14000cc5a
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 0x14000ca90
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x50]
call fcn.140011350
movzx edx, byte [rdi + 1]
inc rdi
add rbx, 2
dec r12
test dl, dl
jne 0x14000ca50
lea rdx, [rbp + 0xa0]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000c390
xor ecx, ecx
call fcn.14000bf60
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000c390
xorps xmm0, xmm0
mov dword [rbp - 0x50], 0x68
xor eax, eax
movups xmmword [rbp - 0x4c], xmm0
mov dword [rbp + 0x14], eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
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 0x14000cc45
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
mov qword [0x140030ac0], rcx
mov dword [rsp + 0x54], r15d
test rcx, rcx
je 0x14000cbbd
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140030ac0]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000cba4
mov eax, 1
mov dword [rsp + 0x54], eax
mov rcx, qword [0x140030ac0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140030ac0], r15
mov r15d, dword [rsp + 0x54]
mov rsi, qword [rsp + 0x2e8]
mov eax, r15d
mov r15, qword [rsp + 0x2b0]
mov r13, qword [rsp + 0x2c0]
mov r12, qword [rsp + 0x2c8]
mov rdi, qword [rsp + 0x2f0]
mov rbx, qword [rsp + 0x2e0]
mov r14, qword [rsp + 0x2b8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14000cd60
add rsp, 0x2d0
pop rbp
ret
call fcn.14000be30
int3
lea rcx, str.jira_estima_watch_tempdir
call fcn.14000be70
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000bde0
int3
call fcn.14000bed0
int3
mov rcx, r13
call fcn.14000bea0
int3
call fcn.14001101c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__couldnt_launch_child
call fcn.14000be20
int3
call fcn.14001101c
int3
call fcn.14000be50
int3