Function at 0x140015590
Capabilities:
Accept command line arguments
Create thread
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140213010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
lea rdx, [rbp + 0x27]
mov rcx, r8
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor r15d, r15d
mov rsi, rax
test rax, rax
je 0x14001561b
mov eax, dword [rbp + 0x27]
test eax, eax
jle 0x140015612
mov ebx, r15d
mov rdi, rsi
nop
mov rcx, qword [rdi]
lea rdx, [0x1401a6260]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140015601
inc ebx
add rdi, 8
cmp ebx, dword [rbp + 0x27]
jl 0x1400155e0
jmp 0x140015612
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rax, [0x1400144d0]
mov qword [0x140219270], r14
mov edx, 0x7f00
mov qword [rbp - 0x51], rax
xor ecx, ecx
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x11], r15
mov dword [rbp - 0x59], 0x50
mov dword [rbp - 0x55], 3
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r15
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 0x31], rax
xorps xmm0, xmm0
lea rcx, [rbp - 0x59]
movdqa xmmword [rbp - 0x29], xmm0
lea rax, str.iTUNES_PROXY
mov qword [rbp - 0x19], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov edx, 0x7f00
mov qword [rbp - 0x49], r15
mov word [0x140219268], ax
xor ecx, ecx
lea rax, [0x140013ca0]
mov qword [rbp - 0x11], r15
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x59], 0x50
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r15
call qword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, 4
mov qword [rbp - 0x31], rax
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rcx, [rbp - 0x59]
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x29], rax
lea rax, str.iTUNES_OOPWIND
mov qword [rbp - 0x19], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, 0x138
mov word [0x140219260], ax
call fcn.14019d258
mov rbx, rax
xor edx, edx
xor eax, eax
mov r8d, 0xd0
mov word [rbx + 0x15], ax
lea rcx, [rbx + 0x68]
mov byte [rbx + 0x17], al
mov dword [rbx + 0x24], eax
call sub.VCRUNTIME140.dll_memset
mov qword [rbx + 8], r15
lea rax, vtable.PipeServer.0
mov qword [rbx], rax
lea rdi, [rbx + 0x20]
mov dword [rbx + 0x10], r15d
mov ecx, 0x100000
mov byte [rbx + 0x14], 1
mov qword [rbx + 0x18], 0xffffffffffffffff
mov dword [rdi], r15d
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x38], r15
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], r15
mov qword [rbx + 0x58], 0xffffffffffffffff
mov qword [rbx + 0x60], r15
mov qword [rbx + 0x50], 0xffffffffffffffff
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, 0x100000
mov qword [rbx + 0x28], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea rcx, [rbx + 0x78]
mov qword [rbx + 0x68], r15
mov qword [rbx + 0x30], rax
mov edx, 2
lea rax, vtable.PluginPipeServer.0
mov dword [rbx + 0x70], r15d
mov qword [rbx], rax
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov qword [rbx + 0xc8], r15
mov qword [rbx + 0xd0], r15
lea rax, vtable.OOPWinPipeServer.0
mov qword [rbx + 0xd8], r15
xorps xmm0, xmm0
mov qword [rbx + 0xe0], r15
mov dl, 1
mov qword [rbx + 0xe8], r15
mov qword [rbx], rax
mov qword [rbx + 0xf0], r15
mov qword [rbx + 0xf8], r15
mov qword [rbx + 0x100], r15
mov qword [rbx + 0x108], r15
mov qword [rbx + 0x110], r15
mov qword [rbx + 0x118], r15
movups xmmword [rbx + 0x120], xmm0
mov word [rbx + 0x130], r15w
mov dword [rbx + 0x134], r15d
mov rcx, qword [rbx]
mov r8, qword [rcx + 8]
mov rcx, rbx
call r8
test al, al
jne 0x140015834
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8]
mov eax, 0xffffffff
jmp 0x140015a58
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9, rbx
mov qword [rsp + 0x28], rdi
lea r8, [0x14000f0b0]
mov dword [rbx + 0x64], eax
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0x6d
mov rcx, r14
mov qword [rbx + 0x18], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
xor r9d, r9d
lea rcx, [rbp - 9]
xor r8d, r8d
xor edx, edx
mov rsi, rax
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400159fc
lea r14, [0x140000000]
cmp eax, 0xffffffff
je 0x1400159e2
mov eax, dword [rbp - 1]
add eax, 0xffff7f38
cmp eax, 8
ja case.0x1400158b6.32969
mov ecx, dword [r14 + rax*4 + 0x15a7c]
add rcx, r14
jmp rcx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x70]
jmp 0x1400159e2
mov rdi, qword [rbp + 0xf]
mov rcx, rbx
test rdi, rdi
je 0x1400158ff
mov eax, dword [rdi + 0xc]
mov r10, qword [rbx]
mov r9d, dword [rdi + 8]
mov r8d, dword [rdi + 4]
mov edx, dword [rdi]
mov dword [rsp + 0x20], eax
call qword [r10 + 0xd8]
mov edx, 0x10
mov rcx, rdi
call fcn.14019d294
jmp 0x1400159e2
mov rax, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
xor edx, edx
call qword [rax + 0xd8]
jmp 0x1400159e2
mov rdi, qword [rbp + 0xf]
mov rcx, rbx
mov r10, qword [rbx]
mov eax, dword [rdi + 0xc]
mov r9d, dword [rdi + 8]
mov r8d, dword [rdi + 4]
mov edx, dword [rdi]
mov dword [rsp + 0x20], eax
call qword [r10 + 0x98]
mov edx, 0x10
mov rcx, rdi
call fcn.14019d294
jmp 0x1400159e2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xa0]
jmp 0x1400159e2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xa8]
jmp 0x1400159e2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xb0]
jmp 0x1400159e2
mov rdi, qword [rbp + 0xf]
mov rcx, rbx
mov rax, qword [rbx]
mov rdx, rdi
call qword [rax + 0xe0]
test rdi, rdi
je 0x1400159e2
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x18
mov rcx, rdi
call fcn.14019d294
jmp 0x1400159e2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xb8]
jmp 0x1400159e2
mov rcx, qword [rbp - 9]
lea r8, [rbp - 9]
mov rdx, rsi
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400159e2
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 9]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140015891
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rbp + 0x2b], r15d
cmp rax, 0xffffffffffffffff
je 0x140015a42
lea r9, [rbp + 0x2b]
mov qword [rsp + 0x20], r15
mov r8d, 0x1d
lea rdx, str.Exiting_windows_message_loop_n
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140015a42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, dword [rbp + 7]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14019ce50
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret