Function at 0x140077218
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2ec
push rbx
push rbp
push rsi
mov esi, dword [rsp + 0x2fc]
lea eax, [rsp + 0x34]
push rdi
push 0x3c
xor ebp, ebp
xor ebx, ebx
and dword [rsp + 0x24], ebx
mov edi, 0x4600300
push rbp
push rax
call fcn.140079964
add esp, 0xc
mov dword [rsp + 0x38], 0x3c
lea eax, [rsp + 0x1f8]
mov ecx, 0x104
mov dword [rsp + 0x48], eax
lea eax, [rsp + 0xf4]
mov dword [rsp + 0x64], eax
lea eax, [rsp + 0x74]
mov dword [rsp + 0x54], eax
lea eax, [rsp + 0xb4]
push 0x40
mov dword [rsp + 0x60], eax
lea eax, [rsp + 0x3c]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x6c], ecx
pop rcx
push rax
push 0x10000000
push rbp
lea eax, [rsi + 0x924]
mov dword [rsp + 0x64], ecx
push rax
mov dword [rsp + 0x70], ecx
call qword [rsi + 0xbc]
test eax, eax
je 0x1400775c3
xor eax, eax
cmp dword [rsp + 0x44], 4
sete al
mov dword [rsp + 0x18], eax
mov eax, 0x4e03300
cmove edi, eax
xor eax, eax
push rax
push rax
push rax
push rax
push rax
mov dword [rsp + 0x3c], edi
call qword [rsi + 0xc0]
mov dword [rsp + 0x34], eax
test eax, eax
je 0x1400775c3
xor ecx, ecx
push rcx
push rcx
push 3
push rcx
push rcx
push qword [rsp + 0x64]
lea ecx, [rsp + 0x210]
push rcx
push rax
call qword [rsi + 0xc4]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140077563
xor edx, edx
cmp dword [rsp + 0x68], ebx
jne 0x14007731b
mov word [rsp + 0xf4], 0x2f
push rdx
push rdi
push rdx
push rdx
push rdx
lea ecx, [rsp + 0x108]
push rcx
push rdx
push rax
call qword [rsi + 0xd8]
mov edi, eax
test edi, edi
je 0x140077559
cmp dword [rsp + 0x18], ebx
je 0x140077362
test dword [rsp + 0x28], 0x1000
je 0x140077362
push 4
lea eax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x3380
push rax
push 0x1f
push rdi
call qword [rsi + 0xc8]
cmp dword [rsp + 0x58], ebx
je 0x14007737b
push qword [rsp + 0x58]
push qword [rsp + 0x58]
push 0x1c
push rdi
call qword [rsi + 0xc8]
mov ebp, eax
cmp dword [rsp + 0x60], ebx
je 0x140077394
push qword [rsp + 0x60]
push qword [rsp + 0x60]
push 0x1d
push rdi
call qword [rsi + 0xc8]
mov ebp, eax
xor eax, eax
push rax
push rax
push rax
push rax
push rdi
call qword [rsi + 0xdc]
test eax, eax
je 0x140077552
push 0
lea eax, [rsp + 0x20]
mov dword [rsp + 0x20], 4
push rax
lea eax, [rsp + 0x28]
push rax
push 0x20000013
push rdi
call qword [rsi + 0xe0]
test eax, eax
je 0x140077552
cmp dword [rsp + 0x20], 0xc8
jne 0x140077552
and dword [rsp + 0x10], ebx
lea eax, [rsp + 0x1c]
push 0
push rax
lea eax, [rsp + 0x18]
mov dword [rsp + 0x24], 4
push rax
push 0x20000005
push rdi
call qword [rsi + 0xe0]
test eax, eax
jne 0x1400774b9
call qword [rsi + 0x8c]
cmp eax, 0x2f76
jne 0x140077552
xor eax, eax
push rax
push rax
mov dword [rsp + 0x18], eax
lea eax, [rsp + 0x1c]
push rax
push rdi
call qword [rsi + 0xd4]
test eax, eax
je 0x140077552
mov ecx, dword [rsp + 0x14]
test ecx, ecx
je 0x1400774a5
mov edx, dword [rsi + 0x84]
test ebx, ebx
jne 0x140077455
push rcx
push 1
call rdx
push rax
call qword [rsi + 0x7c]
jmp 0x140077468
mov eax, dword [rsp + 0x10]
add eax, ecx
push rax
push rbx
push 1
call rdx
push rax
call qword [rsi + pe_nt_image_headers64]
mov ebx, eax
test ebx, ebx
je 0x140077552
lea eax, [rsp + 0x24]
push rax
push qword [rsp + 0x18]
mov eax, dword [rsp + 0x18]
add eax, ebx
push rax
push rdi
call qword [rsi + 0xcc]
mov eax, dword [rsp + 0x14]
add dword [rsp + 0x10], eax
lea eax, [rsp + 0x14]
push 0
push 0
push rax
push rdi
call qword [rsi + 0xd4]
test eax, eax
jne 0x140077438
lea eax, [rsi + 0x84]
mov dword [rsp + 0x18], eax
test ebx, ebx
je 0x140077552
jmp 0x1400774fd
cmp dword [rsp + 0x10], ebx
je 0x140077552
push qword [rsp + 0x10]
lea eax, [rsi + 0x84]
push 1
call qword [rax]
push rax
call qword [rsi + 0x7c]
mov ebx, eax
test ebx, ebx
je 0x140077552
and dword [rsp + 0x24], 0
lea eax, [rsp + 0x24]
push rax
push qword [rsp + 0x14]
push rbx
push rdi
call qword [rsi + 0xcc]
mov ebp, eax
lea eax, [rsi + 0x84]
mov dword [rsp + 0x18], eax
cmp dword [rsp + 0x10], 0
je 0x140077552
push 4
push 0x3000
push qword [rsp + 0x18]
push 0
call qword [rsi + 0x3c]
mov dword [rsi + 0xd60], eax
test eax, eax
je 0x140077531
push qword [rsp + 0x10]
push rbx
push rax
call fcn.140079940
xor ebp, ebp
add esp, 0xc
jmp 0x140077533
xor ebp, ebp
push qword [rsp + 0x10]
push 0
push rbx
call fcn.140079964
mov eax, dword [rsp + 0x24]
add esp, 0xc
push rbx
push 1
call qword [rax]
push rax
call qword [rsi + 0x88]
push rdi
call qword [rsi + 0xd0]
push qword [rsp + 0x30]
call qword [rsi + 0xd0]
push qword [rsp + 0x34]
call qword [rsi + 0xd0]
test ebp, ebp
je 0x1400775bf
cmp dword [rsi + 0x234], 3
jne 0x1400775bf
push qword [rsi + 0xd58]
mov edi, dword [rsi + 0xd60]
lea eax, [rsi + 0xd48]
push rdi
push rax
lea eax, [rsi + 0xd38]
push rax
call fcn.140079638
push qword [rsi + 0x2c]
lea eax, [rsi + 0xc2c]
push qword [rsi + 0x28]
push rax
call fcn.14007950e
add esp, 0x1c
cmp eax, dword [rdi + 0x518]
jne 0x1400775c3
cmp edx, dword [rdi + 0x51c]
jne 0x1400775c3
mov eax, ebp
jmp 0x1400775c5
xor eax, eax
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x2ec
ret