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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x468]
sub rsp, 0x568
mov rax, qword [0x1400b1100]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov r15, r9
mov r13, r8
mov r12, rdx
mov r14, rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
mov r8d, 0x18
lea rdx, str.Q29kZV9Vc2VyQWdlbnQvMS4w
lea rcx, [rbp - 0x18]
call fcn.140007470
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.14000f7c0
mov rbx, rax
mov r8, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140008f0e
mov r8, qword [rax]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, dword [rax + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rsi
mov r8, rdi
xor edx, edx
lea rcx, [rbp + 8]
call fcn.140011080
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov r9d, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140008f64
mov rbx, qword [rbx]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdx
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140008fb9
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008fb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094b7
call fcn.14003a900
xor ebx, ebx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], bl
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x140009005
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009000
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094bd
call fcn.14003a900
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rcx, qword [rbp + 8]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
test rax, rax
jne 0x140009062
lea rdx, str.WinHttpOpen_failed:
lea rcx, [0x1400b37f0]
call fcn.140006db0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140003e40
mov rcx, rax
call fcn.140007060
xor bl, bl
jmp 0x14000939e
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
lea rax, [rbp + 0x50]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x100
lea rax, [rbp + 0x250]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], 0x100
mov dword [rsp + 0x50], 0x68
mov rdx, r14
lea rcx, [rbp + 0x28]
call fcn.140010140
nop
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 7
cmova rcx, qword [rbp + 0x28]
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x140009341
xor r9d, r9d
movzx r8d, word [rsp + 0x74]
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r14, rax
test rax, rax
je 0x140009341
mov ecx, ebx
mov eax, 0x800000
cmp dword [rsp + 0x64], 2
cmove ecx, eax
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, qword [rbp - 0x68]
lea rdx, [0x140075ef0]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
je 0x140009338
cmp qword [r12 + 0x10], 0
je 0x1400092fa
cmp qword [r13 + 0x10], 0
je 0x1400092fa
mov rdx, r12
lea rcx, [rbp - 0x18]
call fcn.140010140
nop
mov rdx, r13
lea rcx, [rbp - 0x38]
call fcn.140010140
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
lea r9, [rbp - 0x18]
cmp qword [rbp], 7
cmova r9, qword [rbp - 0x18]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 2
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x14000926a
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x140009211
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000920c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094c3
call fcn.14003a900
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], bx
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14000934a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009260
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094c9
call fcn.14003a900
jmp 0x14000934a
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1400092aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400092a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094c3
call fcn.14003a900
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], bx
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x1400092fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400092f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094c9
call fcn.14003a900
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov rcx, rdi
test eax, eax
je 0x140009332
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140009404
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x14000938c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094cf
call fcn.14003a900
xor esi, esi
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], si
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x1400093de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400093d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094b1
call fcn.14003a900
movzx eax, bl
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.14003a8e0
add rsp, 0x568
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp - 0x40], ebx
nop word [rax + rax]
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140009489
mov ecx, dword [rsp + 0x40]
inc ecx
call fcn.14003a978
mov rbx, rax
mov r8d, dword [rsp + 0x40]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.1400657a0
lea r9, [rbp - 0x40]
mov r8d, dword [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140009481
mov r8d, dword [rbp - 0x40]
mov rdx, rbx
mov rcx, r15
call fcn.140005b00
mov rcx, rbx
call fcn.14003a900
cmp dword [rsp + 0x40], 0
jbe 0x140009489
xor ebx, ebx
jmp 0x140009410
mov rcx, rbx
call fcn.14003a900
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [r15 + 0x10], 0
setne bl
jmp 0x14000934c
call fcn.140043e18
nop
call fcn.140043e18
nop
call fcn.140043e18
nop
call fcn.140043e18
nop
call fcn.140043e18
nop
call fcn.140043e18
int3