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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x338
lea rax, [rsp + 0x268]
mov qword [rsp + 0x90], rax
lea rdx, str.WinHTTP_1.0
mov rcx, qword [rsp + 0x90]
call fcn.140003b20
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x78]
call fcn.140009800
nop
lea rax, [rsp + 0x208]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xa0]
call fcn.14000b730
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xb8]
call fcn.140009510
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.140002590
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 [rsp + 0x88], rax
lea rcx, [rsp + 0xb8]
call fcn.1400044e0
nop
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
cmp qword [rsp + 0x88], 0
je 0x140013da2
lea rax, [rsp + 0x210]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x288]
mov qword [rsp + 0xc0], rax
lea rdx, str.pcapp.store
mov rcx, qword [rsp + 0xc0]
call fcn.140003b20
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.140009800
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0xf0]
call fcn.140009510
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.140002590
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xf0]
call fcn.1400044e0
nop
jmp 0x140013de5
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x78]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x340]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x348]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x350]
call fcn.1400044e0
movzx eax, byte [rsp + 0x50]
jmp 0x1400143b1
cmp qword [rsp + 0x68], 0
je 0x1400142b8
lea rcx, [rsp + 0x218]
call fcn.140012b90
lea rdx, [rsp + 0x220]
mov rcx, rax
call fcn.1400146f0
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.14000b210
nop
lea rcx, [rsp + 0x80]
call fcn.1400036c0
nop
lea rax, [rsp + 0x228]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0xf8], rax
lea rdx, str._pixel.gif_guid
mov rcx, qword [rsp + 0xf8]
call fcn.140003b20
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.140009800
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x70]
call fcn.140009510
nop
lea rax, [rsp + 0x230]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x2c8]
mov qword [rsp + 0x120], rax
lea rdx, str._wsversion_wsevt_srcfa__wsevt_action
mov rcx, qword [rsp + 0x120]
call fcn.140003b20
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x130]
call fcn.140009800
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x158]
call fcn.140009510
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0x70]
call fcn.14000ce10
nop
lea rcx, [rsp + 0x158]
call fcn.1400044e0
nop
lea rax, [rsp + 0x238]
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x2e8]
mov qword [rsp + 0x160], rax
lea rdx, str._ws_wseng_time_wsnocache_llu
mov rcx, qword [rsp + 0x160]
call fcn.140003b20
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
call fcn.140009800
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x198]
call fcn.140009510
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x70]
call fcn.14000ce10
nop
lea rcx, [rsp + 0x198]
call fcn.1400044e0
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rsp + 0x1b8], rax
lea rcx, [rsp + 0x1a0]
call fcn.140002590
mov rdx, rax
lea rcx, [rsp + 0x248]
call fcn.140014730
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.1400086d0
mov qword [rsp + 0x1c0], rax
lea rcx, [rsp + 0x70]
call fcn.140002590
mov rcx, qword [rsp + 0x1b8]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x1c0]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x350]
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x348]
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x340]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
mov r9, qword [0x140083258]
lea r8, [0x140083030]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14000dc70
nop
lea rcx, [rsp + 0x248]
call fcn.1400045c0
nop
lea rax, [rsp + 0x240]
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0x308]
mov qword [rsp + 0x1c8], rax
lea rcx, [rsp + 0x80]
call fcn.140002590
mov qword [rsp + 0x1f8], rax
lea rdx, [0x14006b808]
mov rcx, qword [rsp + 0x1c8]
call fcn.140003b20
mov qword [rsp + 0x1d0], rax
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1d8]
call fcn.140009800
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
mov rdx, qword [rsp + 0x1e8]
lea rcx, [rsp + 0x200]
call fcn.140009510
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x1f0]
call fcn.140002590
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x1f8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x200]
call fcn.1400044e0
nop
cmp qword [rsp + 0x58], 0
je 0x14001429d
mov dword [rsp + 0x20], 0x2710
mov r9d, 0x2710
mov r8d, 0x2710
mov edx, 0x2710
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x14001429d
cmp qword [rsp + 0x58], 0
je 0x14001422d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x68], 0
je 0x140014241
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov byte [rsp + 0x51], 0
lea rcx, [rsp + 0x70]
call fcn.1400044e0
nop
lea rcx, [rsp + 0x80]
call fcn.1400044e0
nop
lea rcx, [rsp + 0x78]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x340]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x348]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x350]
call fcn.1400044e0
movzx eax, byte [rsp + 0x51]
jmp 0x1400143b1
lea rcx, [rsp + 0x70]
call fcn.1400044e0
nop
lea rcx, [rsp + 0x80]
call fcn.1400044e0
nop
jmp 0x1400142fb
mov byte [rsp + 0x52], 0
lea rcx, [rsp + 0x78]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x340]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x348]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x350]
call fcn.1400044e0
movzx eax, byte [rsp + 0x52]
jmp 0x1400143b1
cmp qword [rsp + 0x58], 0
je 0x140014333
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 [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14001434b
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rsp + 0x60], eax
cmp qword [rsp + 0x58], 0
je 0x14001435f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x68], 0
je 0x140014373
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov byte [rsp + 0x53], 0
lea rcx, [rsp + 0x78]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x340]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x348]
call fcn.1400044e0
nop
mov rcx, qword [rsp + 0x350]
call fcn.1400044e0
movzx eax, byte [rsp + 0x53]
add rsp, 0x338
ret