Function at 0x1400c0710
Capabilities:
Check http status code

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push r12
push r13
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov r9d, r8d
mov r13, rdx
mov r12, rcx
test rdx, rdx
je 0x1400c137e
cmp r8d, 0x400
jb 0x1400c137e
cmp dword [rdx], 0x464d4444
jne 0x1400c137e
movzx eax, byte [rdx + 4]
test al, al
je 0x1400c137e
test al, 0xf0
jne 0x1400c137e
movups xmm0, xmmword [rdx + 0xd]
mov qword [rsp + 0x1a8], r14
mov r14d, 0x42
mov dword [rbp + 0xe8], r14d
lea r11d, [r14 - 0x3e]
movups xmmword [rcx + 0x10528], xmm0
movsd xmm1, qword [rdx + 0x1d]
movsd qword [rcx + 0x10538], xmm1
mov eax, dword [rdx + 0x25]
mov dword [rcx + 0x10540], eax
movzx eax, word [rdx + 0x29]
mov word [rcx + 0x10544], ax
mov byte [rcx + 0x10546], 0
mov dword [rcx + 0x104a0], 0x20000
mov dword [rcx + 0x10490], 0
cmp r8d, 0x49
jbe 0x1400c1354
mov qword [rsp + 0x1e0], rbx
mov qword [rsp + 0x1b8], rsi
mov ebx, 0xef
mov qword [rsp + 0x1b0], rdi
lea esi, [r14 - 0x22]
lea r10d, [r14 - 0x2c]
lea ecx, [rbx + 1]
lea edx, [rbx + 0x10]
mov qword [rsp + 0x1a0], r15
lea r8d, [r14 - 0x32]
nop dword [rax]
mov edi, r14d
add rdi, r13
mov qword [rsp + 0x58], rdi
mov eax, dword [rdi]
cmp eax, 0x49504d53
ja 0x1400c0aa2
je 0x1400c0929
cmp eax, 0x44504d53
je 0x1400c0854
cmp eax, 0x45444e45
je 0x1400c132e
cmp eax, 0x47534d43
je 0x1400c1233
add r14d, 4
jmp 0x1400c1309
add r14d, 8
mov edi, 1
xor esi, esi
mov dword [rbp + 0xe8], r14d
cmp dword [r12 + 0x104a4], edi
jb 0x1400c1310
nop dword [rax]
nop dword [rax + rax]
lea ecx, [r14 + 4]
lea esi, [rsi + 1]
cmp ecx, r9d
jae 0x1400c0915
mov ebx, dword [r14 + r13]
mov eax, r9d
mov r14d, ecx
sub eax, ecx
cmp ebx, eax
cmova ebx, eax
test ebx, ebx
je 0x1400c0902
cmp edi, dword [r12 + 0x104a4]
ja 0x1400c0902
mov eax, edi
lea rcx, [rax + rax*8]
lea rdx, [r12 + rcx*8]
movzx ecx, word [rdx + 0x8e2a]
movzx eax, cl
and al, 1
neg al
sbb r8d, r8d
and r8d, 5
test byte [rbp + rsi - 0x50], 4
je 0x1400c08e4
mov r8d, ecx
and r8d, 1
shl r8d, 2
or r8d, 0x13
lea r9, [r14 + r13]
add rdx, 0x8e00
mov rcx, r12
mov dword [rsp + 0x20], ebx
call fcn.1400ab3d0
mov r9d, dword [rbp + 0xf0]
inc edi
add r14d, ebx
cmp edi, dword [r12 + 0x104a4]
jbe 0x1400c0880
mov r10d, 0x16
mov ebx, 0xef
lea r11d, [r10 - 0x12]
jmp 0x1400c1309
mov eax, r9d
sub eax, r14d
cmp dword [rdi + 4], eax
ja 0x1400c0a99
movzx eax, byte [rdi + 8]
mov r15d, 1
lea esi, [r14 + 9]
cmp eax, ecx
cmovae eax, ebx
mov dword [r12 + 0x104a4], eax
cmp eax, r15d
jb 0x1400c0a99
nop dword [rax]
movzx r8d, byte [rsi + r13]
mov edx, dword [rdi + 4]
mov ecx, dword [rbp + 0xe8]
mov r9d, esi
inc esi
add ecx, 8
add esi, r8d
mov r14d, r15d
add edx, ecx
mov eax, esi
mov byte [rbp + r14 - 0x50], 0
add rax, 0x10
cmp rax, rdx
ja 0x1400c0a80
test r8d, r8d
je 0x1400c09e0
cmp r8d, 0x20
mov eax, 0x1f
mov ebx, r14d
cmovb eax, r8d
shl rbx, 5
lea rdx, [r13 + 1]
lea rcx, [r12 + 0x10528]
add rdx, r9
mov r8d, eax
add rcx, rbx
mov edi, eax
call sub.msvcrt.dll_memcpy
lea rax, [rbx + rdi]
mov rdi, qword [rsp + 0x58]
mov byte [rax + r12 + 0x10528], 0
mov r10d, 0x16
lea rdx, [r14 + 0x238]
mov r8d, esi
add r8, r13
lea rdx, [r14 + rdx*8]
mov eax, dword [r8]
lea rdx, [r12 + rdx*8]
mov dword [rdx], eax
mov eax, dword [r8 + 4]
mov dword [rdx + 4], eax
mov eax, dword [r8 + 8]
mov dword [rdx + 8], eax
movzx eax, word [r8 + 0xc]
mov dword [rdx + 0x20], eax
mov eax, 0x40
mov word [rdx + 0x28], ax
movzx eax, byte [r8 + 0xe]
test al, al
je 0x1400c0a29
movzx eax, al
inc eax
jmp 0x1400c0a2e
mov eax, 0x100
mov word [rdx + 0x26], ax
movzx eax, byte [r8 + 0xf]
shr al, 1
and al, 1
movzx ecx, al
mov word [rdx + 0x2a], cx
test cl, 1
je 0x1400c0a49
shr dword [rdx], 1
test byte [r8 + 0xf], 1
je 0x1400c0a55
or word [rdx + 0x2a], 2
movzx eax, byte [r8 + 0xf]
cmp byte [r13 + 4], 8
mov byte [rbp + r14 - 0x50], al
mov eax, 0x1e
cmovb eax, r10d
inc r15d
add esi, eax
cmp r15d, dword [r12 + 0x104a4]
jbe 0x1400c0960
mov r14d, dword [rbp + 0xe8]
mov r9d, dword [rbp + 0xf0]
mov ebx, 0xef
mov r11d, 4
add r14d, 8
jmp 0x1400c1305
cmp eax, 0x4f464e49
je 0x1400c122c
cmp eax, 0x54544150
je 0x1400c0b43
cmp eax, 0x55514553
je 0x1400c0ac8
add r14d, 4
jmp 0x1400c1309
mov r8d, dword [rdi + 4]
cmp r8d, r9d
jae 0x1400c132e
lea eax, [r14 + 0xc]
add eax, r8d
cmp eax, r9d
ja 0x1400c132e
movzx eax, word [rdi + 8]
shr r8d, 1
cmp r8d, edx
cmovae r8d, edx
cmp eax, r8d
jae 0x1400c0b00
mov dword [r12 + 0x104d8], eax
test r8d, r8d
je 0x1400c0b3a
lea rcx, [r12 + 0xeb60]
lea rdx, [rdi + 0xc]
mov r9d, r8d
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rcx, [rcx + 1]
lea rdx, [rdx + 2]
mov byte [rcx - 1], al
dec r9
jne 0x1400c0b20
mov r9d, dword [rbp + 0xf0]
add r14d, 8
jmp 0x1400c1305
cmp dword [r12 + 0x10490], 0
jne 0x1400c1310
mov eax, dword [rdi + 4]
lea r15d, [r14 + 0xb]
cmp eax, r9d
jae 0x1400c132e
add eax, 8
add eax, r14d
cmp eax, r9d
ja 0x1400c132e
movzx edx, word [rdi + 8]
cmp edx, ecx
cmova edx, ecx
movzx ecx, byte [rdi + 0xa]
mov dword [r12 + 0x10490], ecx
movzx eax, byte [rdi + 0xb]
mov dword [rsp + 0x70], edx
cmp ecx, eax
cmovb ecx, eax
mov dword [r12 + 0x10490], ecx
cmp ecx, 0x20
jbe 0x1400c0baa
mov dword [r12 + 0x10490], esi
jmp 0x1400c0bbb
mov eax, ecx
cmp ecx, 4
cmovb eax, r11d
mov dword [r12 + 0x10490], eax
mov dword [rsp + 0x50], 0
test edx, edx
je 0x1400c1223
xor r10d, r10d
mov qword [rsp + 0x68], r10
nop dword [rax]
nop word [rax + rax]
mov ebx, r15d
add rbx, r13
movzx eax, byte [rbx]
cmp eax, 0x20
cmova eax, esi
movzx esi, word [rbx + 2]
mov dword [rbp + 0xf8], eax
cmp esi, 0x100
jbe 0x1400c0c08
mov esi, 0x100
jmp 0x1400c0c0f
cmp esi, 0x10
cmovb esi, r8d
mov eax, dword [rbx + 4]
add r15d, 8
mov dword [rsp + 0x60], esi
cmp eax, r9d
jae 0x1400c1208
add eax, 4
add eax, r15d
cmp eax, r9d
jae 0x1400c1208
mov word [r12 + r10*2 + 0xe980], si
mov edx, dword [r12 + 0x10490]
movzx ecx, si
call fcn.1400aa030
mov rdx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400c132e
mov r10, qword [rsp + 0x68]
xor r8d, r8d
mov r11d, r15d
mov qword [r12 + r10*8 + 0xe200], rax
movzx eax, byte [rbx + 1]
add r15d, dword [rbx + 4]
movzx ecx, al
mov edi, 1
mov dword [rsp + 0x44], 0x7d
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x4c], r8d
and cl, 0xf0
je 0x1400c0c9f
movzx r9d, al
shr r9d, 4
jmp 0x1400c0ca5
mov r9d, 8
xor ebx, ebx
test cl, cl
mov dword [rsp + 0x3c], r9d
setne bl
xor eax, eax
xor r14d, r14d
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x38], ebx
test esi, esi
je 0x1400c11d3
nop word [rax + rax]
mov eax, dword [r12 + 0x10490]
imul eax, r14d
lea rcx, [rax + rax*2]
lea r10, [rdx + rcx*2]
mov qword [rbp - 0x80], r10
test r8d, r8d
jne 0x1400c0d90
mov eax, r11d
xor dl, dl
inc r11d
movzx ecx, byte [rax + r13]
test cl, cl
jns 0x1400c0d27
cmp r11d, r15d
jae 0x1400c0d27
movzx r8d, byte [r11 + r13]
mov eax, r11d
inc r11d
mov dword [rsp + 0x4c], r8d
and cl, 0x7f
je 0x1400c0d3c
cmp r11d, r15d
jae 0x1400c0d3c
movzx edx, byte [r11 + r13]
mov eax, r11d
inc r11d
movzx ecx, cl
dec ecx
je 0x1400c0d78
dec ecx
je 0x1400c0d60
dec ecx
jne 0x1400c0d98
movzx r9d, dl
mov ebx, edi
shr r9d, 4
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], r9d
jmp 0x1400c0d98
mov eax, 1
movzx edx, dl
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], edx
mov ebx, eax
mov dword [rsp + 0x38], eax
jmp 0x1400c0d98
xor eax, eax
movzx edx, dl
mov ebx, 1
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x38], ebx
jmp 0x1400c0d98
dec r8d
mov dword [rsp + 0x4c], r8d
mov r8d, dword [rbp + 0xf8]
xor esi, esi
test r8d, r8d
je 0x1400c10e7
lea rdi, [rbp - 0x78]
mov r14, r10
movzx eax, byte [rdi]
test al, al
jne 0x1400c10bf
mov eax, r11d
xor r9b, r9b
xor bl, bl
movzx r10d, byte [rax + r13]
inc r11d
mov dword [rsp + 0x30], 0
mov word [rsp + 0x34], 0
test r10b, r10b
jns 0x1400c0ded
movzx ecx, byte [r11 + r13]
mov eax, r11d
inc r11d
mov byte [rdi], cl
test r10b, 0x40
je 0x1400c0e02
movzx ecx, byte [r11 + r13]
mov eax, r11d
inc r11d
mov byte [rsp + 0x31], cl
test r10b, 0x20
je 0x1400c0e3d
movzx r9d, byte [r11 + r13]
mov eax, r11d
inc r11d
mov byte [rsp + 0x30], r9b
test r9b, r9b
je 0x1400c0e3d
cmp r9b, 0xfe
jae 0x1400c0e2c
and r9b, 0x7f
mov byte [rsp + 0x30], r9b
lea eax, [r9 - 1]
cmp al, 0x7e
ja 0x1400c0e3d
add r9b, 0x18
mov byte [rsp + 0x30], r9b
test r10b, 0x10
je 0x1400c0e5e
movzx ecx, byte [r11 + r13]
mov bl, 1
mov eax, r11d
add ecx, 3
mov byte [rsp + 0x32], bl
sar ecx, 2
inc r11d
mov byte [rsp + 0x34], cl
test r10b, 8
je 0x1400c0ee6
movzx edx, byte [r11 + r13]
inc r11d
movzx r8d, byte [r11 + r13]
mov eax, r11d
inc r11d
dec edx
je 0x1400c0ec8
sub edx, 3
je 0x1400c0eae
dec edx
je 0x1400c0e98
dec edx
jne 0x1400c0edf
mov byte [rsp + 0x33], 0xa
mov byte [rsp + 0x35], r8b
jmp 0x1400c0edf
test r8b, 0xe0
je 0x1400c0edf
shr r8b, 5
mov byte [rsp + 0x33], 0xf
mov byte [rsp + 0x35], r8b
jmp 0x1400c0edf
test r8b, 0xe0
je 0x1400c0edf
shr r8b, 5
mov byte [rsp + 0x33], 0x14
or r8b, 0xd0
mov byte [rsp + 0x35], r8b
jmp 0x1400c0edf
movzx eax, r9b
test r9b, r9b
mov ecx, 0xfe
cmove eax, ecx
movzx r9d, al
mov byte [rsp + 0x30], al
mov r8d, dword [rbp + 0xf8]
test r10b, 4
je case.0x1400c0f25.7
movzx eax, byte [r11 + r13]
inc r11d
movzx edx, byte [r11 + r13]
dec eax
inc r11d
cmp eax, 0xb
ja case.0x1400c0f25.7
cdqe
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0xc13a8]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
test dl, 0xf0
je case.0x1400c0f25.7
shr dl, 4
mov byte [rsp + 0x33], 0x14
or dl, 0x20
mov byte [rsp + 0x35], dl
jmp case.0x1400c0f25.7
test dl, 0xe0
je case.0x1400c0f25.7
shr dl, 5
mov byte [rsp + 0x33], 0x14
or dl, 0xd0
mov byte [rsp + 0x35], dl
jmp case.0x1400c0f25.7
test dl, dl
je case.0x1400c0f25.7
mov byte [rsp + 0x33], 1
mov byte [rsp + 0x35], dl
jmp case.0x1400c0f25.7
mov byte [rsp + 0x33], 2
movzx eax, dl
cmp dl, 0xe0
mov ecx, 0xdf
cmovae eax, ecx
mov byte [rsp + 0x35], al
jmp case.0x1400c0f25.7
mov byte [rsp + 0x33], 3
jmp 0x1400c0f72
mov byte [rsp + 0x33], 4
mov byte [rsp + 0x35], dl
jmp case.0x1400c0f25.7
mov byte [rsp + 0x33], 5
mov byte [rsp + 0x35], dl
jmp case.0x1400c0f25.7
test dl, 0xe0
je 0x1400c0fb9
shr dl, 5
mov byte [rsp + 0x33], 0x14
or dl, 0xc0
mov byte [rsp + 0x35], dl
jmp case.0x1400c0f25.7
movzx eax, r9b
test r9b, r9b
mov ecx, 0xfe
cmove eax, ecx
mov byte [rsp + 0x30], al
test r10b, 2
je 0x1400c109d
movzx eax, byte [r11 + r13]
inc r11d
movzx edx, byte [r11 + r13]
inc r11d
dec eax
je 0x1400c1076
dec eax
je 0x1400c104f
sub eax, 5
je 0x1400c102c
dec eax
je 0x1400c1025
dec eax
jne 0x1400c109d
movzx ecx, dl
mov byte [rsp + 0x33], 0x1d
add ecx, 3
sar ecx, 2
movzx eax, cl
cmp cl, 0xf
mov ecx, 0xf
cmova eax, ecx
mov byte [rsp + 0x35], al
jmp 0x1400c109d
mov byte [rsp + 0x33], 0x1d
jmp 0x1400c1080
test bl, bl
jne 0x1400c1044
movzx eax, dl
mov byte [rsp + 0x32], 2
add eax, 3
sar eax, 2
mov byte [rsp + 0x34], al
jmp 0x1400c109d
mov byte [rsp + 0x33], 9
mov byte [rsp + 0x35], dl
jmp 0x1400c109d
cmp dl, 0xff
je 0x1400c109d
movzx ecx, dl
mov byte [rsp + 0x33], 0xb
add ecx, 3
sar ecx, 2
movzx eax, cl
cmp cl, 0xf
mov ecx, 0xf
cmova eax, ecx
mov byte [rsp + 0x35], al
jmp 0x1400c109d
cmp dl, 0xff
je 0x1400c109d
mov byte [rsp + 0x33], 0xb
movzx eax, dl
add eax, 3
sar eax, 2
cmp al, 0xf
movzx ecx, al
mov eax, 0xf
cmova ecx, eax
shl cl, 4
mov byte [rsp + 0x35], cl
cmp esi, dword [r12 + 0x10490]
jae 0x1400c10b8
mov eax, dword [rsp + 0x30]
mov dword [r14], eax
movzx eax, word [rsp + 0x34]
mov word [r14 + 4], ax
cmp r11d, r15d
ja 0x1400c10d5
jmp 0x1400c10c3
dec al
mov byte [rdi], al
inc esi
add r14, 6
inc rdi
cmp esi, r8d
jb 0x1400c0db1
mov r10, qword [rbp - 0x80]
mov ebx, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x3c]
mov r14d, dword [rsp + 0x48]
mov edi, dword [rsp + 0x40]
test ebx, ebx
je 0x1400c11a7
xor ebx, ebx
mov dword [rsp + 0x38], ebx
test edi, edi
je 0x1400c110a
test r9d, r9d
je 0x1400c110a
imul r9d, dword [rsp + 0x44]
jmp 0x1400c1114
mov eax, dword [rsp + 0x44]
inc eax
imul r9d, eax, 0xf
mov r8d, 0x1e
imul ecx, r9d, 0x1e
nop
mov eax, 0xaaaaaaab
mul ecx
shr edx, 4
cmp edx, 0xc8
jbe 0x1400c114c
cmp r8d, 6
jae 0x1400c1140
cmp edx, 0x100
jb 0x1400c114c
dec r8d
sub ecx, r9d
cmp r8d, 1
ja 0x1400c1120
xor r9d, r9d
cmp dword [r12 + 0x10490], ebx
jbe 0x1400c11a7
mov r14d, 0xdf
nop
lea rcx, [r9 + r9*2]
cmp byte [r10 + rcx*2 + 3], bl
jne 0x1400c1195
test r8d, r8d
je 0x1400c1180
mov byte [r10 + rcx*2 + 5], r8b
mov byte [r10 + rcx*2 + 3], 0x10
xor r8d, r8d
jmp 0x1400c1195
lea eax, [rdx - 0x20]
cmp eax, r14d
ja 0x1400c11a2
mov byte [r10 + rcx*2 + 5], dl
mov byte [r10 + rcx*2 + 3], 0x11
xor edx, edx
inc r9d
cmp r9d, dword [r12 + 0x10490]
jb 0x1400c1160
mov r14d, dword [rsp + 0x48]
cmp r11d, r15d
jae 0x1400c11ce
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x78]
inc r14d
mov dword [rsp + 0x48], r14d
cmp r14d, dword [rsp + 0x60]
jb 0x1400c0ce0
mov r10, qword [rsp + 0x68]
mov r9d, dword [rbp + 0xf0]
lea eax, [r15 + 8]
cmp eax, r9d
jae 0x1400c1208
mov ecx, dword [rsp + 0x50]
inc r10
mov esi, 0x20
inc ecx
mov qword [rsp + 0x68], r10
lea r8d, [rsi - 0x10]
mov dword [rsp + 0x50], ecx
cmp ecx, dword [rsp + 0x70]
jb 0x1400c0be0
mov rdi, qword [rsp + 0x58]
mov r14d, dword [rbp + 0xe8]
mov r11d, 4
lea r10d, [r11 + 0x12]
mov ebx, 0xef
add r14d, 8
jmp 0x1400c1305
cmp eax, 0x47534d43
jne 0x1400c1236
inc r14d
mov ecx, dword [rdi + 4]
cmp ecx, r9d
ja 0x1400c132e
lea eax, [r14 + 8]
add eax, ecx
cmp eax, r9d
ja 0x1400c132e
cmp ecx, 8
jb 0x1400c1301
cmp qword [r12 + 0x10518], 0
jne 0x1400c1301
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [r12 + 0x10518], rax
test rax, rax
je 0x1400c12f0
mov eax, dword [rdi + 4]
xor r8d, r8d
dec eax
je 0x1400c12df
lea r10d, [r14 + 8]
nop dword [rax]
lea eax, [r10 + r8]
movzx r9d, byte [rax + r13]
mov eax, 0xcccccccd
mul r8d
shr edx, 5
mov eax, r8d
lea ecx, [rdx + rdx*4]
shl ecx, 3
sub eax, ecx
cmp eax, 0x27
mov rax, qword [r12 + 0x10518]
jne 0x1400c12c3
mov byte [r8 + rax], 0xd
jmp 0x1400c12d2
movzx edx, r9b
cmp r9b, 0x20
cmovl edx, esi
mov byte [r8 + rax], dl
mov eax, dword [rdi + 4]
inc r8d
dec eax
cmp r8d, eax
jb 0x1400c1290
mov ecx, dword [rdi + 4]
mov rax, qword [r12 + 0x10518]
dec ecx
mov byte [rcx + rax], 0
mov r9d, dword [rbp + 0xf0]
mov r11d, 4
lea r10d, [r11 + 0x12]
add r14d, 7
add r14d, dword [rdi + 4]
mov dword [rbp + 0xe8], r14d
lea eax, [r14 + 7]
mov esi, 0x20
mov ecx, 0xf0
lea edx, [rcx + 0xf]
lea r8d, [rsi - 0x10]
cmp eax, r9d
jb 0x1400c0810
mov r15, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x1b0]
mov rsi, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x1e0]
mov r11d, 4
cmp dword [r12 + 0x10490], 0
mov r14, qword [rsp + 0x1a8]
jne 0x1400c1395
cmp dword [r12 + 0x104a4], 0
jne 0x1400c138d
mov dword [r12 + 0x104a0], 0
xor eax, eax
add rsp, 0x1c0
pop r13
pop r12
pop rbp
ret
mov dword [r12 + 0x10490], r11d
mov eax, 1
add rsp, 0x1c0
pop r13
pop r12
pop rbp
ret