Function at 0x180010940
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov rax, qword [0x1800a3d18]
xor rax, rsp
mov qword [rbp - 1], rax
mov r10, qword [rbp + 0x7f]
lea r14d, [rdx + 0x9ca]
xor esi, esi
mov qword [rbp - 0x29], r8
mov qword [rbp - 0x61], r9
mov r13, r8
mov dword [rbp - 0x79], edx
mov r11, r9
mov qword [rbp - 0x31], rcx
mov r8d, edx
mov qword [rbp - 0x69], r10
mov edi, edx
cmp edx, r14d
jae 0x180010d1a
mov eax, dword [rsp + 0x30]
mov rsi, qword [rbp - 0x31]
mov dword [rbp - 0x6d], eax
mov eax, dword [rsp + 0x30]
mov dword [rbp - 0x75], eax
nop dword [rax + rax]
cmp edi, 0x1c9
ja 0x180010be2
je 0x180010b94
cmp edi, 0xfa
ja 0x180010adb
je 0x180010ad1
cmp edi, 0x1d
je 0x180010ab0
cmp edi, 0x59
je 0x180010a04
cmp edi, 0x6d
jne 0x180010a90
mov byte [rbp - 9], 0
jmp 0x180010a90
mov rcx, qword [r10]
xor r15d, r15d
mov rax, qword [r11]
mov dword [rbp - 0x6d], r15d
test rcx, rcx
je 0x180010a23
test rax, rax
je 0x180010a90
mov eax, dword [rax]
cmp dword [rcx], eax
jne 0x180010a28
jmp 0x180010a90
test rax, rax
jne 0x180010a90
mov ebx, 0x8c
nop dword [rax]
mov eax, ebx
sub eax, 0x8c
je 0x180010a44
cmp eax, 0x73
je case.0x180010d82.29
jmp 0x180010a7d
lea rax, [rbp - 0x59]
mov dword [rbp - 0x59], 1
lea r9, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r8, [0x180092c27]
mov dword [rbp - 0x49], 0xe
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], r15d
mov ecx, 0xe3
call fcn.18000a640
mov dword [rbp - 0x51], eax
add ebx, 0x73
cmp ebx, 0x172
jb 0x180010a30
mov r10, qword [rbp - 0x69]
mov r11, qword [rbp - 0x61]
add edi, 0xb3
cmp edi, r14d
jb 0x1800109c0
mov edx, dword [rbp - 0x75]
xor esi, esi
mov ebx, dword [rbp - 0x6d]
mov r8d, dword [rbp - 0x79]
jmp 0x180010d28
xor r8d, r8d
xor edx, edx
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdx, qword [rbp - 0x61]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x51], rax
jmp 0x180010a88
mov qword [r13 + 8], 0
jmp 0x180010a90
mov eax, edi
sub eax, 0x116
je 0x180010b16
sub eax, 0xa
je 0x180010afa
cmp eax, 0x8d
jne 0x180010a90
mov qword [r13], 0
jmp 0x180010a90
mov r8d, 1
lea rdx, [0x18009a7cf]
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x180010a88
mov ecx, dword [r13]
xor r15d, r15d
mov dword [rbp - 0x75], r15d
test ecx, ecx
js 0x180010b30
mov rax, qword [r10]
cmp ecx, dword [rax]
jl 0x180010a90
mov ebx, 0x49
cmp ebx, 0x49
je 0x180010b48
cmp ebx, 0x1da8
je case.0x180010d82.29
jmp 0x180010b81
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 1
lea r9, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r8, [0x180092c27]
mov dword [rbp - 0x49], 0x16
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x59], r15d
mov ecx, 0xe3
call fcn.18000a640
mov dword [rbp - 0x51], eax
add ebx, 0x1d5f
cmp ebx, 0x3abe
jbe 0x180010b35
jmp 0x180010a88
mov rax, qword [r10]
cmp dword [rax], 0
jne 0x180010a90
mov edx, 0x85
cmp edx, 0x85
je 0x180010bbb
cmp edx, 0x2990
je case.0x180010d82.29
jmp 0x180010bcf
mov rax, qword [r10]
mov dword [rbp - 0x51], 0
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
mov qword [r11], rax
add edx, 0x290b
cmp edx, 0x5216
jbe 0x180010ba5
jmp 0x180010a90
cmp edi, 0x313
ja 0x180010ced
je 0x180010cc0
mov eax, edi
sub eax, 0x1d3
je 0x180010ca0
sub eax, 0x8d
je 0x180010c50
cmp eax, 0x1c
jne 0x180010a90
mov rax, qword [r10]
xor r15d, r15d
movsxd rdx, dword [r13]
mov r9d, r15d
mov rcx, qword [rax + 8]
cmp dword [rcx + rdx*4], r15d
jle 0x180010a90
mov r8, r11
nop
mov qword [r8], r15
lea r8, [r8 + 8]
mov rax, qword [r10]
inc r9d
movsxd rdx, dword [r13]
mov rcx, qword [rax + 8]
cmp r9d, dword [rcx + rdx*4]
jl 0x180010c30
jmp 0x180010a90
mov rdx, qword [r10 + 0x10]
mov r9d, 0x40
mov r8d, 0x1000
xor ecx, ecx
call qword [r11]
mov rsi, rax
test rax, rax
jne 0x180010a88
mov ecx, 0x37
nop word [rax + rax]
mov eax, ecx
sub eax, 0x36
je case.0x180010d82.29
cmp eax, 1
jne 0x180010c94
mov byte [rbp - 0x51], 0
dec ecx
cmp ecx, 0x35
ja 0x180010c80
jmp 0x180010a88
mov r8d, 3
lea rdx, [0x18009a7fc]
lea rcx, [rbp - 9]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov byte [rbp - 5], 0x3a
jmp 0x180010a88
cmp qword [r10 + 0x18], 0x10
mov rdx, r10
jb 0x180010ccd
mov rdx, qword [r10]
mov r8, qword [r10 + 0x10]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r10, qword [rbp - 0x69]
mov eax, dword [r10 + 0x20]
add rax, rsi
mov qword [r13 + 8], rax
jmp 0x180010a8c
cmp edi, 0x3c6
je 0x180010d06
cmp edi, 0x479
je case.0x180010d82.29
jmp 0x180010a90
mov eax, dword [r10 + 0x24]
add rax, rsi
mov byte [rbp - 0x51], 1
mov qword [r13], rax
jmp 0x180010a90
mov ebx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x30]
mov dword [rbp - 0x6d], ebx
mov dword [rbp - 0x75], edx
lea eax, [r8 + 0xe]
mov dword [rbp - 0x49], eax
cmp r8d, eax
jae case.0x180010d82.29
mov r12d, dword [rsp + 0x30]
xorps xmm6, xmm6
mov r15d, dword [rsp + 0x30]
lea r9, [0x180000000]
cmp r8d, 0x127
ja 0x18001134c
je 0x1800112ed
lea eax, [r8 - 0x1d]
cmp eax, 0xfa
ja case.0x180010d82.39
movzx eax, byte [r9 + rax + 0x113f4]
mov ecx, dword [r9 + rax*4 + 0x113c8]
add rcx, r9
jmp rcx
mov rax, qword [r10]
mov edi, esi
cmp dword [rax + 0x18], 0
jle case.0x180010d82.39
nop dword [rax]
nop word [rax + rax]
mov ebx, 0xf
mov eax, ebx
sub eax, 0xd
je 0x180010e6f
sub eax, 1
je 0x180010dcd
cmp eax, 1
jne 0x180010e45
mov rax, qword [r10]
mov r12d, edi
mov r15d, dword [rax + 0x18]
jmp 0x180010e45
mov r10, qword [r10]
mov edx, dword [r13]
mov ecx, dword [r10]
dec ecx
cmp ecx, edx
jl 0x180010e3e
movsxd rax, ecx
sub ecx, edx
lea r11d, [rcx + 1]
lea r9, [rax*4]
nop
mov r8d, 8
mov eax, r8d
sub eax, 8
je 0x180010e18
cmp eax, 1
jne 0x180010e27
mov eax, r12d
mov ecx, r15d
cdq
idiv r15d
imul ecx, eax
mov dword [rbp - 0x75], eax
sub r12d, ecx
jmp 0x180010e27
mov rcx, qword [r10 + 8]
mov eax, r15d
cdq
idiv dword [rcx + r9]
mov r15d, eax
inc r8d
cmp r8d, 0xa
jb 0x180010df6
sub r9, 4
sub r11, 1
jne 0x180010df0
mov r13, qword [rbp - 0x29]
mov r10, qword [rbp - 0x69]
mov edx, dword [rbp - 0x75]
mov r11, qword [rbp - 0x61]
dec ebx
cmp ebx, 0xc
ja 0x180010da5
mov rax, qword [r10]
inc edi
add rsi, 8
cmp edi, dword [rax + 0x18]
jl 0x180010da0
mov r8d, dword [rbp - 0x79]
jmp case.0x180010d82.39
mov rax, qword [r10]
movsxd rdx, edx
mov rcx, qword [rax + 0x20]
movsd xmm0, qword [rcx + rsi]
addsd xmm0, qword [r11 + rdx*8]
movsd qword [r11 + rdx*8], xmm0
jmp 0x180010e42
mov rax, qword [r13]
mov r14d, esi
cmp dword [rax + 0x18], 0
jle 0x180011028
mov rdi, rsi
mov esi, 0x126
nop word [rax + rax]
mov eax, esi
sub eax, 0x126
je 0x180010faa
sub eax, 1
je 0x180010f30
cmp eax, 1
jne 0x180010ff7
cmp qword [r11], 0
je 0x180010ff7
mov rax, qword [r11]
lea r9, [rbp - 0x21]
mov qword [rbp - 0x21], rax
xor r8d, r8d
mov rax, qword [rbp - 0x41]
xor edx, edx
mov ecx, 0x123
mov qword [rsp + 0x20], rax
call fcn.18005f850
mov rcx, qword [r13]
mov qword [rbp - 0x39], rax
movsd xmm1, qword [rax]
ucomisd xmm1, xmm6
mov rdx, qword [rcx + 0x20]
jp 0x180010f1d
jne 0x180010f1d
mov qword [rdi + rdx], 0
jmp 0x180010ff7
movsd xmm0, qword [rdi + rdx]
divsd xmm0, xmm1
movsd qword [rdi + rdx], xmm0
jmp 0x180010ff7
cmp qword [r10], 0
je 0x180010ff7
mov ebx, 0x8b
nop
cmp ebx, 0x8b
je 0x180010f6c
cmp ebx, 0x5288
jne 0x180010f97
mov rax, qword [r13]
mov rcx, qword [rax + 0x20]
mov rax, qword [rbp - 0x39]
movsd xmm0, qword [rcx + rdi]
mulsd xmm0, qword [rax]
movsd qword [rcx + rdi], xmm0
jmp 0x180010f97
mov rax, qword [r10]
lea r9, [rbp - 0x19]
mov qword [rbp - 0x19], rax
xor r8d, r8d
mov rax, qword [rbp - 0x41]
xor edx, edx
mov ecx, 0x123
mov qword [rsp + 0x20], rax
call fcn.18005f850
mov r10, qword [rbp - 0x69]
mov qword [rbp - 0x39], rax
add ebx, 0x51fd
cmp ebx, 0xa3fa
jbe 0x180010f40
mov ebx, dword [rbp - 0x6d]
jmp 0x180010ff7
mov rax, qword [r13]
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x11]
mov dword [rsp + 0x30], r14d
mov ecx, 0x133
mov rdx, qword [rax + 0x10]
mov qword [rbp - 0x11], rax
call fcn.18004fc30
mov r9, qword [r13]
lea rdx, [rsp + 0x30]
mov rax, qword [rbp - 0x41]
mov r8d, 0x56
mov rcx, qword [rbp - 0x31]
mov dword [rsp + 0x30], ebx
mov r9, qword [r9 + 0x10]
mov qword [rsp + 0x20], rax
call fcn.180043c50
mov r10, qword [rbp - 0x69]
inc esi
mov r11, qword [rbp - 0x61]
cmp esi, 0x129
jb 0x180010eb0
mov rax, qword [r13]
inc r14d
add rdi, 8
cmp r14d, dword [rax + 0x18]
jl 0x180010ea0
mov r8d, dword [rbp - 0x79]
xor esi, esi
mov dword [rbp - 0x51], esi
jmp case.0x180010d82.39
mov rcx, qword [r10]
test rcx, rcx
je 0x180011062
mov eax, 0x15
nop dword [rax]
cmp eax, 0x15
je 0x180011054
cmp eax, 0x7a
jne 0x180011056
mov rdx, qword [rcx + 0x10]
mov qword [rbp - 0x41], rdx
jmp 0x180011056
mov ebx, dword [rcx]
add eax, 0x65
cmp eax, 0xdf
jb 0x180011040
jmp 0x180011091
mov ecx, 0xbe
mov eax, ecx
sub eax, 0xbe
je 0x180011082
cmp eax, 1
jne 0x180011087
mov rax, qword [r11]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x41], rax
jmp 0x180011087
mov rax, qword [r11]
mov ebx, dword [rax]
inc ecx
cmp ecx, 0xc0
jb 0x180011067
mov dword [rbp - 0x6d], ebx
test ebx, ebx
jne case.0x180010d82.39
mov rbx, qword [rbp - 0x69]
mov r11d, 0x35
mov dword [rbp - 0x59], r11d
nop word [rax + rax]
cmp r11d, 0x35
je 0x1800110cb
cmp r11d, 0x105b
jne 0x180011187
mov dword [rbp - 0x51], esi
jmp case.0x180010d82.29
mov rax, qword [r13]
mov r10d, esi
cmp dword [rax + 0x18], 0
jle 0x180011187
mov r11, qword [rbp - 0x61]
mov r8, rsi
nop dword [rax]
nop word [rax + rax]
mov r9d, 0x60
mov eax, r9d
sub eax, 0x60
je 0x18001113d
cmp eax, 0x31
jne 0x180011161
mov rax, qword [r11]
test rax, rax
je 0x180011161
mov rax, qword [rax + 0x20]
movsd xmm1, qword [rax]
ucomisd xmm1, xmm6
jp 0x180011129
jne 0x180011129
mov rax, qword [r13]
mov rcx, qword [rax + 0x20]
mov qword [r8 + rcx], rsi
jmp 0x180011161
mov rax, qword [r13]
mov rcx, qword [rax + 0x20]
movsd xmm0, qword [rcx + r8]
divsd xmm0, xmm1
jmp 0x18001115b
mov rdx, qword [rbx]
test rdx, rdx
je 0x180011161
mov rax, qword [r13]
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + 0x20]
movsd xmm0, qword [rax]
mulsd xmm0, qword [rcx + r8]
movsd qword [rcx + r8], xmm0
add r9d, 0x31
cmp r9d, 0xc2
jb 0x1800110f6
mov rax, qword [r13]
inc r10d
add r8, 8
cmp r10d, dword [rax + 0x18]
jl 0x1800110f0
mov r11d, dword [rbp - 0x59]
add r11d, 0x1026
mov dword [rbp - 0x59], r11d
cmp r11d, 0x204c
jbe 0x1800110b0
mov r8d, dword [rbp - 0x79]
jmp case.0x180010d82.39
mov byte [rbp - 4], 0
jmp case.0x180010d82.39
mov ecx, 0xca
nop word [rax + rax]
mov eax, ecx
sub eax, 0xc9
je case.0x180010d82.29
cmp eax, 1
jne 0x1800111d5
mov dword [rbp - 0x51], esi
dec ecx
cmp ecx, 0xc8
ja 0x1800111c0
lea rax, [rbp - 9]
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800111f0
mov rdx, qword [r11 + 0x18]
mov rcx, qword [r11 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180011240
lea rax, [rcx + rdi]
mov qword [r11 + 0x10], rax
mov rax, r11
cmp rdx, 0x10
jb 0x180011220
mov rax, qword [r11]
lea rbx, [rax + rcx]
mov r8, rdi
mov rcx, rbx
lea rdx, [rbp - 9]
call sub.VCRUNTIME140.dll_memmove
mov r8d, dword [rbp - 0x79]
mov byte [rbx + rdi], 0
jmp case.0x180010d82.39
lea r9, [rbp - 9]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, r11
call fcn.180001f30
mov r8d, dword [rbp - 0x79]
jmp case.0x180010d82.39
cmp qword [r10 + 0x18], 0x10
mov rdx, r10
jb 0x18001126d
mov rdx, qword [r10]
mov r8, qword [r10 + 0x10]
mov rcx, r11
call fcn.180026fd0
mov r8d, dword [rbp - 0x79]
jmp case.0x180010d82.39
mov rcx, qword [r11 + 0x10]
mov rdx, qword [r11 + 0x18]
cmp rcx, rdx
jae 0x1800112ae
lea rax, [rcx + 1]
mov qword [r11 + 0x10], rax
mov rax, r11
cmp rdx, 0x10
jb 0x1800112a3
mov rax, qword [r11]
mov word [rax + rcx], 0x22
jmp case.0x180010d82.39
xor r8d, r8d
mov r9b, 0x22
mov rcx, r11
lea edx, [r8 + 1]
call fcn.180001dd0
mov r8d, dword [rbp - 0x79]
jmp case.0x180010d82.39
mov r8d, 1
lea rdx, [0x18009a809]
lea rcx, [rbp - 4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov r8d, dword [rbp - 0x79]
mov byte [rbp - 3], 0
jmp case.0x180010d82.39
mov r8, rsi
mov ecx, 0x109
cmp ecx, 0x109
je 0x180011318
cmp ecx, 0x8480
jne 0x18001132f
movzx eax, byte [rbp - 0x71]
sub al, 0x67
cmp al, 0x13
ja 0x180011390
inc qword [r11]
jmp 0x18001132f
cmp qword [r10 + 0x18], 0x10
mov rdx, r10
jb 0x180011325
mov rdx, qword [r10]
mov rax, qword [r11]
movzx eax, byte [rdx + rax]
mov byte [rbp - 0x71], al
add ecx, 0x8377
cmp ecx, 0x106ee
jbe 0x1800112f5
inc r8
cmp r8, 4
jb 0x1800112f0
mov r8d, dword [rbp - 0x79]
jmp case.0x180010d82.39
mov eax, r8d
sub eax, 0x128
je 0x18001135d
cmp eax, 1
je case.0x180010d82.29
jmp case.0x180010d82.39
mov byte [rbp - 0x51], 1
inc r8d
mov dword [rbp - 0x79], r8d
cmp r8d, dword [rbp - 0x49]
jae case.0x180010d82.29
mov edx, dword [rbp - 0x75]
xor esi, esi
mov r10, qword [rbp - 0x69]
mov r11, qword [rbp - 0x61]
mov ebx, dword [rbp - 0x6d]
jmp 0x180010d45
mov byte [rbp - 0x51], 0
mov rax, qword [rbp - 0x51]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.18008f350
mov rbx, qword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret