Function at 0x180042b20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x1800b3dc8]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
imul eax, r9d, 0x56e
mov r15, r8
mov dword [rsp + 0x40], r9d
mov r14, rdx
mov rbp, rcx
mov qword [rsp + 0x58], rcx
mov r12d, r9d
mov dword [rsp + 0x44], eax
mov ebx, dword [rsp + 0x44]
cmp r9d, eax
ja 0x180042bc1
mov r13d, dword [rsp + 0x44]
xor edi, edi
mov rsi, qword [rsp + 0x48]
nop
cmp r12d, 0x5dba
ja 0x180042d87
je 0x180042d63
mov eax, r12d
sub eax, 0x56
je 0x180042d59
sub eax, 0x2c
je 0x180042c76
sub eax, 0xa1
je 0x180042c0b
sub eax, 0x2de5
je 0x180042bee
cmp eax, 0x1810
jne 0x180042f31
mov eax, ebx
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1800508f0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, 3
lea rdx, [0x18005b899]
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x180042f2c
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, r15
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
jne 0x180042f2c
mov eax, edi
jmp 0x180042bc3
test r15, r15
je 0x180042d38
test r14, r14
je 0x180042d38
cmp qword [r14], 0
jne 0x180042c9b
mov qword [r15], rdi
mov r13d, edi
mov ebx, edi
jmp 0x180042f31
mov ebx, 0xc0
mov eax, ebx
sub eax, 0xc0
je 0x180042d0a
sub eax, 1
je 0x180042cdd
cmp eax, 1
jne 0x180042d1d
mov rcx, qword [r15]
test rcx, rcx
jne 0x180042ccc
lea rcx, str.V:_E_Assert_failed___vpWinRT::WinRTCapturedFrame::Convert:__conversion_failed
call fcn.18004e550
mov r13d, edi
jmp 0x180042d1d
mov rdx, qword [r14]
lea r8, [rsi + 1]
call sub.VCRUNTIME140.dll_memcpy
mov r13d, edi
jmp 0x180042d1d
xor edx, edx
mov qword [rsp + 0x20], rdi
lea rax, [rsi + 1]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x68]
lea r8d, [rdx + 0x5a]
call fcn.180029280
movups xmm0, xmmword [rax]
movq qword [r15], xmm0
jmp 0x180042d1d
mov rax, qword [r14]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x180042d14
inc ebx
cmp ebx, 0xc3
jb 0x180042ca0
mov r9d, dword [rsp + 0x40]
mov ebx, r13d
jmp 0x180042f31
mov r8, r14
lea rcx, str.e:_amigo_browser_38_amigo_3.0_srcchromeinstaller_setup_setup_util.cc
mov rdx, r15
call fcn.18004e550
mov r9d, dword [rsp + 0x40]
mov r13d, edi
mov ebx, edi
jmp 0x180042f31
mov byte [rsp + 0x78], 0
jmp 0x180042f31
mov r8d, 1
lea rdx, str._aggregate__if_the_compilation_and_its_resulting_copyright_are_not
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov word [rsp + 0x7c], 0x3a
jmp 0x180042f2c
cmp r12d, 0x8c6c
je 0x180042e8d
cmp r12d, 0x9f24
je 0x180042e42
cmp r12d, 0xbb1e
je 0x180042dbc
cmp r12d, 0x13d25
je 0x180042bc1
jmp 0x180042f31
lea rax, [rsp + 0x80]
mov rbp, 0xffffffffffffffff
nop dword [rax + rax]
inc rbp
cmp byte [rax + rbp], 0
jne 0x180042dd0
mov rdx, qword [r14 + 0x18]
mov rcx, qword [r14 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rbp, rax
ja 0x180042e22
lea rax, [rcx + rbp]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x180042e00
mov rax, qword [r14]
lea rdi, [rcx + rax]
mov r8, rbp
mov rcx, rdi
lea rdx, [rsp + 0x80]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbp], 0
xor edi, edi
jmp 0x180042f27
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov rdx, rbp
mov rcx, r14
call fcn.180001f10
jmp 0x180042f27
mov r8d, dword [rbp]
lea r9, [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov rdx, r14
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x180042e84
mov eax, dword [rbp]
cmp dword [rsp + 0x50], eax
jne 0x180042e84
mov ebx, 1
xor edi, edi
jmp 0x180042f2c
xor edi, edi
mov ebx, edi
jmp 0x180042f2c
lea rax, [rsp + 0x78]
mov rbp, 0xffffffffffffffff
nop dword [rax]
inc rbp
cmp byte [rax + rbp], 0
jne 0x180042ea0
mov rdx, qword [r14 + 0x18]
mov rcx, qword [r14 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rbp, rax
ja 0x180042eec
lea rax, [rcx + rbp]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x180042ed0
mov rax, qword [r14]
lea rdi, [rax + rcx]
mov r8, rbp
mov rcx, rdi
lea rdx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbp], 0
xor edi, edi
jmp 0x180042f04
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov rdx, rbp
mov rcx, r14
call fcn.180001f10
movsd xmm0, qword [r15]
lea rdx, [rsp + 0x48]
mov r8d, 0x9c
movsd qword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x80]
call fcn.180017af0
mov rbp, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x40]
imul eax, r9d, 0x8b
add r12d, eax
cmp r12d, dword [rsp + 0x44]
jbe 0x180042b80
jmp 0x180042bc1