Function at 0x18000c270
Capabilities:
Check http status code
Reference http user-agent string

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1250]
mov eax, 0x1350
call fcn.1800168a0
sub rsp, rax
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1388], rbx
mov qword [rsp + 0x1390], rsi
mov qword [rsp + 0x1398], rdi
mov rax, qword [0x180028020]
xor rax, rsp
mov qword [rbp + 0x1240], rax
mov rbx, rcx
mov qword [rbp - 0x78], rcx
xor esi, esi
mov dword [rsp + 0x50], esi
mov byte [rbp + 0x140], sil
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x141]
call fcn.180010bb0
lea edi, [rsi + 1]
mov byte [rbp - 0x48], sil
xor eax, eax
mov qword [rbp - 0x47], rax
mov qword [rbp - 0x3f], rax
mov qword [rbp - 0x37], rax
mov dword [rbp - 0x2f], eax
mov word [rbp - 0x2b], ax
mov byte [rbp - 0x29], al
xor ecx, ecx
call fcn.180018f40
add rax, 0x93a80
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x70]
call fcn.180019270
mov word [rbp], si
xor ecx, ecx
mov qword [rbp + 2], rcx
mov qword [rbp + 0xa], rcx
mov qword [rbp + 0x12], rcx
mov qword [rbp + 0x1a], rcx
mov qword [rbp + 0x22], rcx
mov qword [rbp + 0x2a], rcx
mov qword [rbp + 0x32], rcx
mov dword [rbp + 0x3a], ecx
mov word [rbp + 0x3e], cx
mov r9, rax
lea r8, str._a___d__b__Y__H:_M:_S_GMT
lea edx, [rsi + 0x20]
lea rcx, [rbp]
call fcn.18001a198
cmp byte [rbx + 0x40], sil
je 0x18000cc3f
nop word [rax + rax]
lea rcx, [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
cmp qword [rbx + 0x68], 0
jne 0x18000c3a0
lea rcx, [rbx + 0x80]
xor r9d, r9d
mov r8d, 0x3a98
lea rdx, [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableSRW]
cmp qword [rbx + 0x68], 0
jbe 0x18000c3fa
lea rdx, [rbp - 0x60]
lea rcx, [rbx + 0x48]
call fcn.180005aa0
mov rdx, rax
mov rax, qword [rax]
test rax, rax
jne 0x18000c3bf
mov rax, rsi
jmp 0x18000c3c2
mov rax, qword [rax]
mov rdx, qword [rdx + 0x10]
mov rcx, rdx
shr rcx, 1
and edx, 1
mov r8, qword [rax + 0x10]
cmp r8, rcx
ja 0x18000c3db
sub rcx, r8
mov rax, qword [rax + 8]
mov rcx, qword [rax + rcx*8]
mov r12, qword [rcx + rdx*8]
mov qword [rbp - 0x80], r12
lea rcx, [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov r11b, 1
jmp 0x18000c40e
mov r12, rsi
mov qword [rbp - 0x80], rsi
lea rcx, [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor r11b, r11b
movzx r14d, r11b
mov dword [rsp + 0x44], r14d
test r11b, r11b
je 0x18000c497
cmp dword [r12 + 8], 1
jge 0x18000c490
mov rcx, qword [r12]
test rcx, rcx
je 0x18000c436
call fcn.18000f360
mov qword [r12], rsi
mov dword [r12 + 8], esi
mov rcx, r12
call fcn.18000eb1c
lea rcx, [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r11, qword [rbx + 0x68]
test r11, r11
je 0x18000c481
inc qword [rbx + 0x60]
mov rax, qword [rbx + 0x58]
add rax, rax
mov rcx, qword [rbx + 0x60]
cmp rax, rcx
cmovbe rcx, rsi
mov qword [rbx + 0x60], rcx
lea rax, [r11 - 1]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x18000c481
mov qword [rbx + 0x60], rsi
lea rcx, [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x18000cc31
mov edi, 1
jmp 0x18000c49f
test edi, edi
je 0x18000cc31
test r11b, r11b
cmove edi, esi
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov rdi, qword [rbp - 0x78]
lea r8, str.POST
lea rdx, [rdi + 0x88]
lea rcx, [rsp + 0x60]
call fcn.18000d4a0
mov r13d, eax
test eax, eax
jne 0x18000cb6a
xor r13d, r13d
mov word [rbp + 0x240], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x242]
call fcn.180010bb0
lea rax, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_89.0.4389.90_Safari_537.36
mov qword [rsp + 0x20], rax
lea r9, str.User_Agent
lea r8, str._s:__s_r_n
mov edx, 0x400
lea rcx, [rbp + 0x240]
call fcn.18000cc70
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x240]
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call qword [0x18002aac8]
test eax, eax
jne 0x18000c54e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov word [rbp + 0x240], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x242]
call fcn.180010bb0
lea rax, str.text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8
mov qword [rsp + 0x20], rax
lea r9, str.Accept
lea r8, str._s:__s_r_n
mov edx, 0x400
lea rcx, [rbp + 0x240]
call fcn.18000cc70
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x240]
mov rcx, rsi
call qword [0x18002aac8]
test eax, eax
jne 0x18000c5b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov word [rbp + 0x240], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x242]
call fcn.180010bb0
lea rax, str.en_US_en_q0.5
mov qword [rsp + 0x20], rax
lea r9, str.Accept_Language
lea r8, str._s:__s_r_n
mov edx, 0x400
lea rcx, [rbp + 0x240]
call fcn.18000cc70
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x240]
mov rcx, rsi
call qword [0x18002aac8]
test eax, eax
jne 0x18000c61c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r14d, r14d
je 0x18000c7ce
mov rcx, qword [r12]
lea r14, [rcx + 4]
mov r12d, dword [r12 + 8]
add r12d, 0xfffffffc
mov edx, dword [rcx]
mov byte [rbp - 0x28], r13b
xor eax, eax
mov qword [rbp - 0x27], rax
mov qword [rbp - 0x1f], rax
mov qword [rbp - 0x17], rax
mov qword [rbp - 0xf], rax
lea rcx, [rbp - 0x28]
call fcn.18000d6d0
mov byte [rbp - 8], r13b
mov word [rbp + 0x40], r13w
xor edx, edx
mov r8d, 0xfe
lea rcx, [rbp + 0x42]
call fcn.180010bb0
lea r9, [rbp]
lea r8, [rbp - 0x28]
lea rdx, str.phpsessid_hs__path___expires_s
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
movsxd rcx, eax
mov word [rbp + rcx*2 + 0x40], r13w
mov word [rbp + 0x240], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x242]
call fcn.180010bb0
lea rax, str.application_octet_stream
mov qword [rsp + 0x20], rax
lea r9, str.Content_Type
lea r8, str._s:__s_r_n
mov edx, 0x400
lea rcx, [rbp + 0x240]
call fcn.18000cc70
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x240]
mov rcx, rsi
call qword [0x18002aac8]
test eax, eax
jne 0x18000c6fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov word [rbp + 0x240], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x242]
call fcn.180010bb0
lea rax, str.keep_alive
mov qword [rsp + 0x20], rax
lea r9, str.Connection
lea r8, str._s:__s_r_n
mov edx, 0x400
lea rcx, [rbp + 0x240]
call fcn.18000cc70
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x240]
mov rcx, rsi
call qword [0x18002aac8]
test eax, eax
jne 0x18000c761
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov word [rbp + 0xa40], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0xa42]
call fcn.180010bb0
lea r11, [rbp + 0x40]
mov qword [rsp + 0x20], r11
lea r9, str.Cookie
lea r8, str._s:__s_r_n
mov edx, 0x400
lea rcx, [rbp + 0xa40]
call fcn.18000cc70
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0xa40]
mov rcx, rsi
call qword [0x18002aac8]
test eax, eax
jne 0x18000c8af
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18000c8af
mov word [rbp + 0x240], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x242]
call fcn.180010bb0
lea rax, str.application_x_www_form_urlencoded
mov qword [rsp + 0x20], rax
lea r9, str.Content_Type
lea r8, str._s:__s_r_n
mov edx, 0x400
lea rcx, [rbp + 0x240]
call fcn.18000cc70
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x240]
mov rcx, rsi
call qword [0x18002aac8]
test eax, eax
jne 0x18000c835
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov word [rbp + 0x240], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0x242]
call fcn.180010bb0
lea rax, str.close
mov qword [rsp + 0x20], rax
lea r9, str.Connection
lea r8, str._s:__s_r_n
mov edx, 0x400
lea rcx, [rbp + 0x240]
call fcn.18000cc70
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x240]
mov rcx, rsi
call qword [0x18002aac8]
test eax, eax
jne 0x18000c89c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp - 0x48]
call fcn.18000d8b0
lea r14, [rbp - 0x48]
mov r12d, 0x12
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [0x18002aad0]
test eax, eax
jne 0x18000c925
lea rdx, [rdi + 0x88]
lea rcx, [rsp + 0x60]
call fcn.18000d070
mov rsi, qword [rsp + 0x70]
test eax, eax
je 0x18000c911
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [0x18002aad0]
test eax, eax
jne 0x18000c925
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
test eax, eax
jne 0x18000cb71
xor r13d, r13d
xor eax, eax
mov edi, eax
mov dword [rsp + 0x48], eax
test r12d, r12d
je 0x18000c980
nop word [rax + rax]
mov dword [rsp + 0x48], eax
mov r8d, r12d
sub r8d, edi
mov edx, edi
add rdx, r14
lea r9, [rsp + 0x48]
mov rcx, rsi
call qword [0x18002aae8]
test eax, eax
je 0x18000c977
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x18000c96b
add edi, eax
cmp edi, r12d
mov eax, 0
jb 0x18000c940
jmp 0x18000c980
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
cmp r12d, edi
mov eax, 0x1d
cmovne r13d, eax
test r13d, r13d
jne 0x18000cb71
xor r14d, r14d
mov r12d, r14d
mov dword [rsp + 0x50], r14d
mov r13d, r14d
mov dword [rsp + 0x54], r14d
mov dword [rsp + 0x78], 4
xor edx, edx
mov rcx, rsi
call qword [0x18002aad8]
test eax, eax
jne 0x18000c9ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
jmp 0x18000ca08
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, rsi
call qword [0x18002aaf8]
test eax, eax
jne 0x18000c9fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
jmp 0x18000ca08
mov r12d, dword [rsp + 0x54]
mov dword [rsp + 0x50], r12d
test r13d, r13d
jne 0x18000cb71
mov r13d, r14d
mov edi, r14d
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [0x18002aae0]
test eax, eax
je 0x18000cab7
nop word [rax + rax]
mov eax, 0x100
sub eax, edi
mov ecx, dword [rsp + 0x40]
cmp ecx, eax
ja 0x18000caaf
test ecx, ecx
je 0x18000cac0
nop word [rax + rax]
mov dword [rsp + 0x4c], r14d
mov eax, edi
lea rdx, [rbp + rax + 0x140]
lea r9, [rsp + 0x4c]
mov r8d, ecx
mov rcx, rsi
call qword [0x18002aaf0]
test eax, eax
je 0x18000cab7
mov eax, dword [rsp + 0x4c]
add edi, eax
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov dword [rsp + 0x40], ecx
jne 0x18000ca60
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [0x18002aae0]
test eax, eax
jne 0x18000ca40
jmp 0x18000cab7
mov r13d, 8
jmp 0x18000cac0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
test r13d, r13d
jne 0x18000cb71
mov eax, edi
mov byte [rbp + rax + 0x140], r14b
mov r14d, dword [rsp + 0x44]
cmp r12d, 0xc8
jne 0x18000cb76
test r14d, r14d
je 0x18000cb76
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x18000cb1d
mov rcx, qword [rdi]
test rcx, rcx
je 0x18000cb0c
call fcn.18000f360
xor r12d, r12d
mov qword [rdi], r12
jmp 0x18000cb0f
xor r12d, r12d
mov dword [rdi + 8], r12d
mov rcx, rdi
call fcn.18000eb1c
jmp 0x18000cb20
xor r12d, r12d
lea rcx, [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r11, qword [rbx + 0x68]
test r11, r11
je 0x18000cb5e
inc qword [rbx + 0x60]
mov rax, qword [rbx + 0x58]
add rax, rax
mov rcx, qword [rbx + 0x60]
cmp rax, rcx
cmovbe rcx, r12
mov qword [rbx + 0x60], rcx
lea rax, [r11 - 1]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x18000cb5e
mov qword [rbx + 0x60], r12
lea rcx, [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x18000cb76
mov rsi, qword [rsp + 0x70]
jmp 0x18000cb76
mov r14d, dword [rsp + 0x44]
test rsi, rsi
je 0x18000cb8b
mov rcx, rsi
call qword [0x18002ab00]
xor esi, esi
mov qword [rsp + 0x70], rsi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x18000cba5
mov rcx, rdi
call qword [0x18002ab00]
xor edi, edi
mov qword [rsp + 0x68], rdi
mov r12, qword [rsp + 0x60]
test r12, r12
je 0x18000cbc0
mov rcx, r12
call qword [0x18002ab00]
xor r12d, r12d
mov qword [rsp + 0x60], r12
test r13d, r13d
jne 0x18000cbcf
cmp dword [rsp + 0x50], 0xc8
je 0x18000cc01
test r14d, r14d
je 0x18000cc01
call fcn.180018f14
mov ecx, eax
mov eax, 0x45e7b273
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x1d4c
sub ecx, edx
add ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
test rsi, rsi
je 0x18000cc0f
mov rcx, rsi
call qword [0x18002ab00]
test rdi, rdi
je 0x18000cc1d
mov rcx, rdi
call qword [0x18002ab00]
test r12, r12
je 0x18000cc2b
mov rcx, r12
call qword [0x18002ab00]
xor esi, esi
mov edi, dword [rsp + 0x58]
mov rax, qword [rbp - 0x78]
cmp byte [rax + 0x40], 0
jne 0x18000c370
mov rcx, qword [rbp + 0x1240]
xor rcx, rsp
call fcn.18000e750
lea r11, [rsp + 0x1350]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret