Function at 0x14000e590
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows
Extract resource via kernel32 functions
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea rsi, str.libgcc_s_dw2_1.dll
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140001670
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.__register_frame_info
mov rcx, rbx
mov qword [0x140025040], rax
call rdi
lea rdx, str.__deregister_frame_info
mov rcx, rbx
mov rsi, rax
call rdi
mov qword [section..data], rax
test rsi, rsi
je 0x140001653
lea rdx, [0x140025060]
lea rcx, [section..eh_fram]
call rsi
lea rcx, [0x140001690]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140001586
lea rax, [0x1400015d0]
lea rsi, [0x1400015c0]
mov qword [section..data], rax
jmp 0x140001643
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x358
movaps xmmword [rsp + 0x330], xmm6
movaps xmmword [rsp + 0x340], xmm7
lea rbx, str.TEMPonefile_PID_TIME
mov r8d, 0x1000
lea rcx, [0x140046120]
mov rdx, rbx
call fcn.140007540
test al, al
je 0x14000f91a
mov edx, 1
lea rcx, [0x140007e00]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000fa1f
mov r8d, 0xa
xor ecx, ecx
mov edx, 0x1b
mov r14, qword [sym.imp.KERNEL32.dll_FindResourceA]
call r14
xor ecx, ecx
mov rbp, qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rax
mov rbx, rax
call rbp
mov rdi, qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, rax
call rdi
xor ecx, ecx
mov rdx, rbx
mov r12, qword [sym.imp.KERNEL32.dll_SizeofResource]
mov qword [0x140046110], rax
call r12
mov esi, eax
mov rax, qword [0x140046110]
mov qword [0x140046108], rsi
cmp byte [rax + 1], 0x41
lea r15, [rax + 3]
movzx ecx, byte [rax + 2]
setne dl
cmp byte [rax], 0x4b
mov qword [0x140046110], r15
setne al
or dl, al
jne 0x14000fa13
cmp cl, 0x59
jne 0x14000fa13
mov qword [0x14004a130], 0
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
mov qword [0x14004a150], rax
test rax, rax
je 0x14000f92d
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
mov r8, rax
test rax, rax
je 0x14000f922
mov qword [rax + 0x73b0], 0
pxor xmm0, xmm0
mov qword [rax + 0x73c8], 0
mov qword [rax + 0x72d8], 0
mov qword [rax + 0x73ec], 0
mov qword [rax + 0x73f8], 0
mov qword [rax + 0x7400], 0
mov qword [rax + 0x7420], 0
mov dword [rax + 0x73f4], 0
mov qword [rax + 0x7440], 0
mov dword [rax + 0x7448], 0
mov dword [rax + 0x7454], 0
mov qword [rax + 0x274b0], 0
movups xmmword [rax + 0x73a0], xmm0
movups xmmword [rax + 0x73d8], xmm0
xor eax, eax
cpuid
xor ecx, ecx
cmp eax, 6
ja 0x14000f0a4
mov dword [r8 + 0x73d0], ecx
xor ecx, ecx
mov qword [r8 + 0x7410], 0x8000001
mov dword [r8 + 0x7458], 0
mov qword [r8 + 0x7388], 0
mov dword [r8 + 0x7390], 1
mov qword [0x14004a128], r8
mov qword [0x14004a130], r15
mov qword [0x14004a140], 0
mov qword [0x14004a138], rsi
call qword [sym.imp.ole32.dll_CoInitialize]
mov r8d, 0xa
mov edx, 0x1c
xor ecx, ecx
call r14
mov rbx, rax
test rax, rax
je 0x14000ed4a
mov rdx, rax
xor ecx, ecx
call r12
xor ecx, ecx
mov rdx, rbx
mov esi, eax
call rbp
mov rcx, rax
test rax, rax
je 0x14000ed4a
call rdi
mov rbx, rax
test rax, rax
je 0x14000ed4a
mov edi, esi
mov ecx, 2
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x14000ed4a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
test rax, rax
je 0x14000ed4a
mov rdx, rbx
mov r8, rdi
lea rbx, [rsp + 0x230]
call sub.msvcrt.dll_memcpy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r8, rbx
mov edx, 1
mov rcx, rsi
mov qword [rsp + 0x230], 0
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x14000f90c
mov r12, qword [rsp + 0x230]
test r12, r12
je 0x14000ed52
lea rsi, [rsp + 0x140]
xor edx, edx
mov qword [rsp + 0x140], 0
mov rcx, qword [0x14001fa70]
mov qword [rsp + 0x20], rsi
lea r9, [0x14001ed90]
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000f0c7
mov rcx, qword [rsp + 0x140]
mov r8d, 1
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14000f0c7
mov rcx, qword [rsp + 0x140]
lea rdi, [rsp + 0xf0]
mov dword [rsp + 0xf0], 0
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
js 0x14000f0c7
cmp dword [rsp + 0xf0], 1
jne 0x14000f0c7
mov rcx, qword [rsp + 0x140]
lea r14, [rsp + 0x1b0]
xor edx, edx
mov qword [rsp + 0x1b0], 0
mov r8, r14
mov rax, qword [rcx]
call qword [rax + 0x68]
test eax, eax
js 0x14000f0c7
mov rdx, qword [rsp + 0x1b0]
mov r8, rbx
mov rcx, qword [0x14001fa80]
mov qword [rsp + 0x230], 0
call sub.WindowsCodecs.dll_WICConvertBitmapSource
mov rcx, qword [rsp + 0x1b0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0x230]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
test rbp, rbp
je 0x14000ed52
mov rax, qword [rbp]
mov r8, rsi
mov rdx, rdi
mov rcx, rbp
mov dword [rsp + 0xf0], 0
mov dword [rsp + 0x140], 0
call qword [rax + 0x18]
test eax, eax
js 0x14000f0b8
mov eax, dword [rsp + 0xf0]
test eax, eax
je 0x14000f0b8
mov edx, dword [rsp + 0x140]
test edx, edx
je 0x14000f0b8
neg edx
movd xmm0, eax
pxor xmm6, xmm6
xor ecx, ecx
movd xmm3, edx
movaps xmmword [rsp + 0x240], xmm6
mov r15, qword [sym.imp.USER32.dll_GetDC]
punpckldq xmm0, xmm3
movups xmmword [rsp + 0x24c], xmm6
movq qword [rsp + 0x234], xmm0
mov dword [rsp + 0x230], 0x28
mov dword [rsp + 0x23c], 0x200001
call r15
xor r8d, r8d
mov rdx, rbx
mov r9, r14
mov rcx, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x1b0], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.GDI32.dll_CreateDIBSection]
xor ecx, ecx
mov rdx, qword [rsp + 0x68]
mov r12, rax
mov rax, qword [sym.imp.USER32.dll_ReleaseDC]
mov r13, rax
call rax
test r12, r12
je 0x14000f0b8
mov eax, dword [rsp + 0xf0]
mov rdx, qword [rsp + 0x1b0]
mov rcx, rbp
mov r9d, dword [rsp + 0x140]
lea r8d, [rax*4]
mov rax, qword [rbp]
mov qword [rsp + 0x20], rdx
xor edx, edx
imul r9d, r8d
call qword [rax + 0x38]
mov rcx, rbp
test eax, eax
mov rax, qword [rbp]
js 0x14000f0bf
call qword [rax + 0x10]
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov edx, 0x7f00
xor ecx, ecx
movaps xmmword [rsp + 0x230], xmm6
mov qword [rsp + 0x270], 0
mov qword [rsp + 0x238], rax
movaps xmmword [rsp + 0x240], xmm6
movaps xmmword [rsp + 0x250], xmm6
movaps xmmword [rsp + 0x260], xmm6
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rbx
mov qword [rsp + 0x258], rax
lea rax, str.Splash
mov qword [rsp + 0x270], rax
call qword [sym.imp.USER32.dll_RegisterClassA]
mov dword [rsp + 0x38], 0
xor r8d, r8d
mov rdx, qword [rsp + 0x270]
mov qword [rsp + 0x58], 0
mov r9d, 0x90000080
mov ecx, 0x80000
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rbp, rax
test rax, rax
je 0x14000fa2b
mov r8, rsi
mov rcx, r12
mov edx, 0x20
call qword [sym.imp.GDI32.dll_GetObjectA]
mov rax, qword [rsp + 0x144]
xor ecx, ecx
mov edx, 1
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0x98], rax
call qword [sym.imp.USER32.dll_MonitorFromPoint]
mov rdx, r14
mov dword [rsp + 0x1d4], 0
mov rcx, rax
movups xmmword [rsp + 0x1b4], xmm6
mov dword [rsp + 0x1b0], 0x28
movups xmmword [rsp + 0x1c4], xmm6
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
xor ecx, ecx
movq xmm0, qword [rsp + 0x98]
movq xmm2, qword [rsp + 0x1c4]
movdqa xmm1, xmm0
movq xmm0, qword [rsp + 0x1cc]
paddd xmm1, xmm2
psubd xmm0, xmm1
pxor xmm1, xmm1
pcmpgtd xmm1, xmm0
psubd xmm0, xmm1
psrad xmm0, 1
paddd xmm0, xmm2
movq qword [rsp + 0xa0], xmm0
call r15
mov r14, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, r12
mov r15, qword [sym.imp.GDI32.dll_SelectObject]
mov rsi, rax
mov rcx, rax
call r15
lea rcx, [rsp + 0x94]
mov qword [rsp + 0x20], rsi
mov rdx, r14
mov r12, rax
lea r8, [rsp + 0xa0]
lea r9, [rsp + 0x98]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x94], 0x1ff0000
mov rcx, rbp
mov dword [rsp + 0x40], 2
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rdi
call qword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov rdx, r12
mov rcx, rsi
call r15
mov rcx, rsi
lea rsi, [0x1400430e0]
call qword [sym.imp.GDI32.dll_DeleteDC]
xor ecx, ecx
mov rdx, r14
mov rax, r13
call rax
mov r8d, 0x1000
lea rdx, str.TEMPonefile_PID_splash_feedback.tmp
mov rcx, rsi
mov qword [0x1400430c0], rbp
call fcn.140007540
test al, al
je 0x14000ed52
xor r9d, r9d
mov r8d, 2
mov edx, 0x40000000
mov rcx, rsi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x1400450e0], 1
jmp 0x14000ed52
lea rbx, [rsp + 0x230]
mov byte [0x140046100], 1
movdqa xmm6, xmmword [0x14001f2f0]
movd xmm7, dword [0x14001f300]
mov rsi, qword [0x14004a158]
mov rdi, qword [0x14004a160]
lea r14, [0x140045900]
nop
xor r13d, r13d
mov r12, rbx
mov ebp, 2
nop dword [rax + rax]
mov r8, rsi
sub r8, rdi
jne 0x14000edfc
mov rcx, qword [0x14004a140]
mov rdx, qword [0x14004a138]
cmp rcx, rdx
setb al
or r13b, al
je 0x14000ee50
mov rcx, qword [0x14004a128]
movups xmmword [0x14004a158], xmm6
call fcn.14000d0b0
mov rsi, qword [0x14004a160]
cmp qword [0x14004a158], rsi
sete r13b
cmp rax, 0xffffffffffffff88
ja 0x14000ee59
xor edi, edi
mov r8, rsi
mov qword [0x14004a158], rsi
mov qword [0x14004a160], 0
sub r8, rdi
je 0x14000ed98
cmp r8, rbp
mov r15, r8
mov rdx, qword [0x14004a150]
mov rcx, r12
cmova r15, rbp
add rdx, rdi
mov r8, r15
add rdi, r15
add r12, r15
call sub.msvcrt.dll_memcpy
mov qword [0x14004a160], rdi
sub rbp, r15
jne 0x14000ed90
movzx eax, word [rsp + 0x230]
mov word [r14], ax
test ax, ax
je 0x14000ee65
add r14, 2
jmp 0x14000ed80
cmp rcx, rdx
je 0x14000ed90
lea rcx, str.Error__couldnt_decode_attached_data.
call fcn.140007c80
lea rax, [0x140045900]
movzx ecx, word [rax]
test cx, cx
je 0x14000f0d6
lea rax, [0x140046120]
lea rsi, [0x1400250a0]
xor ebp, ebp
movzx r8d, word [rax]
mov word [0x1400250a0], bp
mov rdx, rsi
lea r9, [rax + 0x2000]
test r8w, r8w
jne 0x14000eeb1
jmp 0x14000eec7
cmp rax, r9
je 0x14001c7c8
add rax, 2
mov word [rdx], r8w
add rdx, 2
movzx r8d, word [rax]
test r8w, r8w
jne 0x14000eea8
xor edi, edi
mov word [rdx], di
cmp word [0x1400250a0], 0
je 0x14000f098
mov edx, 0x1000
lea rax, [0x1400250a0]
nop word cs:[rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000eef0
test rdx, rdx
je 0x14000facb
movd dword [rax], xmm7
mov edx, 0x1000
cmp word [0x1400250a0], 0
lea rax, [0x1400250a0]
je 0x14000ef3f
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000ef28
test rdx, rdx
je 0x14000fad5
lea r8, [0x140045900]
jmp 0x14000ef59
test rdx, rdx
je 0x14000fada
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14000ef50
xor r11d, r11d
cmp word [0x140045100], 0
mov word [rax], r11w
je 0x14000f045
mov edx, 8
mov rcx, rbx
call fcn.14000e340
mov rdi, qword [rsp + 0x230]
call fcn.140010da0
xor r9d, r9d
mov edx, 0x40000000
mov rcx, rsi
mov qword [rsp + 0x30], 0
mov r8d, 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14000fa86
mov r14, qword [sym.imp.KERNEL32.dll_WriteFile]
lea rbp, [0x1400270a0]
test rdi, rdi
je 0x14000f037
mov esi, 0x8000
mov rcx, rbp
cmp rdi, rsi
cmovbe rsi, rdi
mov rdx, rsi
call fcn.14000e340
mov r9, rbx
mov r8d, esi
mov rdx, rbp
mov dword [rsp + 0x230], 0
mov rcx, r12
mov qword [rsp + 0x20], 0
call r14
test eax, eax
je 0x14000fa68
sub rdi, rsi
jne 0x14000eff0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000ed69
movzx edx, word [0x1400250a0]
lea rax, [0x140045100]
lea rcx, [0x1400250a0]
lea r8, [rax + 0x2000]
test dx, dx
jne 0x14000f079
jmp 0x14000f08c
cmp rax, r8
je 0x14001c7c8
add rcx, 2
mov word [rax], dx
add rax, 2
movzx edx, word [rcx]
test dx, dx
jne 0x14000f070
xor r10d, r10d
mov word [rax], r10w
jmp 0x14000ef86
lea rax, [0x1400250a0]
jmp 0x14000ef07
mov eax, 7
cpuid
shr ebx, 8
and ebx, 1
mov ecx, ebx
jmp 0x14000e755
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x10]
jmp 0x14000ed52
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
jmp 0x14000ed52
mov rsi, qword [0x14004a128]
test rsi, rsi
je 0x14000f188
cmp qword [rsi + 0x73c8], 0
jne 0x14000f188
mov rdi, qword [rsi + 0x73d8]
mov r12, qword [rsi + 0x73a8]
mov r14, qword [rsi + 0x73b0]
test rdi, rdi
je 0x14000f140
mov rdx, qword [rdi]
mov r13, qword [rdi + 0x6ac8]
mov r15, qword [rdi + 0x6ad0]
test rdx, rdx
je 0x14000f9fd
test r13, r13
je 0x14000fabe
mov rcx, r15
call r13
mov rdx, rdi
mov rcx, r15
call r13
mov rdx, qword [rsi + 0x73f8]
pxor xmm0, xmm0
mov dword [rsi + 0x73f0], 0
movups xmmword [rsi + 0x73d8], xmm0
test rdx, rdx
je 0x14000f9e7
test r12, r12
je 0x14000fab1
mov rcx, r14
call r12
mov qword [rsi + 0x73f8], 0
mov rdx, rsi
mov rcx, r14
call r12
mov rcx, qword [0x14004a150]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14001e31a]
mov edx, pe_nt_image_headers64
mov r9d, eax
lea rax, [rsp + 0x1b0]
mov rcx, rax
mov qword [rsp + 0x68], rax
call fcn.140001910
movzx eax, byte [rsp + 0x1b0]
xor r9d, r9d
mov word [rsp + 0x230], r9w
test al, al
je 0x14000f27e
mov r15d, pe_nt_image_headers64
mov r14, rbx
lea r13, [rsp + 0x86]
mov esi, 1
lea rdi, [rsp + 0x90]
mov r8d, 2
mov rdx, r13
mov rcx, rdi
mov byte [rsp + 0x86], al
mov byte [rsp + 0x87], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x14001c7c8
cmp word [r14], 0
movzx ecx, word [rsp + 0x90]
mov rdx, r15
mov rax, r14
je 0x14000f24e
nop word [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f240
test rdx, rdx
je 0x14001c7c8
mov word [rax], cx
xor ecx, ecx
add r14, 2
lea rdx, [r15 - 1]
mov word [rax + 2], cx
mov rax, rsi
sub rax, r15
movzx eax, byte [rbx + rax]
test al, al
je 0x14000f27e
mov r15, rdx
jmp 0x14000f1f8
xor r8d, r8d
lea r13, str.NUITKA_ONEFILE_PARENT
lea rdi, [rsp + 0xf0]
mov eax, 0x4e
mov word [rsp + 0xf0], r8w
mov r15, rdi
lea r14, [r13 + 0x28]
lea rcx, [rsp + 0x94]
lea r12, [rsp + 0x88]
mov rsi, r14
mov r8d, 2
mov rdx, r12
mov byte [rsp + 0x88], al
sub rsi, r13
mov byte [rsp + 0x89], 0
mov qword [rsp + 0x70], rcx
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x14001c7c8
cmp word [r15], 0
movzx edx, word [rsp + 0x94]
mov rax, r15
mov rcx, qword [rsp + 0x70]
je 0x14000f30e
nop
add rax, 2
sub rsi, 1
cmp word [rax], 0
jne 0x14000f300
test rsi, rsi
je 0x14001c7c8
mov word [rax], dx
add r13, 1
xor edx, edx
add r15, 2
mov word [rax + 2], dx
movzx eax, byte [r13]
test al, al
jne 0x14000f2b5
mov rcx, rdi
mov r13, qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rbx
lea rdi, [0x14002f0a0]
call r13
cmp word [0x14002f0a0], 0
je 0x14000f99e
xor esi, esi
lea r15, [rsp + 0xa0]
lea r10, str.NUITKA_ONEFILE_BINARY
mov eax, 0x4e
mov word [rsp + 0xa0], si
lea rsi, [rsp + 0x8a]
mov r14, r15
lea r12, [rsp + 0x98]
mov qword [rsp + 0x70], rsi
mov rdx, qword [rsp + 0x70]
lea rsi, [0x14001e4ba]
mov rcx, r12
mov qword [rsp + 0x78], r10
mov r8d, 2
sub rsi, r10
mov byte [rsp + 0x8a], al
mov byte [rsp + 0x8b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x14001c7c8
cmp word [r14], 0
movzx edx, word [rsp + 0x98]
mov rax, r14
mov r10, qword [rsp + 0x78]
je 0x14000f3ee
nop
add rax, 2
sub rsi, 1
cmp word [rax], 0
jne 0x14000f3e0
test rsi, rsi
je 0x14001c7c8
xor r11d, r11d
add r10, 1
mov word [rax], dx
add r14, 2
mov word [rax + 2], r11w
movzx eax, byte [r10]
test al, al
jne 0x14000f38c
lea rsi, [rsp + 0x140]
mov rdx, rdi
mov rcx, r15
call r13
mov rdi, rsi
xor eax, eax
mov ecx, 0xd
rep stosq qword [rdi], rax
mov rdi, qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff6
mov dword [rsp + 0x17c], 0x100
lea r13, [0x1400310c0]
call rdi
mov ecx, 0xfffffff5
mov qword [rsp + 0x190], rax
call rdi
mov ecx, 0xfffffff4
mov qword [rsp + 0x198], rax
call rdi
mov dword [rsp + 0x140], 0x68
mov qword [rsp + 0x1a0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x8c]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor r10d, r10d
xor ecx, ecx
mov r8d, 0x1000
mov word [0x1400330c0], r10w
mov rdi, rax
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14001c7c8
mov r9d, dword [rsp + 0x8c]
mov qword [rdi], r13
lea r13, [0x1400330c0]
mov r15d, dword [0x14001f300]
test r9d, r9d
jle 0x14000f730
test ebp, ebp
jg 0x14000f8d6
mov r14, qword [rdi + rbp*8]
lea r12, str.__t_n_v_
mov eax, 0x20
jmp 0x14000f513
movzx eax, word [r12 + 2]
add r12, 2
test ax, ax
je 0x14000f6c6
movzx edx, ax
mov rcx, r14
call sub.msvcrt.dll_wcschr
test rax, rax
je 0x14000f500
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400330c0]
je 0x14000f54e
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f537
test rdx, rdx
je 0x14001c7c8
mov r11d, dword [0x14001f304]
mov rcx, qword [rdi + rbp*8]
mov dword [rax], r11d
movzx edx, word [rcx]
cmp dx, 0x5c
jne 0x14000f643
xor eax, eax
nop dword [rax + rax]
mov r10, rcx
movzx edx, word [rcx + 2]
add rcx, 2
mov r9d, eax
add eax, 1
cmp dx, 0x5c
je 0x14000f570
test dx, dx
je 0x14000f858
cmp dx, 0x22
je 0x14000f65a
xor r8d, r8d
test eax, eax
jle 0x14000f5ed
nop dword [rax]
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400330c0]
je 0x14000f5d7
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f5c0
test rdx, rdx
je 0x14001c7c8
mov dword [rax], r15d
lea eax, [r8 + 1]
cmp r9d, r8d
je 0x14000f5e8
mov r8d, eax
jmp 0x14000f5a8
movzx edx, word [r10 + 2]
cmp word [r13], 0
je 0x14000f6ba
mov r8d, 0x8000
lea rax, [0x1400330c0]
nop word cs:[rax + rax]
add rax, 2
sub r8, 1
cmp word [rax], 0
jne 0x14000f610
test r8, r8
je 0x14000fadf
xor r8d, r8d
add rcx, 2
mov word [rax], dx
mov word [rax + 2], r8w
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x14000f569
test dx, dx
je 0x14000f8a3
cmp dx, 0x22
jne 0x14000f5ed
mov r9d, 1
jmp 0x14000f664
lea r9d, [rax + rax + 1]
test r9d, r9d
jle 0x14000f5ed
xor r8d, r8d
nop word [rax + rax]
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400330c0]
je 0x14000f69f
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f688
test rdx, rdx
je 0x14001c7c8
add r8d, 1
mov dword [rax], r15d
cmp r8d, r9d
jne 0x14000f670
cmp word [r13], 0
movzx edx, word [rcx]
jne 0x14000f5f9
lea rax, [0x1400330c0]
jmp 0x14000f627
mov r8, qword [rdi + rbp*8]
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400330c0]
movzx ecx, word [r8]
je 0x14000f990
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f6e6
test cx, cx
je 0x14000f71a
test rdx, rdx
je 0x14001c7c8
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14000f6f9
xor edx, edx
mov word [rax], dx
add rbp, 1
cmp dword [rsp + 0x8c], ebp
jg 0x14000f4e5
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rbx
mov rdx, r13
mov qword [rsp + 0x40], rsi
lea rcx, [0x140045100]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000fa45
mov rcx, qword [rsp + 0x238]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x230]
mov dword [rsp + 0x1b0], 0
mov qword [0x1400450e8], rcx
test rcx, rcx
je 0x14000f7f2
mov rbp, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, 0x32
mov edx, esi
call rbp
mov rdx, qword [rsp + 0x68]
mov rcx, qword [0x1400450e8]
call rdi
test eax, eax
jne 0x14000f822
mov dword [rsp + 0x1b0], 1
mov rcx, qword [0x1400450e8]
call rbx
mov qword [0x1400450e8], 0
call fcn.140007ca0
mov eax, dword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x330]
movaps xmm7, xmmword [rsp + 0x340]
add rsp, 0x358
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [rsp + 0x1b0], 0x103
jne 0x14000f7de
cmp byte [0x1400450e0], 0
jne 0x14000f942
mov esi, 0xffffffff
mov rcx, qword [0x1400450e8]
test rcx, rcx
jne 0x14000f7bd
jmp 0x14000f7f2
add eax, eax
test eax, eax
jle 0x14000f8a3
mov r9d, dword [0x14001f300]
xor r8d, r8d
cmp word [r13], 0
mov ecx, 0x8000
lea rdx, [0x1400330c0]
je 0x14000f897
nop dword [rax]
add rdx, 2
sub rcx, 1
cmp word [rdx], 0
jne 0x14000f880
test rcx, rcx
je 0x14001c7c8
add r8d, 1
mov dword [rdx], r9d
cmp r8d, eax
jne 0x14000f868
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400330c0]
je 0x14000f8ce
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f8b7
test rdx, rdx
je 0x14001c7c8
mov dword [rax], r11d
jmp 0x14000f71f
cmp word [r13], 0
je 0x14000f939
mov edx, 0x8000
lea rax, [0x1400330c0]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f8ea
test rdx, rdx
je 0x14000fad0
mov dword [rax], 0x20
jmp 0x14000f4ed
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14000ed52
mov rcx, rbx
call fcn.140007be0
mov qword [0x14004a128], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.140007c80
lea rax, [0x1400330c0]
jmp 0x14000f901
lea rcx, [0x1400430e0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000f97c
mov rcx, qword [0x1400430c0]
test rcx, rcx
je 0x14000f970
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [0x1400430c0], 0
mov byte [0x1400450e0], 0
jmp 0x14000f83c
cmp byte [0x1400450e0], 0
jne 0x14000f841
jmp 0x14000f83c
test cx, cx
jne 0x14000f702
jmp 0x14000f71a
mov rdx, rdi
xor ecx, ecx
mov r8d, 0x1001
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [0x14002f0a0], 0
mov rax, rdi
lea rdx, [rdi + 0x2002]
jne 0x14000f9d1
jmp 0x14000f9db
cmp rax, rdx
je 0x14001c7c8
add rax, 2
cmp word [rax], 0
jne 0x14000f9c8
xor r12d, r12d
mov word [rax], r12w
jmp 0x14000f356
test r12, r12
jne 0x14000f17f
mov rcx, rsi
call sub.msvcrt.dll_free
jmp 0x14000f188
test r13, r13
jne 0x14000f137
mov rcx, rdi
call sub.msvcrt.dll_free
jmp 0x14000f140
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.140007c80
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.140007c80
mov r8d, 0x93
lea rdx, str.static_srcOnefileSplashScreen.cpp
lea rcx, str.splash_window___NULL
call qword [sym.imp.msvcrt.dll__assert]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_launch_child
mov edx, eax
call fcn.140007c10
mov ecx, 2
call sub.msvcrt.dll_exit
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_unpack_file_to_target_path.
mov edx, eax
call fcn.140007c10
mov ecx, 2
call sub.msvcrt.dll_exit
mov ecx, 2
call qword [fcn.14001bdd0]
lea r8, [0x1400250a0]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov rcx, rax
call fcn.1400018e0
mov ecx, 2
call sub.msvcrt.dll_exit
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x14000f9f0
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x14000fa06
jmp 0x14001c7c8
jmp 0x14001c7c8
jmp 0x14001c7c8
jmp 0x14001c7c8
jmp 0x14001c7c8
call sub.msvcrt.dll_abort
nop
nop
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
jmp 0x1400015e0