Function at 0x14007a064
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140096008]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, qword [rbp + 0x80]
lea rcx, [rbp - 0x30]
mov rax, qword [0x1400970d8]
xor r15d, r15d
mov r12, qword [rbp + 0x88]
mov r13, rdx
mov rsi, qword [rbp + 0x90]
mov r14d, dword [rbx]
test r14d, r14d
mov qword [rsp + 0x40], r9
cmovns r15d, r14d
mov qword [rsp + 0x58], rbx
xor edx, edx
sar r14d, 0x1f
mov qword [rsp + 0x50], rax
and r14d, 0x80000
lea r8d, [rdx + 0x3c]
call sub.VCRUNTIME140.dll_memset
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalLock]
or edi, 0xffffffff
mov qword [rsp + 0x48], rax
cmp dword [rax], r15d
jle 0x14007a15b
mov ecx, dword [rsi]
xor edx, edx
and dword [rsp + 0x28], 0
mov r9d, dword [r12]
mov r8d, dword [rbx]
mov dword [rsp + 0x20], ecx
mov rcx, r13
call fcn.140079dc0
mov rcx, qword [rsp + 0x40]
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x40]
lea r8, [rbp - 0x14]
lea edx, [rdi + 0x21]
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetTextFaceA]
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
movsxd rax, r15d
imul rcx, rax, 0x25
mov rax, qword [rsp + 0x48]
mov al, byte [rcx + rax + 0x28]
mov byte [rbp - 0x19], al
jmp 0x14007a15e
mov r15d, edi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r15d, r15d
jns 0x14007a173
mov eax, edi
jmp 0x14007a307
mov r15d, dword [r12]
test r15d, r15d
jle 0x14007a1cb
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov edx, 0x5a
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
mov eax, 0xc71c71c7
imul ecx, dword [r12]
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov rcx, qword [0x1400970d8]
mov dword [rbp - 0x30], edx
mov rdx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r15d, dword [r12]
jmp 0x14007a1d0
bts r14d, 0x15
mov edx, dword [rsi]
mov ebx, 1
bt edx, 0xe
jae 0x14007a1e4
bts r14d, 0x14
jmp 0x14007a202
mov al, dl
and al, bl
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x12c
add ecx, 0x190
and dl, bl
mov dword [rbp - 0x20], ecx
mov byte [rbp - 0x1c], dl
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x68]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], rax
or r14d, 0x1022842
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x78], rax
lea eax, [r15 + r15*4]
add eax, eax
mov dword [rsp + 0x60], 0x68
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x40], 0x90
mov dword [rbp - 0x44], 4
mov dword [rbp - 0x7c], r14d
call qword [sym.imp.COMDLG32.dll_ChooseFontA]
test eax, eax
je 0x14007a2fb
mov r8d, dword [rbp - 0x7c]
bt r8d, 0x13
jb 0x14007a28e
movzx r8d, byte [rbp - 0x19]
lea rdx, [rbp - 0x14]
mov rcx, r13
call fcn.140079578
mov r8d, dword [rbp - 0x7c]
jmp 0x14007a290
mov eax, edi
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
bt r8d, 0x15
jb 0x14007a2b2
mov eax, 0x66666667
imul dword [rbp - 0x80]
mov edi, edx
sar edi, 2
mov eax, edi
shr eax, 0x1f
add edi, eax
mov dword [r12], edi
mov ecx, 0x4000
bt r8d, 0x14
jb 0x14007a2f7
mov eax, dword [rsi]
test ecx, eax
je 0x14007a2cc
xor eax, ecx
mov dword [rsi], eax
cmp dword [rbp - 0x20], 0x190
jle 0x14007a2d9
or eax, ebx
jmp 0x14007a2df
test bl, al
je 0x14007a2e1
xor eax, ebx
mov dword [rsi], eax
cmp byte [rbp - 0x1c], 0
jbe 0x14007a2ee
or eax, 2
mov dword [rsi], eax
jmp 0x14007a2fd
test al, 2
je 0x14007a2fd
xor eax, 2
jmp 0x14007a2ea
mov dword [rsi], ecx
jmp 0x14007a2fd
xor ebx, ebx
and qword [0x140097108], 0
mov eax, ebx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14008a940
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret