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

Disassembly:
jmp 0x140345780
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push r13
push rbp
push rdi
sub rsp, 0x590
lea r13, [rsp + 0x40]
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
lea rdi, [rsp + 0x40]
mov ecx, 0xf4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5b8]
mov rax, qword [0x14065b8c0]
xor rax, r13
mov qword [rbp + 0x528], rax
mov dword [rbp + 0x504], 0
lea rcx, [0x14068903c]
call fcn.14012139b
nop
lea rax, [rbp + 0x334]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x354]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x334]
movzx r8d, byte [rbp + 0x354]
movzx edx, byte [rbp + 0x374]
lea rcx, [rbp + 0x2c0]
call fcn.140341ed0
mov rcx, rax
call fcn.140120036
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x140345b5b
mov rcx, qword [r13 + 0x578]
call fcn.14011c62a
xor r9d, r9d
movzx r8d, word [r13 + 0x580]
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140345b50
lea rax, [rbp + 0x3d4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3f4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x3d4]
movzx r8d, byte [rbp + 0x3f4]
movzx edx, byte [rbp + 0x414]
lea rcx, [rbp + 0x3a0]
call fcn.1403425c0
mov rcx, rax
call fcn.140120cd9
mov qword [rbp + 0x518], rax
lea rax, [rbp + 0x464]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x484]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x464]
movzx r8d, byte [rbp + 0x484]
movzx edx, byte [rbp + 0x4a4]
lea rcx, [rbp + 0x440]
call fcn.140342410
mov rcx, rax
call fcn.14011cc29
mov qword [rbp + 0x520], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x518]
mov rdx, qword [rbp + 0x520]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x140345b45
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140345b3a
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140345b3a
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xc4], 0
lea rcx, [rbp + 0xe8]
call fcn.14012131e
nop
mov dword [rbp + 0x64], 0
lea rdx, [rbp + 0x64]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140345aeb
mov eax, dword [rbp + 0x64]
inc eax
mov eax, eax
mov ecx, eax
call fcn.14011d1a6
mov qword [rbp + 0x4c8], rax
mov rax, qword [rbp + 0x4c8]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140345a4b
mov dword [rbp + 0x64], 0
jmp 0x140345aa1
mov eax, dword [rbp + 0x64]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rbp + 0xa8]
call fcn.14011f627
nop
lea r9, [rbp + 0x84]
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140345aa1
mov eax, dword [rbp + 0x84]
mov r8d, eax
mov rdx, qword [rbp + 0xa8]
lea rcx, [rbp + 0xe8]
call fcn.140121986
nop
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x4e8], rax
mov rcx, qword [rbp + 0x4e8]
call fcn.14011d63d
cmp qword [rbp + 0x4e8], 0
jne 0x140345ad2
mov qword [rbp + 0x518], 0
jmp 0x140345aeb
mov qword [rbp + 0xa8], 0x8123
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x518], rax
cmp dword [rbp + 0x64], 0
ja 0x1403459f8
lea rdx, [rbp + 0xe8]
mov rcx, qword [r13 + 0x570]
call fcn.140120bda
mov eax, dword [rbp + 0x504]
or eax, 1
mov dword [rbp + 0x504], eax
lea rcx, [rbp + 0xe8]
call fcn.14011b4f0
nop
mov rcx, qword [r13 + 0x578]
call fcn.140120220
nop
mov rax, qword [r13 + 0x570]
jmp 0x140345b8c
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
xor edx, edx
mov rcx, qword [r13 + 0x570]
call fcn.14011d390
mov eax, dword [rbp + 0x504]
or eax, 1
mov dword [rbp + 0x504], eax
mov rcx, qword [r13 + 0x578]
call fcn.140120220
nop
mov rax, qword [r13 + 0x570]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140612800]
call fcn.14011ff69
mov rax, rdi
mov rcx, qword [rbp + 0x528]
xor rcx, r13
call fcn.14011d6bf
lea rsp, [r13 + 0x550]
pop rdi
pop rbp
pop r13
ret