Function at 0x18007d080
Capabilities:
Check http status code
Contain obfuscated stackstrings
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x480], rbx
mov rax, qword [0x1800e1080]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov edi, r9d
mov r14, r8
mov rbx, rdx
mov r12d, ecx
mov r15, qword [rbp + 0x3a0]
test rdx, rdx
je 0x18007d98a
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp byte [rdx + rax], 0
jne 0x18007d0e3
test rax, rax
je 0x18007d98a
call qword [sym.imp.WINHTTP.dll_WinHttpCheckPlatform]
test eax, eax
je 0x18007d98a
mov rax, qword [r14]
mov qword [r14 + 8], rax
xor r13b, r13b
mov byte [rsp + 0x40], r13b
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18007d76a
test edi, edi
je 0x18007d159
mov dword [rsp + 0x20], edi
mov r9d, edi
mov r8d, edi
mov edx, edi
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
je 0x18007d75f
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x120]
call fcn.18008b920
mov dword [rbp + 0xd8], 0x69002f
mov dword [rbp + 0xdc], 0x640065
mov dword [rbp + 0xe0], 0x610073
mov dword [rbp + 0xe4], 0x650066
mov dword [rbp + 0xe8], 0x74002f
mov dword [rbp + 0xec], 0x6a0063
mov dword [rbp + 0xf0], 0x41002f
mov dword [rbp + 0xf4], 0x69006e
mov dword [rbp + 0xf8], 0x61006d
mov dword [rbp + 0xfc], 0x690074
mov dword [rbp + 0x100], 0x6e006f
mov dword [rbp + 0x104], 0x2f
xor edi, edi
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], di
lea rax, [rbp + 0xd8]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x18007d210
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0x70]
call fcn.1800018f0
nop
test r15, r15
je 0x18007d28e
mov rax, rsi
inc rax
cmp byte [r15 + rax], 0
jne 0x18007d233
test rax, rax
je 0x18007d28e
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.180001700
mov r9, rsi
mov r8, qword [rsp + 0x60]
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.18008f43c
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x18007d2e5
call fcn.18008f428
jmp 0x18007d2e5
mov dword [rbp + 0xd8], 0x6f0064
mov dword [rbp + 0xdc], 0x6e0077
mov dword [rbp + 0xe0], 0x71002e
mov dword [rbp + 0xe4], 0x2e0071
mov dword [rbp + 0xe8], 0x6f0063
mov dword [rbp + 0xec], WSAGetLastError
mov r9, rsi
lea r8, [rbp + 0xd8]
mov edx, 0x104
lea rcx, [rbp + 0x120]
call fcn.18008f43c
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, [rbp + 0x120]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r13, rax
test rax, rax
jne 0x18007d378
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x18007d34b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007d346
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007d9bc
call fcn.180088a1c
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], di
xor r13b, r13b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movzx eax, r13b
jmp 0x18007d98c
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov ecx, r12d
call fcn.18007e090
test al, al
jne 0x18007d401
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x18007d3e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007d3e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007d9bc
call fcn.180088a1c
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], di
jmp 0x18007d750
xor r12d, r12d
mov qword [rbp + 0x90], r12
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], r12w
lea r8, [rbp + 0x90]
lea edx, [r12 + 0x10]
lea rcx, [rbp + 0xc8]
call fcn.180082ad0
test al, al
jne 0x18007d504
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x18007d48b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
cmp rdx, 0x1000
mov rax, rcx
jb 0x18007d486
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007d9b6
call fcn.180088a1c
mov word [rbp + 0x90], r12w
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r12
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x18007d4e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x18007d4e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007d9bc
call fcn.180088a1c
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r12w
jmp 0x18007d750
mov dword [rbp + 0x108], 0x6e002e
mov dword [rbp + 0x10c], 0x6e0068
mov word [rbp + 0x110], r12w
lea rax, [rbp + 0x108]
nop word [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x18007d530
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0xa8]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x18007d58c
lea rdi, [rsi + rcx]
mov qword [rbp + 0xa0], rdi
lea rbx, [rbp + 0x90]
cmp rdx, 8
cmovae rbx, qword [rbp + 0x90]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
lea rdx, [rbp + 0x108]
call fcn.18008b270
mov word [rbx + rdi*2], r12w
jmp 0x18007d5aa
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x108]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.18000aec0
mov rdi, qword [rbp + 0xa0]
lea r9, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r9, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x18007d614
lea rax, [rsi + rdi]
mov qword [rbp + 0x80], rax
lea rbx, [rbp + 0x70]
cmp rcx, 8
cmovae rbx, qword [rbp + 0x70]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call fcn.18008b270
lea rax, [rdi + rsi]
mov word [rbx + rax*2], r12w
jmp 0x18007d628
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.18000aec0
lea r8, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae r8, qword [rbp + 0x70]
mov dword [rsp + 0x30], 0x800100
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor edx, edx
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
je 0x18007d445
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x18007d773
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x18007d6d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
cmp rdx, 0x1000
mov rax, rcx
jb 0x18007d6ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007d9b6
call fcn.180088a1c
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], r12w
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x18007d730
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007d72b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007d9bc
call fcn.180088a1c
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r12w
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movzx r13d, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movzx eax, r13b
jmp 0x18007d98c
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x18007d68d
mov dword [rbp + 0xb4], r12d
mov dword [rbp + 0xbc], 4
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0xbc]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb4]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x18007d68d
cmp dword [rbp + 0xb4], 0xc8
jne 0x18007d68d
mov dword [rbp + 0xb0], r12d
mov dword [rbp + 0xc0], 4
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb0]
xor r8d, r8d
mov edx, 0x20000005
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x18007d68d
mov ebx, dword [rbp + 0xb0]
lea eax, [rbx - 1]
cmp eax, 0xffffff
ja 0x18007d8e3
mov edi, ebx
mov r15, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, r15
sub rcx, rdx
cmp rbx, rcx
jae 0x18007d848
lea rax, [rdx + rbx]
jmp 0x18007d888
jbe 0x18007d88c
mov rax, qword [r14 + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x18007d86e
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, r14
call fcn.1800036b0
mov ebx, dword [rbp + 0xb0]
jmp 0x18007d88c
sub rdi, rcx
mov r8, rdi
xor edx, edx
mov rcx, r15
call fcn.18008b920
lea rax, [r15 + rdi]
mov ebx, dword [rbp + 0xb0]
mov qword [r14 + 8], rax
mov r14, qword [r14]
mov edi, r12d
mov byte [rsp + 0x40], 1
nop word [rax + rax]
mov dword [rbp + 0xb8], r12d
mov edx, edi
add rdx, r14
lea r9, [rbp + 0xb8]
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x18007d8d9
mov eax, dword [rbp + 0xb8]
test eax, eax
je 0x18007d8d9
add edi, eax
sub ebx, eax
je 0x18007d68d
jmp 0x18007d8a0
mov byte [rsp + 0x40], 0
jmp 0x18007d68d
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x18007d929
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007d924
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007d9b6
call fcn.180088a1c
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], r12w
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x18007d730
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007d72b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007d9bc
jmp 0x18007d72b
xor al, al
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.180088650
mov rbx, qword [rsp + 0x480]
add rsp, 0x440
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180092abc
nop
call fcn.180092abc
int3