Function at 0x180031d10
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
lea edi, [rcx + 0x5b0]
mov r15d, ecx
mov dword [rbp + 0x5f], edi
cmp ecx, edi
jae 0x18003223a
mov rsi, qword [rbp - 1]
mov r14, qword [rbp - 1]
mov ebx, dword [rbp + 0x5f]
mov r12, qword [rbp + 0x7f]
mov qword [rbp - 1], rbx
mov r13, qword [rbp - 1]
cmp r15d, 0x216
ja 0x1800320cd
je 0x180032006
cmp r15d, 0x146
ja 0x180031f84
je 0x180031f40
mov eax, r15d
sub eax, 0x76
je 0x180031f2e
sub eax, 0x68
je 0x1800321a8
cmp eax, 0x19
jne 0x1800321d5
mov ecx, dword [r9]
sub ecx, 0x26
je 0x180031f00
sub ecx, 0x16
je 0x180031dd9
sub ecx, 1
je 0x1800321f0
sub ecx, 1
je 0x180031e4a
cmp ecx, 0x3e
je 0x180031ed0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov edi, ILAppendID
nop
mov eax, edi
sub eax, 0x95
je 0x18003223a
cmp eax, 1
jne 0x180031e40
mov eax, dword [r8]
lea r9, [rbp - 0x31]
mov dword [rbp - 0x31], eax
lea r8, [rbp + 7]
mov eax, dword [rdx]
mov rcx, r12
mov dword [rbp - 0x41], eax
lea rdx, [rbp - 0x41]
lea rax, [rbp - 0x29]
mov dword [rbp - 0x29], reloc.SHELL32.dll_ILFindLastID
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xea
mov dword [rbp + 7], 1
call fcn.180032750
mov r8, qword [rbp + 0x6f]
mov rdx, qword [rbp + 0x67]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x19], rax
dec edi
cmp edi, 0x94
ja 0x180031de0
mov edi, 0xc8
nop
cmp edi, 0xc8
je 0x180031e69
cmp edi, 0x8020
jne 0x180031eab
mov rax, qword [rbp - 0x31]
jmp 0x18003223e
mov eax, dword [r8]
lea r9, [rbp - 0x31]
mov dword [rbp - 0x31], eax
lea rcx, [rbp - 0x39]
mov eax, dword [rdx]
mov r8, r12
mov dword [rbp - 0x29], eax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x41]
mov dword [rbp - 0x39], reloc.SHELL32.dll_ILFindLastID
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x112
mov dword [rbp - 0x41], 1
call fcn.180021160
mov qword [rbp - 0x31], rax
mov r8, qword [rbp + 0x6f]
add edi, 0x7f58
mov rdx, qword [rbp + 0x67]
cmp edi, 0xfeb0
jbe 0x180031e50
mov edi, dword [rbp + 0x5f]
nop dword [rax]
nop dword [rax + rax]
lea r8, [rbp - 0x39]
mov dword [rbp - 0x39], 0x44
mov rdx, r12
mov ecx, 0xbb
call fcn.180031510
mov r13, rax
mov r15d, 0xf7
jmp 0x1800321c9
lea r8, [rbp - 0x41]
mov dword [rbp - 0x41], 0x54
mov rdx, r12
mov ecx, 0xbb
call fcn.180031510
mov r13, rax
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x31], rax
mov r15d, 0xf7
jmp 0x1800321c9
mov eax, dword [r12 + 0x38]
mov rsi, qword [r12 + 0x60]
mov dword [rbp - 0x11], eax
jmp 0x1800321d5
test ebx, ebx
je 0x180031f71
mov ecx, SHSetFolderPathW
nop dword [rax]
mov eax, ecx
sub eax, 0xe6
je 0x180031f64
cmp eax, 1
je 0x18003223a
jmp 0x180031f67
mov dword [rbp - 0x19], ebx
inc ecx
cmp ecx, 0xe8
jb 0x180031f50
lea rcx, [rsi + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 9], rax
jmp 0x1800321c9
mov eax, r15d
sub eax, 0x15f
je 0x180031ffa
sub eax, 0x4f
je 0x180031fbd
cmp eax, 0x19
jne 0x1800321d5
mov r8, r12
mov dword [rbp - 0x21], 0x15
lea rdx, [rbp - 0x21]
mov ecx, 0x133
call fcn.180026250
mov qword [rbp - 0x31], rax
jmp 0x1800321c9
cmp qword [rbp - 9], 0
jne 0x1800321d5
mov eax, 0x3f
nop dword [rax]
cmp eax, 0x3f
je 0x180031fe2
cmp eax, 0x2664
je 0x18003223a
jmp 0x180031fe9
mov dword [rbp - 0x19], 2
add eax, 0x2625
cmp eax, 0x4c4a
jbe 0x180031fd0
jmp 0x1800321d5
mov eax, dword [r8]
mov dword [r13 + 0x18], eax
jmp 0x1800321d5
test byte [r12 + 0x80], 8
je 0x1800320af
mov rbx, qword [rbp - 9]
mov edi, 0x42
nop
cmp edi, 0x42
je 0x180032088
cmp edi, 0x2bd4
je 0x180032045
cmp edi, 0x5766
jne 0x18003208d
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x18003208d
test rsi, rsi
je 0x18003208d
nop word [rax + rax]
movsx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x180032069
inc r14
sub rsi, 1
jne 0x180032050
jmp 0x18003208d
test rsi, rsi
je 0x18003208d
nop
movsx ecx, byte [r14 + rsi - 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x18003208d
sub rsi, 1
jne 0x180032070
jmp 0x18003208d
mov r14, qword [r12 + 0x50]
add edi, 0x2b92
cmp edi, 0x82b6
jbe 0x180032020
mov rax, qword [rbp - 9]
mov rbx, qword [rbp - 1]
mov edi, dword [rbp + 0x5f]
mov byte [rax + rsi], 0
jmp 0x1800321c9
mov rdx, qword [r12 + 0x50]
mov r8, rsi
mov rcx, qword [rbp - 9]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 9]
mov byte [rax + rsi], 0
jmp 0x1800321c9
cmp r15d, 0x2e6
ja 0x18003213e
je 0x18003216b
mov eax, r15d
sub eax, 0x22f
je 0x180032131
sub eax, 0x4f
je 0x18003210b
cmp eax, 0x19
jne 0x1800321d5
mov rcx, qword [rbp - 0x31]
lea r8d, [rax + 0x18]
xor r9d, r9d
xor edx, edx
call fcn.18003caf0
jmp 0x1800321c9
mov eax, dword [rbp - 0x11]
mov rdx, qword [rbp - 9]
lea rcx, [rax*8]
mov rax, qword [r12 + 0x40]
mov qword [rcx + rax], rdx
mov rax, qword [r12 + 0x48]
mov qword [rcx + rax], rsi
jmp 0x1800321d1
mov rax, qword [rbp - 0x31]
mov qword [rax + 8], r13
jmp 0x1800321d5
mov eax, r15d
sub eax, 0x2ff
je 0x180032176
cmp eax, 0x4f
jne 0x1800321d5
mov eax, 0x6c
cmp eax, 0x6c
je 0x180032233
add eax, 0x8d
cmp eax, 0xf9
jb 0x180032156
mov qword [r12 + 0x60], 0
jmp 0x1800321d5
mov eax, 0xd3
nop dword [rax + rax]
cmp eax, 0xd3
je 0x180032194
cmp eax, 0x163
je 0x18003223a
jmp 0x18003219c
mov rcx, qword [rbp - 0x31]
mov qword [rbp - 0x19], rcx
add eax, 0x90
cmp eax, 0x1f3
jb 0x180032180
mov eax, dword [rbp - 0x11]
lea rcx, [rbp - 0x39]
inc eax
mov r8d, 0x131
mov rdx, r12
mov dword [rbp - 0x39], eax
call fcn.1800356f0
mov rbx, rax
mov qword [rbp - 1], rax
mov r9, qword [rbp + 0x77]
mov r8, qword [rbp + 0x6f]
mov rdx, qword [rbp + 0x67]
add r15d, 0x68
cmp r15d, edi
jb 0x180031d62
jmp 0x18003223a
mov eax, dword [r8]
lea rcx, [rbp - 0x41]
mov dword [rbp + 0x5f], eax
mov r9, r12
mov eax, dword [rdx]
mov r8d, 0x13
mov dword [rbp - 0x39], eax
lea rdx, [rbp - 0x39]
lea rax, [rbp + 0x5f]
mov dword [rbp - 0x41], reloc.SHELL32.dll_ILFindLastID
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x21], 1
call fcn.180032260
jmp 0x18003223e
mov dword [rbp - 0x19], 0
mov rax, qword [rbp - 0x19]
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret