Function at 0x1004de860
Capabilities:
Check http status code

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, qword [0x100723f20]
mov r13d, dword [0x100723f18]
cmp dword [rcx + 0x64], 0xffffffff
mov rsi, rcx
mov rdi, rdx
mov r14, r8
je 0x1004de966
test r8, r8
je 0x1004de966
mov r15, qword [rcx + 0x58]
test r15, r15
je 0x1004deb00
cmp r9d, 3
je 0x1004de980
cmp qword [0x100723f10], rsi
je 0x1004debf8
mov r11d, dword [rsi + 0x64]
lea eax, [r11 - 1]
mov dword [rsp + 0x28], eax
test eax, eax
jle 0x1004dedb4
movsxd rbx, dword [r15]
mov rdx, rbx
add rbx, 1
cmp rbx, rdi
jg 0x1004dedd3
lea r12d, [r11 - 2]
lea rcx, [r15 + 0x10]
mov eax, 1
add r12, 1
jmp 0x1004de91d
movsxd rdx, dword [rcx]
lea r8, [rax + 1]
lea rcx, [rcx + 0x10]
add rdx, rbx
cmp rdx, rdi
jg 0x1004deb70
mov rax, r8
mov rbx, rdx
mov rbp, rax
mov r13d, eax
mov r10, rcx
shl rbp, 4
cmp r12, rax
jne 0x1004de900
mov rax, qword [r10 + 8]
cmp r9d, 2
je 0x1004deb81
add rax, r14
mov qword [r10 + 8], rax
cmp r9d, 1
je 0x1004de9a8
mov qword [0x100723f10], rsi
mov qword [0x100723f08], rdi
mov qword [0x100723f20], rbx
mov dword [0x100723f18], r13d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp qword [rsi], 1
jne 0x1004de8be
movsxd rax, dword [rsi + 0x24]
mov dword [rsi + 0x64], 1
mov dword [r15], 1
mov qword [r15 + 8], rax
jmp 0x1004de966
mov eax, dword [r10]
add eax, 1
add r11d, 1
mov dword [r10], eax
mov eax, dword [rsi + 0x60]
cmp r11d, eax
jge 0x1004ded00
lea rdx, [r15 + rbp]
mov eax, dword [rdx]
cmp eax, 0x31f
jle 0x1004dec60
mov r8d, dword [rsi + 0x64]
add r12, 1
mov rax, r12
sub r8d, r13d
shl rax, 4
movsxd r8, r8d
lea rcx, [r15 + rax]
mov qword [rsp + 0x28], rax
shl r8, 4
call sub.msys_2.0.dll_memmove
cmp qword [rsi], rbx
jle 0x1004decbc
xor r14d, r14d
xor r13d, r13d
jmp 0x1004dea67
mov eax, r15d
sub eax, r14d
mov r14d, 0x190
lea edi, [rax + 0x18f]
mov eax, dword [rsi + 0x1ed8]
test eax, eax
jne 0x1004deabe
test r15d, r15d
jne 0x1004deb50
mov eax, dword [r12 + 0xc]
movsxd rdi, edi
mov edx, dword [r12 + rdi*4 + 0x18]
and edx, 0x7fffffff
sub eax, edx
add r13, rax
cmp qword [rsi], rbx
jle 0x1004decc8
cmp r14d, 0x190
je 0x1004decc8
mov r8d, 0x13
mov rdx, rbx
mov rcx, rsi
call fcn.1004de430
test rax, rax
je 0x1004deda8
mov r12, qword [rax + 0x28]
mov rax, qword [rsi + 0x48]
mov r15d, ebx
sub r15d, dword [rsi + 0x40]
mov edi, eax
sub edi, dword [rsi + 0x40]
lea rbx, [rax + 1]
lea eax, [rdi + 1]
sub eax, r15d
add eax, r14d
cmp eax, 0x190
jg 0x1004dea10
mov r14d, eax
mov eax, dword [rsi + 0x1ed8]
test eax, eax
je 0x1004dea30
cmp edi, r15d
jge 0x1004dea51
movsxd rdi, edi
nop word cs:[rax + rax]
mov ecx, dword [r12 + rdi*4 + 0x18]
add rdi, 1
and ecx, 0x7fffffff
add rcx, r12
call sub.msys_2.0.dll_strlen
add eax, 1
cdqe
add r13, rax
cmp r15d, edi
jg 0x1004dead0
jmp 0x1004dea51
mov ecx, 0x640
mov dword [rsp + 0x28], r9d
call sym.vim.exe_alloc
mov r9d, dword [rsp + 0x28]
test rax, rax
mov qword [rsi + 0x58], rax
mov r15, rax
je 0x1004deda8
movabs rax, 0x100000064
mov qword [rsi + 0x60], rax
mov dword [r15], 1
mov qword [r15 + 8], 1
jmp 0x1004de8a7
sub r15d, 1
movsxd r15, r15d
mov eax, dword [r12 + r15*4 + 0x18]
and eax, 0x7fffffff
jmp 0x1004dea3e
mov r12, rax
mov rax, qword [r10 + 8]
cmp r9d, 2
jne 0x1004de93d
mov ebx, dword [r10]
sub rax, r14
mov qword [0x100723f10], 0
mov qword [r10 + 8], rax
lea edx, [rbx - 1]
mov dword [r10], edx
cmp r13d, dword [rsp + 0x28]
jge 0x1004ded30
mov ecx, dword [r10 + 0x10]
add ecx, edx
cmp ecx, 0x190
jle 0x1004ded80
test r13d, r13d
jne 0x1004ded30
test edx, edx
jg 0x1004de966
movsxd r8, dword [rsp + 0x28]
lea rdx, [r15 + 0x10]
mov rcx, r15
mov dword [rsi + 0x64], r8d
shl r8, 4
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.msys_2.0.dll_memmove
mov rax, qword [0x100723f08]
add rax, 1
cmp rax, rdi
jne 0x1004de8be
cmp r9d, 1
jne 0x1004de8be
movsxd r12, r13d
mov r11d, dword [rsi + 0x64]
mov rbp, r12
shl rbp, 4
lea edx, [r11 - 1]
lea r10, [r15 + rbp]
mov eax, dword [r10]
cmp r13d, edx
jge 0x1004dec54
movsxd rdx, eax
add rdx, rbx
cmp rdx, rdi
jg 0x1004dec54
add rbp, 0x10
add r13d, 1
mov rbx, rdx
lea r10, [r15 + rbp]
movsxd r12, r13d
mov eax, dword [r10]
add qword [r10 + 8], r14
jmp 0x1004de9ab
cmp eax, 0x18f
jle 0x1004de94a
mov eax, dword [rsi + 0x64]
lea edx, [rax - 1]
cmp r13d, edx
jne 0x1004de94a
mov rdx, qword [rsi]
mov rcx, rdx
sub rcx, rdi
cmp rcx, 1
jg 0x1004de94a
lea rbp, [r12 + 1]
add eax, 1
shl rbp, 4
mov dword [rsi + 0x64], eax
add rbp, r15
cmp rdx, rdi
jne 0x1004dee20
mov dword [rbp], 0
mov qword [rbp + 8], 0
jmp 0x1004de94a
xor r13d, r13d
xor r14d, r14d
nop word [rax + rax]
mov qword [0x100723f10], 0
mov rax, qword [rsi + 0x58]
add rbp, rax
add rax, qword [rsp + 0x28]
mov dword [rbp], r14d
sub dword [rax], r14d
mov qword [rbp + 8], r13
sub qword [rax + 8], r13
add dword [rsi + 0x64], 1
jmp 0x1004de966
lea edx, [rax + rax*2]
mov rcx, r15
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [rsi + 0x60], eax
movsxd rdx, eax
shl rdx, 4
call sub.msys_2.0.dll_realloc
mov qword [rsi + 0x58], rax
test rax, rax
je 0x1004ded9b
mov r15, rax
jmp 0x1004de9c1
mov ecx, dword [r10 - 0x10]
add ecx, edx
cmp edx, 0xa
jle 0x1004ded47
cmp ecx, 0x190
jg 0x1004de966
add qword [r10 - 8], rax
mov eax, dword [rsp + 0x28]
mov dword [r10 - 0x10], ecx
mov dword [rsi + 0x64], eax
mov esi, eax
cmp r13d, eax
jge 0x1004de966
movsxd rax, r13d
sub esi, r13d
shl rax, 4
movsxd r8, esi
lea rdx, [r15 + rax + 0x10]
lea rcx, [r15 + rax]
shl r8, 4
jmp 0x1004debde
add r13d, 1
movsxd r10, r13d
shl r10, 4
add r10, r15
mov ecx, dword [r10]
mov rax, qword [r10 + 8]
add ecx, dword [r10 - 0x10]
jmp 0x1004ded47
mov rcx, r15
call sym.vim.exe_vim_free
nop dword [rax + rax]
mov dword [rsi + 0x64], 0xffffffff
jmp 0x1004de966
mov rax, qword [r15 + 8]
cmp r9d, 2
je 0x1004dee00
mov r10, r15
xor r13d, r13d
mov ebx, 1
xor r12d, r12d
xor ebp, ebp
jmp 0x1004de93d
mov rax, qword [r15 + 8]
cmp r9d, 2
jne 0x1004dedbe
sub rax, r14
sub edx, 1
mov r10, r15
xor r13d, r13d
mov qword [r15 + 8], rax
mov dword [r15], edx
mov qword [0x100723f10], 0
jmp 0x1004deba7
mov qword [0x100723f10], 0
sub rax, r14
mov qword [r15 + 8], rax
mov eax, dword [r15]
lea edx, [rax - 1]
mov dword [r15], edx
jmp 0x1004debc2
mov r8d, 0x13
mov rcx, rsi
call fcn.1004de430
test rax, rax
je 0x1004deda8
mov rax, qword [rax + 0x28]
mov rcx, qword [rax + 0x10]
mov edx, dword [rax + 8]
cmp rcx, 1
je 0x1004dee6d
mov eax, dword [rax + rcx*4 + 0x10]
and eax, 0x7fffffff
sub eax, edx
cdqe
sub dword [rbp - 0x10], 1
sub qword [rbp - 8], rax
mov qword [rbp + 8], rax
mov dword [rbp], 1
jmp 0x1004de94a
mov eax, dword [rax + 0xc]
sub eax, edx
jmp 0x1004dee53