Function at 0x18004d040
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rbx, qword [rsp + 0x50]
lea r12d, [r9 + 0x720]
mov rdi, rdx
mov r10, r8
xor edx, edx
lea r8, [0x180000000]
mov r14d, r9d
mov r13, rcx
mov esi, r9d
cmp r9d, r12d
jae 0x18004d2e4
mov rax, qword [rsp + 0x50]
lea ecx, [rdx + 0x77]
mov r14, qword [rbp + 0x240]
movzx r15d, byte [rbp + 0x238]
mov qword [rsp + 0x58], rax
cmp esi, 0xfc
ja 0x18004d1c4
je 0x18004d1ba
lea eax, [rsi - 0xd]
cmp eax, 0xc8
ja case.default.0x18004d0e6
movzx eax, byte [r8 + rax + 0x4d568]
mov ecx, dword [r8 + rax*4 + 0x4d54c]
add rcx, r8
jmp rcx
mov r8, qword [r10 + 0x60]
mov ecx, 0x77
sub r8, qword [rdi]
movzx r15d, byte [r14]
shl r15b, 4
or r15b, byte [r13]
mov qword [rsp + 0x58], r8
jmp 0x18004d266
mov r8d, 7
lea rdx, str.ssleay
lea rcx, [rbp - 0x68]
call fcn.18006dbdc
mov r8d, 3
lea rdx, [0x180099990]
lea rcx, [rbp - 0x68]
call fcn.18006db94
jmp 0x18004d253
mov rax, qword [r10 + 8]
test rax, rax
je 0x18004d298
cmp qword [r10], rax
jb 0x18004d298
jne case.0x18004d0e6.19
mov dword [rsp + 0x50], 0xfffffffe
jmp case.0x18004d36e.213
mov rax, qword [r13]
lea r8, [rbp - 0x40]
movups xmm0, xmmword [0x1800bb930]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rax
movsd xmm1, qword [0x1800bb940]
mov r9, r10
mov rax, qword [r14]
mov dword [rsp + 0x28], 0xde
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x60], rax
movaps xmmword [rbp - 0x40], xmm0
movsd qword [rbp - 0x30], xmm1
call fcn.180053f90
mov qword [rsp + 0x50], rax
jmp 0x18004d253
mov word [rsp + 0x70], cx
jmp case.default.0x18004d0e6
mov eax, esi
sub eax, 0x16b
je 0x18004d292
sub eax, 2
je 0x18004d283
sub eax, 0x96
je 0x18004d27d
sub eax, 2
je 0x18004d218
cmp eax, 0x98
jne case.default.0x18004d0e6
mov eax, dword [r10 + 0x1c]
lea rdx, [rsp + 0x60]
mov rcx, qword [r10 + 8]
mov r9d, 0xef
mov r8, r10
mov dword [rsp + 0x60], eax
call fcn.180028b40
xor edx, edx
mov dword [rsp + 0x50], edx
jmp 0x18004d255
mov r9, qword [r10 + 8]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rdx
xor r8d, r8d
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x60], edx
mov edx, 0x116
mov qword [rsp + 0x20], r10
call fcn.180030bf0
test eax, eax
js 0x18004d2db
xor edx, edx
mov r10, qword [rbp + 0x230]
mov ecx, 0x77
mov r8, qword [rsp + 0x58]
add esi, 0x98
cmp esi, r12d
jae 0x18004d2f0
lea r8, [0x180000000]
jmp 0x18004d0b2
mov byte [rbp - 0x78], r15b
jmp case.default.0x18004d0e6
mov rdx, r10
mov ecx, 0xdc
call fcn.180055e10
jmp 0x18004d24b
lea rbx, [rbp - 0x77]
jmp case.default.0x18004d0e6
mov dword [rsp + 0x50], 0xffffffff
jmp case.0x18004d36e.213
sub r14, r10
nop dword [rax + rax]
movzx eax, word [r10]
cmp ax, word [r10 + r14]
jne 0x18004d2cd
add r10, 2
test ax, ax
jne 0x18004d2b0
mov dword [rsp + 0x50], edx
jmp case.0x18004d36e.213
sbb edx, edx
or edx, 1
mov dword [rsp + 0x50], edx
jmp case.0x18004d36e.213
mov dword [rsp + 0x50], eax
jmp case.0x18004d36e.213
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x58], r8
jmp 0x18004d2f7
mov r14d, dword [rbp + 0x238]
lea r15d, [r14 + 0x2c4]
cmp r14d, r15d
jae case.0x18004d36e.213
mov r13, qword [rsp + 0x68]
mov eax, 0x32
mov rsi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x68]
lea ecx, [rax + 0x2d]
lea r11d, [rax + 0x41]
lea r9d, [rax + 0x3a]
nop word [rax + rax]
cmp r14d, 0x137
ja 0x18004d48f
je 0x18004d47a
lea eax, [r14 - 0xd]
cmp eax, 0xef
ja case.default.0x18004d36e
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x4d650]
mov ecx, dword [rcx + rax*4 + 0x4d634]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov word [rsp + 0x72], r11w
mov ecx, 0x5f
mov eax, 0x32
add r14d, 0x3b
cmp r14d, r15d
jae case.0x18004d36e.213
mov r10, qword [rbp + 0x230]
jmp 0x18004d330
mov qword [rsp + 0x30], rdx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rdx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], 0xe9
mov r8d, 0xb7
call fcn.18000df30
mov r8, qword [sym.imp.SHLWAPI.dll_SHGetThreadRef]
lea rdx, str.SHGetThreadRef__p
lea rcx, [rbp - 0x20]
mov r13, rax
call fcn.180065020
xor edx, edx
mov r8, qword [rsp + 0x58]
mov r9d, 0x6c
lea r11d, [r9 + 7]
jmp case.0x18004d36e.14
mov eax, dword [0x18009a37c]
mov dword [rbp - 0x56], eax
mov dword [rbp - 0x52], r9d
jmp case.0x18004d36e.14
mov ecx, 1
mov eax, ecx
sub eax, 1
je 0x18004d42a
sub eax, 0x38
je 0x18004d424
cmp eax, 0x38
jne 0x18004d431
cmp qword [rdi], 0
jbe 0x18004d41f
or byte [rbx], 0x80
inc rbx
jmp 0x18004d431
shr qword [rdi], 7
jmp 0x18004d431
movzx eax, byte [rdi]
and al, 0x7f
mov byte [rbx], al
add ecx, 0x38
cmp ecx, 0xa9
jb 0x18004d405
cmp qword [rdi], 0
ja case.0x18004d36e.211
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x60], r8
mov rax, rbx
mov dword [rsp + 0x20], 0x10b
sub rax, rcx
lea r9, [rbp - 0x78]
lea rcx, [r10 + 0x58]
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
call fcn.180047860
jmp 0x18004d3d6
mov dword [rsp + 0x74], 0x5f0032
mov dword [rsp + 0x78], 0x320033
jmp 0x18004d380
mov eax, r14d
sub eax, 0x172
je 0x18004d50e
sub eax, 0x3b
je 0x18004d4da
sub eax, 0x3b
je 0x18004d4d2
sub eax, 0x3b
je 0x18004d4b2
cmp eax, 0x3b
je case.0x18004d36e.213
jmp case.default.0x18004d36e
xor r9d, r9d
lea rdx, [0x18009a384]
mov rcx, rsi
lea r8d, [r9 + 4]
call r12
xor edx, edx
mov qword [rsp + 0x50], rdx
jmp 0x18004d3d8
mov rsi, qword [r10]
jmp case.default.0x18004d36e
mov qword [rsp + 0x30], rdx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rdx
xor r9d, r9d
xor edx, edx
mov dword [rbp - 0x7e], 0x6c
mov dword [rsp + 0x20], 0xe9
lea r8d, [r9 + 0x13]
call fcn.18000df30
mov r12, rax
jmp 0x18004d3d6
mov dword [rsp + 0x7c], 0x64002e
mov word [rbp - 0x80], r9w
jmp case.default.0x18004d36e
call r13
cmp eax, 1
sete byte [rsp + 0x50]
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x320]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret