Function at 0x1800147c0
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1801473c0]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
movabs rax, 0xfe0f1bdcd138fb9e
mov dword [rbp + 0x74], 4
mov qword [rbp - 0x80], rax
xor r14d, r14d
movabs rax, 0x10df5ad2b02a638c
mov dword [rbp + 0x70], r14d
mov qword [rbp - 0x78], rax
movabs rcx, 0xead7511f69e62fcc
movabs rax, 0x8c4c77b4de0d0ec0
mov qword [rbp + 0x68], rcx
mov qword [rbp - 0x70], rax
movabs r13, 0xfe661ba6d157fbd3
movabs rax, 0x28bab8d08576a8a2
mov qword [rbp + 0xf0], r13
mov qword [rbp - 0x68], rax
movabs rbx, 0x10f05ab3b04663e0
movabs rax, 0x4f183fcd9ed79943
mov qword [rbp + 0xf8], rbx
mov qword [rbp - 0x60], rax
movabs rdi, 0x8c6c7784de230ef5
movabs rax, 0xec3d3f83d9831a94
mov qword [rbp + 0x100], rdi
mov qword [rbp - 0x58], rax
movabs r15, 0x4f6b3fba9eb89927
movabs rax, 0x14d00f261a793848
mov qword [rbp + 0x110], r15
mov qword [rbp - 0x50], rax
movabs r12, 0xec1d3fd7d9cd1ab4
movabs rax, 0x930768da557320e5
mov qword [rbp + 0x118], r12
mov qword [rbp - 0x48], rax
movabs rax, 0xd3a4acaae8a91295
mov qword [rbp - 0x40], rax
movabs rax, 0xc1579f3df34e3ee8
mov qword [rbp - 0x38], rax
movabs rax, 0x94a7a41d188c0494
mov qword [rbp - 0x30], rax
movabs rax, 0x9716979476693702
mov qword [rbp - 0x28], rax
movabs rax, 0xd49b7d59cacbb84a
mov qword [rbp - 0x20], rax
movabs rax, 0xc505ce5a1ae613c8
mov qword [rbp - 0x18], rax
movabs rax, 0x1cadd8f3bc1ea2f6
mov qword [rbp - 0x10], rax
movabs rax, 0xf2063aae245fe1a6
mov qword [rbp - 8], rax
movabs rax, 0x242a9e1ab6fcadb7
mov qword [rbp], rax
movabs rax, 0xee58340a25a837d0
mov qword [rbp + 8], rax
movabs rax, 0x3ed654f35c7c4a60
mov qword [rbp + 0x10], rax
movabs rax, 0x5e313064f728d79
mov qword [rbp + 0x18], rax
movabs rax, 0x1c01c82c5e6bf97
mov qword [rbp + 0x20], rax
movabs rax, 0x3c96bf6215ee072b
mov qword [rbp + 0x28], rax
movabs rax, 0x7923b116a09157bc
mov qword [rbp + 0x30], rax
movabs rax, 0xc576d90d6d2952c0
mov qword [rbp + 0x38], rax
movabs rax, 0xf6eb7ff6ebb4d32
mov qword [rbp + 0x40], rax
movabs rax, 0x654912e816a32568
mov qword [rbp + 0x48], rax
movabs rax, 0x5d570a7e4a39292b
mov qword [rbp + 0x50], rax
movabs rax, 0x4af2a992f55e33ad
mov qword [rbp + 0x58], rax
movabs rax, 0xb3250c74f903f691
mov qword [rbp + 0x60], rax
movabs rax, 0x28d4b8b98521a88a
mov qword [rbp + 0x108], rax
movabs rax, 0x14e00f081a493879
mov qword [rbp + 0x120], rax
movabs rax, 0x936e688d555320de
mov qword [rbp + 0x128], rax
movabs rax, 0xd39fac9ee89f12fb
mov qword [rbp + 0x130], rax
movdqa xmm0, xmmword [rbp - 0x80]
movabs rax, 0xc1639f0bf3363ec8
xorps xmm0, xmmword [rbp + 0xf0]
movdqa xmm1, xmmword [rbp - 0x70]
xorps xmm1, xmmword [rbp + 0x100]
mov qword [rbp + 0x138], rax
movabs rax, 0x94d7a45c18ac04bd
mov qword [rbp + 0x140], rax
movabs rax, 0x974197f176053772
mov qword [rbp + 0x148], rax
movabs rax, 0xd4f27d12caa9b82f
mov qword [rbp + 0x150], rax
movabs rax, 0xc536ce6f1ac913bc
mov qword [rbp + 0x158], rax
movabs rax, 0x1c9bd8c0bc30a2c1
mov qword [rbp + 0x160], rax
movabs rax, 0xf24e3ae52477e186
mov qword [rbp + 0x168], rax
movabs rax, 0x24069e56b6b1ade3
mov qword [rbp + 0x170], rax
movabs rax, 0xee33346325c437f0
mov qword [rbp + 0x178], rax
movabs rax, 0x3eb354b45c5c4a05
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp + 0x110]
mov qword [rbp + 0x180], rax
movabs rax, 0x5ca13694f198d1a
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm1, xmmword [rbp - 0x50]
xorps xmm1, xmmword [rbp + 0x120]
mov qword [rbp + 0x188], rax
movabs rax, 0x1b21ceac5a5bfb7
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm0, xmmword [rbp - 0x40]
xorps xmm0, xmmword [rbp + 0x130]
mov qword [rbp + 0x190], rax
movabs rax, 0x3cb9bf0715830744
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm1, xmmword [rbp - 0x30]
xorps xmm1, xmmword [rbp + 0x140]
mov qword [rbp + 0x198], rax
movabs rax, 0x7913b138a0a95789
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp + 0x150]
mov qword [rbp + 0x1a0], rax
movabs rax, 0xc544d93d6d1a52ee
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmm1, xmmword [rbp - 0x10]
xorps xmm1, xmmword [rbp + 0x160]
mov qword [rbp + 0x1a8], rax
movabs rax, 0xf5fb7ce6e954d0b
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x170]
mov qword [rbp + 0x1b0], rax
movabs rax, 0x652812bb16832558
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmm1, xmmword [rbp + 0x10]
xorps xmm1, xmmword [rbp + 0x180]
movdqa xmmword [rbp], xmm0
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x190]
mov qword [rbp + 0x1b8], rax
movabs rax, 0x5d3e0a0c4a58294d
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm1, xmmword [rbp + 0x30]
xorps xmm1, xmmword [rbp + 0x1a0]
mov qword [rbp + 0x1c0], rax
movabs rax, 0x4ac5a9a1f56b3382
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm0, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp + 0x1b0]
mov qword [rbp + 0x1c8], rax
movabs rax, 0xb3250c42f930f6bf
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm1, xmmword [rbp + 0x50]
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x1d8], rcx
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm0, xmmword [rbp + 0x60]
lea edx, [r14 + 4]
xorps xmm0, xmmword [rbp + 0x1d0]
lea rcx, [rbp - 0x80]
xorps xmm1, xmmword [rbp + 0x1c0]
xor r9d, r9d
xor r8d, r8d
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmmword [rbp + 0x50], xmm1
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
test rax, rax
je 0x180014fd8
mov qword [rsp + 0x70], r15
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x78], r12
movabs rax, 0xfe081bd4d138fbbb
mov qword [rsp + 0x50], rax
mov r8d, 0x1bb
movabs rax, 0x10825adcb0256399
mov qword [rbp + 0x80], r13
mov qword [rsp + 0x58], rax
xor r9d, r9d
movdqa xmm0, xmmword [rsp + 0x50]
movabs rax, 0x8c1f77aade5a0e9b
mov qword [rsp + 0x60], rax
mov rcx, rsi
movabs rax, 0x28b1b8cb854ea8fe
mov qword [rbp + 0x88], rbx
xorps xmm0, xmmword [rbp + 0x80]
mov qword [rsp + 0x68], rax
movabs rax, 0x28d4b8b98521a88a
movdqa xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
mov qword [rbp + 0x98], rax
mov qword [rbp + 0x90], rdi
xorps xmm1, xmmword [rbp + 0x90]
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xa8], r12
xorps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdi, rax
test rax, rax
je 0x180014fef
mov qword [rsp + 0x48], rbx
lea r8, [rbp + 0x80]
movabs rax, 0xfe0e1bc5d127fbfc
mov dword [rsp + 0x30], 0x800000
mov qword [rbp + 0x80], rax
lea rdx, [rsp + 0x40]
movabs rax, 0x10af5ad8b0256385
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0x88], rax
xor r9d, r9d
movdqa xmm0, xmmword [rbp + 0x80]
movabs rax, 0x8c3377b7de540e98
mov qword [rbp + 0x90], rax
mov rcx, rdi
movabs rax, 0x28bdb8d88549a8e9
mov qword [rbp + 0xc8], rbx
xorps xmm0, xmmword [rbp + 0xc0]
mov qword [rbp + 0x98], rax
movabs rax, 0x4f5f3fcc9e979955
movdqa xmm1, xmmword [rbp + 0x90]
mov qword [rbp + 0xa0], rax
movabs rax, 0xec1d3fd7d9cd1a9b
mov qword [rbp + 0xa8], rax
movabs rax, 0x8c6c7784de230ef5
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm0, xmmword [rbp + 0xa0]
mov qword [rbp + 0xd0], rax
movabs rax, 0x28d4b8b98521a88a
mov qword [rbp + 0xd8], rax
movabs rax, 0xfe661bf2d112fb94
xorps xmm1, xmmword [rbp + 0xd0]
mov qword [rsp + 0x40], rax
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], r12
xorps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], rbx
xorps xmm0, xmmword [rbp + 0xb0]
mov qword [rsp + 0x28], r14
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rbp + 0x90], xmm1
mov qword [rsp + 0x20], r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
test rax, rax
je 0x180015017
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], r14d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x180014fc1
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x180014faa
lea rax, [rbp + 0x74]
mov qword [rsp + 0x28], r14
lea r9, [rbp + 0x70]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x20000013
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x180015057
cmp dword [rbp + 0x70], 0xc8
jne 0x180015040
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1800a1b10
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str._bResults_3_n
call fcn.180093480
mov ecx, 0x42
call fcn.1800b2dd4
int3
lea rcx, str._bResults_1_n
call fcn.180093480
mov ecx, 0x38
call fcn.1800b2dd4
int3
lea rcx, str._hSession_n
call fcn.180093480
mov ecx, 0x42
call fcn.1800b2dd4
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._hConnect___Error:__lu_n
call fcn.180093480
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, 0x42
call fcn.1800b2dd4
int3
lea rcx, str._hRequest_n
call fcn.180093480
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, 0x42
call fcn.1800b2dd4
int3
lea rcx, str.dwStatusCode___200_n
call fcn.180093480
mov ecx, 0x42
call fcn.1800b2dd4
int3
lea rcx, str._bResults_2_n
call fcn.180093480
mov ecx, 0x42
call fcn.1800b2dd4
int3