Function at 0x1400c887b
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.1400cafc7
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 0x1400c8c26
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 0x1400c8c26
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 0x1400c8bc6
xor edx, edx
cmp dword [rsp + 0x68], ebx
jne 0x1400c897e
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 0x1400c8bbc
cmp dword [rsp + 0x18], ebx
je 0x1400c89c5
test dword [rsp + 0x28], 0x1000
je 0x1400c89c5
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 0x1400c89de
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 0x1400c89f7
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 0x1400c8bb5
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 0x1400c8bb5
cmp dword [rsp + 0x20], 0xc8
jne 0x1400c8bb5
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 0x1400c8b1c
call qword [rsi + 0x8c]
cmp eax, 0x2f76
jne 0x1400c8bb5
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 0x1400c8bb5
mov ecx, dword [rsp + 0x14]
test ecx, ecx
je 0x1400c8b08
mov edx, dword [rsi + 0x84]
test ebx, ebx
jne 0x1400c8ab8
push rcx
push 1
call rdx
push rax
call qword [rsi + 0x7c]
jmp 0x1400c8acb
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 0x1400c8bb5
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 0x1400c8a9b
lea eax, [rsi + 0x84]
mov dword [rsp + 0x18], eax
test ebx, ebx
je 0x1400c8bb5
jmp 0x1400c8b60
cmp dword [rsp + 0x10], ebx
je 0x1400c8bb5
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 0x1400c8bb5
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 0x1400c8bb5
push 4
push 0x3000
push qword [rsp + 0x18]
push 0
call qword [rsi + 0x3c]
mov dword [rsi + 0xd60], eax
test eax, eax
je 0x1400c8b94
push qword [rsp + 0x10]
push rbx
push rax
call fcn.1400cafa3
xor ebp, ebp
add esp, 0xc
jmp 0x1400c8b96
xor ebp, ebp
push qword [rsp + 0x10]
push 0
push rbx
call fcn.1400cafc7
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 0x1400c8c22
cmp dword [rsi + 0x234], 3
jne 0x1400c8c22
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.1400cac9b
push qword [rsi + 0x2c]
lea eax, [rsi + 0xc2c]
push qword [rsi + 0x28]
push rax
call fcn.1400cab71
add esp, 0x1c
cmp eax, dword [rdi + 0x518]
jne 0x1400c8c26
cmp edx, dword [rdi + 0x51c]
jne 0x1400c8c26
mov eax, ebp
jmp 0x1400c8c28
xor eax, eax
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x2ec
ret