Function at 0x14000303f
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001a3f8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a90]
mov eax, 0x1b90
call fcn.140001e47
sub rsp, rax
movdqa xmm0, xmmword [str.WinHttpOpenReque]
lea rdx, [rsp + 0x50]
movdqa xmm1, xmmword [str.WinHttpCloseHand]
xor edi, edi
movdqu xmmword [rbp - 0x50], xmm0
mov r14, rcx
lea rcx, [rsp + 0x40]
movdqa xmm0, xmmword [str.WinHttpSendReque]
movdqu xmmword [rbp - 0x38], xmm0
mov dword [rsp + 0x40], 0x686e6977
movdqa xmm0, xmmword [str.WinHttpReceiveRe]
movdqu xmmword [rbp - 0x68], xmm0
mov dword [rsp + 0x44], 0x2e707474
movdqa xmm0, xmmword [str.WinHttpReadData]
movdqu xmmword [rbp + 0x10], xmm0
mov dword [rsp + 0x48], 0x6c6c64
mov dword [rsp + 0x50], 0x486e6957
mov dword [rsp + 0x54], 0x4f707474
mov dword [rsp + 0x58], 0x6e6570
mov dword [rsp + 0x60], 0x486e6957
mov dword [rsp + 0x64], 0x43707474
mov dword [rsp + 0x68], 0x656e6e6f
mov word [rsp + 0x6c], 0x7463
mov byte [rsp + 0x6e], dil
mov word [rbp - 0x40], 0x7473
mov byte [rbp - 0x3e], dil
mov word [rbp - 0x28], 0x7473
mov byte [rbp - 0x26], dil
mov dword [rbp - 0x58], 0x6e6f7073
mov word [rbp - 0x54], 0x6573
mov byte [rbp - 0x52], dil
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x10], 0x656c
mov byte [rbp - 0xe], dil
call fcn.140001109
lea rdx, [rsp + 0x60]
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140005cea
lea rdx, [rbp - 0x50]
mov qword [rbp + 0x1ae8], rax
lea rcx, [rsp + 0x40]
call fcn.140002e55
lea rdx, [rbp - 0x38]
mov r12, rax
lea rcx, [rsp + 0x40]
call fcn.140001f64
lea rdx, [rbp - 0x68]
mov qword [rbp - 8], rax
lea rcx, [rsp + 0x40]
call fcn.1400014dd
lea rdx, [rbp + 0x10]
mov r13, rax
lea rcx, [rsp + 0x40]
call fcn.140005c77
lea rdx, [rbp - 0x20]
mov qword [rbp], rax
lea rcx, [rsp + 0x40]
call fcn.140005f97
xor r9d, r9d
mov dword [rsp + 0x70], 0x650053
xor r8d, r8d
mov dword [rsp + 0x74], 0x750063
xor edx, edx
mov dword [rsp + 0x78], 0x650072
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x7c], 0x690057
mov rsi, rax
mov dword [rbp - 0x80], 0x48006e
mov dword [rbp - 0x7c], 0x540054
mov dword [rbp - 0x78], 0x2f0050
mov dword [rbp - 0x74], 0x2e0031
mov dword [rbp - 0x70], 0x30
mov dword [rsp + 0x20], edi
call rbx
mov qword [rbp + 8], rax
mov r15, rax
test rax, rax
jne 0x14001a5d3
xor al, al
jmp 0x14001a764
mov ebx, 0x68
lea rcx, [rbp + 0x20]
mov r8d, ebx
xor edx, edx
call fcn.140004aa2
lea rax, [rbp + 0x90]
mov dword [rbp + 0x20], ebx
mov qword [rbp + 0x38], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x290]
mov dword [rbp + 0x40], pe_nt_image_headers64
xor r8d, r8d
mov qword [rbp + 0x68], rax
xor edx, edx
mov dword [rbp + 0x70], 0x400
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
movzx r8d, word [rbp + 0x44]
lea rdx, [rbp + 0x90]
xor r9d, r9d
mov rcx, r15
call qword [rbp + 0x1ae8]
mov r14, rax
test rax, rax
jne 0x14001a646
mov rcx, r15
call rsi
jmp 0x14001a5cc
cmp dword [rbp + 0x34], 2
lea r8, [rbp + 0x290]
mov eax, edi
lea rdx, [0x1400e5cf8]
mov ecx, 0x800000
cmove eax, ecx
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov rcx, r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call r12
mov rbx, rax
test rax, rax
jne 0x14001a688
mov rcx, r14
call rsi
jmp 0x14001a63f
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, rbx
call qword [rbp - 8]
test eax, eax
setne r12b
test eax, eax
je 0x14001a6bb
xor edx, edx
mov rcx, rbx
call r13
test eax, eax
setne r12b
mov rcx, qword [rbp + 0x1ad8]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14001a752
test r12b, r12b
je 0x14001a746
mov r15, qword [rbp]
lea r9, [rbp + 0x1ae0]
mov r8d, 0x1000
lea rdx, [rbp + 0xa90]
mov rcx, rbx
call r15
test eax, eax
je 0x14001a742
mov r8d, dword [rbp + 0x1ae0]
test r8d, r8d
je 0x14001a742
lea r9, [rbp + 0x1ae8]
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0xa90]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14001a6fa
mov r15, qword [rbp + 8]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, r12b
mov rcx, rbx
call rsi
mov rcx, r14
call rsi
mov rcx, r15
call rsi
mov al, dil
mov rbx, qword [rsp + 0x1bd0]
add rsp, 0x1b90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret