Function at 0x180005a00
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa90]
sub rsp, 0xb90
mov rax, qword [0x180167010]
xor rax, rsp
mov qword [rbp + 0xa80], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
movabs rax, 0x894d18b6bbd07592
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
movabs rax, 0x4dd6a69c12552bc8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
movabs r14, 0x897c1899bbbb75dd
mov qword [rsp + 0x40], r14
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x60], rax
movabs rbx, 0x4dd6a69c12652be6
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x68], rax
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180005b5f
mov qword [rsp + 0x40], r14
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r14
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x18], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsi], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r13b
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x180005b41
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1800045d0
jmp 0x1800060f0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp - 0x60], 0x68
lea rax, [rbp + 0x80]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], 0x100
lea rax, [rbp + 0x280]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 0x400
mov r8, r15
cmp qword [r15 + 0x18], 0x10
jb 0x180005bb8
mov r8, qword [r15]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, dword [r15 + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd r12, eax
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], di
mov rbx, 0xffffffffffffffff
cmp r12, 7
ja 0x180005c19
mov qword [rbp + 0x48], r12
test eax, eax
je 0x180005c0d
movzx eax, di
lea rdi, [rbp + 0x38]
mov rcx, r12
rep stosw word [rdi], ax
xor edi, edi
mov word [rbp + r12*2 + 0x38], di
mov rdx, qword [rbp + 0x38]
jmp 0x180005c83
movabs rdi, 0x7ffffffffffffffe
cmp r12, rdi
ja 0x18000611d
mov rax, r12
or rax, 7
mov qword [rbp + 0x58], rax
cmp rax, rdi
ja 0x180005c4f
mov ecx, 0xa
mov qword [rbp - 0x70], rcx
mov rdi, rax
cmp rax, rcx
cmovb rdi, rcx
mov rdx, rdi
add rdx, 1
cmovb rdx, rbx
call fcn.180041d00
mov rdx, rax
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], rdi
xor eax, eax
movzx eax, ax
mov rdi, rdx
mov rcx, r12
rep stosw word [rdi], ax
xor edi, edi
mov word [rdx + r12*2], di
mov qword [rbp + 0x38], rdx
lea rax, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rax, rdx
mov r9d, dword [r15 + 0x10]
cmp qword [r15 + 0x18], 0x10
jb 0x180005c9e
mov r15, qword [r15]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
mov r8, r15
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rcx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rcx, qword [rbp + 0x38]
lea r9, [rbp - 0x60]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
mov rcx, r13
test eax, eax
jne 0x180005d7e
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movabs r12, 0x897c1899bbbb75dd
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs r15, 0x4dd6a69c12652be6
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x18], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsi], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
lea rax, [rsp + 0x50]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180005d60
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1800045d0
jmp 0x1800060e7
xor r9d, r9d
movzx r8d, word [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x180005e3f
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movabs r12, 0x897c1899bbbb75dd
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs r15, 0x4dd6a69c12652be6
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x18], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], 0xf
mov byte [rsi], al
lea rax, [rsp + 0x50]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180005e21
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1800045d0
jmp 0x1800060e7
movabs rax, 0x897c18cdbbfe759a
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x80], rax
movabs r15, 0x4dd6a69c12652be6
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
movabs r12, 0x897c1899bbbb75dd
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x70], rax
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x78], rax
movdqa xmm0, xmmword [rbp - 0x80]
pxor xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
xor r14d, r14d
mov eax, r14d
mov ecx, 0x800000
cmp dword [rbp - 0x4c], 2
cmove eax, ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, qword [rbp - 0x18]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r13, rax
test rax, rax
jne 0x180005f7e
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x18], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsi], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r13b
lea rax, [rsp + 0x50]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180005f60
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1800045d0
jmp 0x1800060e7
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x180005fad
xor edx, edx
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov qword [rbp + 0x10], r14
mov r15, r14
mov qword [rbp + 0x20], r14
mov r12d, 0xf
mov qword [rbp + 0x28], r12
mov byte [rbp + 0x10], r15b
test eax, eax
je 0x1800060a1
mov dword [rbp + 0x30], r14d
mov dword [rbp - 0x68], r14d
lea rdx, [rbp - 0x68]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x18000609c
mov eax, dword [rbp - 0x68]
test eax, eax
je 0x18000609c
lea ecx, [rax + 1]
call fcn.18012c598
mov r14, rax
mov r8d, dword [rbp - 0x68]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x30]
mov r8d, dword [rbp - 0x68]
mov rdx, r14
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x180006091
mov edx, dword [rbp + 0x30]
mov rax, r12
sub rax, r15
cmp rdx, rax
ja 0x180006062
lea rbx, [rdx + r15]
mov qword [rbp + 0x20], rbx
lea rdi, [rbp + 0x10]
cmp r12, 0x10
cmovae rdi, qword [rbp + 0x10]
lea rcx, [r15 + rdi]
mov r8d, edx
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x180006073
mov qword [rsp + 0x20], rdx
mov r9, r14
lea rcx, [rbp + 0x10]
call fcn.180044390
mov rcx, r14
call fcn.18012be60
xor r14d, r14d
cmp dword [rbp - 0x68], r14d
jbe 0x18000609c
mov r12, qword [rbp + 0x28]
mov r15, qword [rbp + 0x20]
jmp 0x180005fd2
mov rcx, r14
call fcn.18012be60
xor r14d, r14d
mov rdi, qword [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x20]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
lea rcx, [rbp + 0x10]
call fcn.180041490
nop
lea rcx, [rbp + 0x38]
call fcn.180041300
mov rax, rsi
mov rcx, qword [rbp + 0xa80]
xor rcx, rsp
call fcn.18012be40
mov rbx, qword [rsp + 0xbe0]
add rsp, 0xb90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800012d0
int3