Function at 0x14000d7e0
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 - 0x518]
sub rsp, 0x618
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov rbx, r9
mov r13, r8
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x60], rcx
mov rsi, qword [rbp + 0x580]
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xe8], rcx
mov r14d, 0xf
mov qword [rbp + 0xf0], r14
mov byte [rbp + 0xd8], cl
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
mov dword [rbp - 0x40], 0x68
lea rax, [rbp + 0x100]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], 0x100
lea rax, [rbp + 0x300]
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], 0x100
mov r8, rdx
cmp qword [rdx + 0x18], r14
jbe 0x14000d8a0
mov r8, qword [rdx]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov r9d, dword [rdx + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd r12, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
xor eax, eax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
mov r8, r12
lea rcx, [rbp + 0xb8]
call fcn.14000e550
lea rax, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 7
cmova rax, qword [rbp + 0xb8]
mov r9d, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14000d90b
mov rdi, qword [rdi]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rcx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 7
cmova rcx, qword [rbp + 0xb8]
lea r9, [rbp - 0x40]
xor r8d, r8d
mov edx, dword [rbp + 0xc8]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x14000d9e9
xorps xmm0, xmm0
movups xmmword [r15], xmm0
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], rax
xor r8d, r8d
lea rdx, [0x140017004]
mov rcx, r15
call fcn.140003120
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 7
jbe 0x14000d9c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d9bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e213
call fcn.140012f4c
nop
mov rax, r15
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.140012e20
add rsp, 0x618
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000d9f6
mov r8, qword [rbx]
xor r12d, r12d
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, dword [rbx + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], r12
mov r8, rdi
lea rcx, [rbp + 0x98]
call fcn.14000e550
lea rax, [rbp + 0x98]
cmp qword [rbp + 0xb0], 7
cmova rax, qword [rbp + 0x98]
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000da62
mov r8, qword [rbx]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, dword [rbx + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rcx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 7
cmova rcx, qword [rbp + 0x98]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14000e150
xor r9d, r9d
movzx r8d, word [rbp - 0x1c]
lea rdx, [rbp + 0x100]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rcx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14000e147
mov eax, r12d
mov edx, 0x800000
cmp dword [rbp - 0x2c], 2
cmove eax, edx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x300]
lea rdx, str.POST
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
test rax, rax
je 0x14000e139
mov rcx, qword [rsi + 0x10]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rax, 0xe
jb 0x14000e220
cmp qword [rsi + 0x18], 0xf
jbe 0x14000db49
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0xe
lea r9, str.Content_Type:
lea rcx, [rsp + 0x78]
call fcn.1400033f0
nop
mov r8d, 2
lea rdx, [0x140017224]
lea rcx, [rsp + 0x78]
call fcn.140002c80
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xor esi, esi
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov byte [rax], sil
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000dbef
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dbea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dbea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012f4c
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], r14
mov byte [rsp + 0x78], 0
mov rax, qword [rbx + 0x10]
sub rdi, rax
cmp rdi, 0xc
jb 0x14000e21a
cmp qword [rbx + 0x18], 0xf
jbe 0x14000dc17
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0xc
lea r9, str.User_Agent:
lea rcx, [rbp - 0x68]
call fcn.1400033f0
nop
mov r8d, 2
lea rdx, [0x140017224]
lea rcx, [rbp - 0x68]
call fcn.140002c80
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov byte [rax], dil
lea rdx, [rbp + 0x58]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x38]
call fcn.140002c80
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x14000dcda
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dcd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dcd4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012f4c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000dd18
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dd13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dd13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012f4c
mov r8, qword [r13 + 0x10]
lea r9, [rbp + 0x6d]
movabs r10, 0xcccccccccccccccd
nop word [rax + rax]
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x14000dd30
lea r8, [rbp + 0x6d]
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.140003540
nop
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r8
mov esi, 0x10
cmp rax, rsi
jb 0x14000de15
lea rax, [r8 + 0x10]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x40]
lea rax, [0x140017258]
lea rcx, str.Content_Length:
cmp rax, rbx
jbe 0x14000ddcb
lea rax, [rbx + r8]
cmp rcx, rax
ja 0x14000ddcb
cmp rbx, rcx
jbe 0x14000ddce
mov rdi, rbx
sub rdi, rcx
jmp 0x14000ddce
mov rdi, rsi
lea rcx, [rbx + 0x10]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
lea rdx, str.Content_Length:
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub rsi, rdi
lea rdx, str.Content_Length:
add rdx, 0x10
add rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x40]
xor edi, edi
jmp 0x14000de27
mov qword [rsp + 0x28], rsi
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14000e680
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000de81
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000de7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012f4c
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
mov byte [rsp + 0x40], 0
lea rdx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rdx, qword [rbp + 0x58]
mov r8, qword [rbp + 0x68]
lea rcx, [rbp + 0x38]
call fcn.140002c80
lea r8, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova r8, qword [rbp + 0x38]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, dword [rbp + 0x48]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], rdi
mov r8, rbx
lea rcx, [rbp + 0x78]
call fcn.14000e550
lea rax, [rbp + 0x78]
cmp qword [rbp + 0x90], 7
cmova rax, qword [rbp + 0x78]
lea r8, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova r8, qword [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x48]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
mov eax, dword [r13 + 0x10]
cmp qword [r13 + 0x18], 0xf
jbe 0x14000df40
mov r13, qword [r13]
lea rdx, [rbp + 0x78]
cmp qword [rbp + 0x90], 7
cmova rdx, qword [rbp + 0x78]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9, r13
mov r8d, 0xffffffff
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14000e052
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14000e052
mov dword [rbp + 0x30], edi
nop
mov dword [rbp - 0x48], edi
lea rdx, [rbp - 0x48]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov ecx, dword [rbp - 0x48]
inc ecx
call fcn.140013304
mov rsi, rax
mov r8d, dword [rbp - 0x48]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x30]
mov r8d, dword [rbp - 0x48]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14000e040
mov edi, dword [rbp + 0x30]
mov rcx, qword [rbp + 0xe8]
mov rax, r14
sub rax, rcx
cmp rdi, rax
ja 0x14000e020
lea rax, [rcx + rdi]
mov qword [rbp + 0xe8], rax
lea rbx, [rbp + 0xd8]
cmp r14, 0xf
cmova rbx, qword [rbp + 0xd8]
add rbx, rcx
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14000e037
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rdx, rdi
lea rcx, [rbp + 0xd8]
call fcn.140003220
xor edi, edi
mov r14, qword [rbp + 0xf0]
mov rcx, rsi
call fcn.140012f4c
cmp dword [rbp - 0x48], 0
ja 0x14000df90
mov rdx, qword [rbp + 0x90]
cmp rdx, 7
jbe 0x14000e098
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e093
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e093
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012f4c
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x90], 7
mov word [rbp + 0x78], di
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x14000e0ed
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e0e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e0e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012f4c
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14000e12b
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e126
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e126
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012f4c
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor r12d, r12d
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movups xmm0, xmmword [rbp + 0xd8]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp + 0xe8]
movups xmmword [r15 + 0x10], xmm1
mov rdx, qword [rbp + 0xb0]
cmp rdx, 7
jbe 0x14000e1b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e1ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e1ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012f4c
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], r12w
mov rdx, qword [rbp + 0xd0]
cmp rdx, 7
jbe 0x14000d9c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d9bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d9bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400012d0
nop
call fcn.1400012d0
int3