Function at 0x1400148b0
Capabilities:
Connect to http server
Create http request
Parse url

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov r15, rdx
mov r13, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x14044b0d8], eax
jg 0x140014d81
mov rcx, qword [r13 + 0x60]
mov qword [r13 + 0x60], rbx
test rcx, rcx
je 0x14001490d
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [r13 + 0x58]
test rcx, rcx
je 0x140014920
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [r13 + 0x58], rbx
cmp qword [0x14044b0f8], rbx
je 0x140014d6d
mov ecx, 0x20000
call fcn.1400e0cb8
mov rbx, rax
mov qword [rbp + 0x20], rax
mov ecx, 0x1000
call fcn.1400e0cb8
mov rdi, rax
mov qword [rbp + 0x28], rax
mov ecx, 0x800
call fcn.1400e0cb8
mov rsi, rax
mov qword [rbp + 0x30], rax
mov ecx, 0x800
call fcn.1400e0cb8
mov r14, rax
mov qword [rbp + 0x38], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov dword [rsp + 0x50], 0x68
mov qword [rbp - 0x68], rbx
mov dword [rbp - 0x60], 0x10000
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x70], 0x800
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x80], 0x400
mov qword [rbp - 0x78], r14
mov dword [rbp - 0x70], 0x400
cmp byte [r13 + 0x8a], al
je 0x1400149ee
lea r8, [r13 + 0x70]
lea rdx, [r13 + 0x68]
lea rcx, [r13 + 0x10]
movzx r9d, byte [r13 + 0x89]
call fcn.140148d90
mov rdx, r15
lea rcx, [rbp + 0x90]
call fcn.140015780
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x140014d4a
mov r12, qword [0x14044b0f8]
mov qword [rsp + 0x40], r12
mov dword [rbp + 0xa8], 1
mov r9d, 4
lea r8, [rbp + 0xa8]
mov edx, 0x46
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea r15, [r13 + 0x8c]
mov eax, dword [r15]
test eax, eax
jne 0x140014a60
mov dword [r15], 0x7530
jmp 0x140014a69
jns 0x140014a69
mov dword [r15], 0xffffffff
mov r9d, 4
mov r8, r15
mov edx, 2
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
mov r8, r15
mov edx, 6
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
mov r8, r15
mov edx, 5
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
mov r8, r15
mov edx, 8
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
mov r8, r15
mov edx, 7
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea rdx, str.ftp:
mov r15, qword [rbp + 0x98]
mov rcx, r15
call fcn.14017dba0
mov byte [rbp + 0x90], al
lea r12, [r13 + 0xc8]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [r13 + 0xf8], 0
je 0x140014b16
xor eax, eax
jmp 0x140014b5a
movzx eax, byte [rbp + 0x90]
xor eax, 1
lea eax, [rax*2 + 1]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x78]
movzx r8d, word [rsp + 0x74]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [r13 + 0x58], rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [r13 + 0x58]
test rcx, rcx
je 0x140014d4a
cmp byte [rbp + 0x90], 0
je 0x140014ba5
mov qword [rsp + 0x20], 0
mov r9d, reloc.WS2_32.dll_select
mov r8d, 0x80000000
mov rdx, qword [rbp - 0x68]
call qword [sym.imp.WININET.dll_FtpOpenFileW]
mov qword [r13 + 0x60], rax
jmp 0x140014d4a
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x90], rax
lea rax, [0x14039cb20]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 0
lea rdx, str.https:
mov rcx, r15
call fcn.14017dba0
movzx r15d, al
shl r15d, 0x17
sub r15d, 0x7bd80000
mov qword [rsp + 0x40], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [r13 + 0xf8], 0
je 0x140014c05
xor r15d, r15d
mov eax, r15d
jmp 0x140014c49
lea rdx, [r13 + 0x90]
lea rcx, [rsp + 0x48]
call fcn.140015780
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], r15d
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [rbp - 0x68]
mov rdx, qword [rax]
mov rcx, qword [r13 + 0x58]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [r13 + 0x60], rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp qword [r13 + 0x60], 0
je 0x140014d24
mov qword [rbp - 0x14], r15
mov dword [rbp - 0xc], r15d
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov dword [rbp - 0x18], 0x38
lea rdx, [r13 + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140015780
mov rcx, qword [rax]
mov qword [rbp - 8], rcx
mov rax, qword [r13 + 0x68]
xor r15d, r15d
mov edx, r15d
nop
movzx ecx, byte [rax]
inc rax
test cl, cl
jns 0x140014cd3
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x140014cd7
nop word [rax + rax]
inc rax
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
je 0x140014cc0
inc rdx
jmp 0x140014ca0
test ecx, ecx
je 0x140014cdc
inc rdx
jmp 0x140014ca0
mov dword [rbp], edx
mov eax, dword [r13 + 0x78]
mov dword [rbp + 0x14], eax
mov qword [rbp - 0x40], r13
lea rax, [rbp - 0x18]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x90]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x40]
call fcn.140014dd0
test al, al
jne 0x140014d4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f00
jne 0x140014d24
lea rcx, [rbp - 0x40]
call fcn.140014dd0
test al, al
jne 0x140014d4a
mov rcx, qword [r13 + 0x60]
mov qword [r13 + 0x60], r15
test rcx, rcx
je 0x140014d37
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [r13 + 0x58]
test rcx, rcx
je 0x140014d4a
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [r13 + 0x58], r15
mov rcx, r14
call fcn.1400e0818
nop
mov rcx, rsi
call fcn.1400e0818
nop
mov rcx, rdi
call fcn.1400e0818
nop
mov rcx, rbx
call fcn.1400e0818
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x14044b0d8]
call fcn.1400d9e38
cmp dword [0x14044b0d8], 0xffffffff
jne 0x1400148fa
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.juce
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [0x14044b0f8], rax
lea rcx, [0x14044b0d8]
call fcn.1400d9dcc
jmp 0x1400148fa