Function at 0x180007dd0
Capabilities:
Check http status code
Check mutex on windows

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x260
mov qword [r11 - 0x1f0], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1800b80b8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rdx, [rcx + 8]
mov qword [r11 - 0x190], 0xf
mov qword [r11 - 0x198], r15
mov byte [r11 - 0x1a8], r15b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [r11 - 0x1a8]
call fcn.180003480
nop
mov qword [rsp + 0xc8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xc0], r15
mov byte [rsp + 0xb0], r15b
cmp byte [0x18011a150], r15b
jne 0x180007e75
lea ecx, [r15 + 3]
call fcn.180024f80
mov byte [0x18011a150], 1
call fcn.180024ef0
mov rdi, rax
lea r8, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 0x10
cmovae r8, qword [rsp + 0xd0]
mov edx, 0x2712
mov rcx, rax
call fcn.180024f50
mov edx, 0x9c
mov r8d, 0x7d0
mov rcx, rdi
call fcn.180024f50
lea r8, [rsp + 0xb0]
mov edx, 0x2711
mov rcx, rdi
call fcn.180024f50
lea r8, [0x180010250]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.180024f50
mov edx, Ordinal_46
lea r8d, [rdx - 0x2a]
mov rcx, rdi
call fcn.180024f50
mov edx, 0x34
lea r8d, [rdx - 0x33]
mov rcx, rdi
call fcn.180024f50
mov rcx, rdi
call fcn.180024f40
mov ebx, eax
mov dword [rsp + 0x30], r15d
lea r8, [rsp + 0x30]
mov edx, 0x200002
mov rcx, rdi
call fcn.180024ec0
mov rcx, rdi
call fcn.180024eb0
test ebx, ebx
mov ebx, dword [rsp + 0x30]
jne 0x180008587
cmp ebx, 0xc8
jne 0x180008587
mov r9d, 7
xor r8d, r8d
lea rdx, str.shell64
lea rcx, [rsp + 0xb0]
call fcn.180002110
cmp rax, 0xffffffffffffffff
jne 0x180007f8e
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0x10
cmovae rdx, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0xc0]
call fcn.1800050a0
nop
mov word [rsp + 0x30], 1
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x128], r15
mov qword [rsp + 0x130], r15
mov ecx, reloc.WS2_32.dll_recv
call fcn.18005c454
mov qword [rsp + 0x110], rax
test rax, rax
je 0x180007fde
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rsp + 0x110]
lea rcx, [rsp + 0x110]
mov qword [rax], rcx
mov qword [rsp + 0x138], r15
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], r15
mov qword [rsp + 0x150], r15
mov qword [rsp + 0x158], r15
mov ecx, reloc.WS2_32.dll_recv
call fcn.18005c454
mov qword [rsp + 0x138], rax
test rax, rax
je 0x180008036
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rsp + 0x138]
lea rcx, [rsp + 0x138]
mov qword [rax], rcx
mov qword [rsp + 0x178], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x170], r15
mov byte [rsp + 0x160], 0
mov qword [rsp + 0x1c0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x1b8], r15
mov byte [rsp + 0x1a8], 0
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x1c8], ax
and dword [rsp + 0x60], 0xfffffe00
mov qword [rsp + 0x68], r15
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x160]
call fcn.180003480
lea rdx, [rsp + 0x160]
cmp qword [rsp + 0x178], 0x10
cmovae rdx, qword [rsp + 0x160]
mov r8, qword [rsp + 0x170]
add r8, rdx
lea r9, [rsp + 0x58]
lea rcx, [rsp + 0x110]
call fcn.180011330
test al, al
jne 0x18000817b
mov qword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xa0], r15
mov byte [rsp + 0x90], al
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.parsing_json_failed
lea rcx, [rsp + 0x90]
call fcn.180003920
nop
lea rcx, [rsp + 0x90]
call fcn.180007420
nop
lea rcx, [rsp + 0x90]
call fcn.180003310
nop
lea rcx, [rsp + 0x58]
call fcn.180014620
nop
lea rcx, [rsp + 0x110]
call fcn.180008960
nop
lea rcx, [rsp + 0xb0]
call fcn.180003310
nop
lea rcx, [rsp + 0xd0]
call fcn.180003310
xor al, al
jmp 0x1800088ed
lea rdx, str.shell64
lea rcx, [rsp + 0x58]
call fcn.180014d50
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800144d0
nop
mov eax, dword [rsp + 0x48]
test al, al
je 0x1800081ec
cmp al, 6
je 0x1800081ec
lea rcx, [rsp + 0x40]
call fcn.180014620
nop
lea rcx, [rsp + 0x58]
call fcn.180014620
nop
lea rcx, [rsp + 0x110]
call fcn.180008960
nop
lea rcx, [rsp + 0xb0]
call fcn.180003310
nop
lea rcx, [rsp + 0xd0]
call fcn.180003310
xor al, al
jmp 0x1800088ed
xor ecx, ecx
call fcn.180063318
mov rcx, rax
call fcn.180072a88
xor r14b, r14b
mov edi, r15d
test r14b, r14b
jne 0x1800084af
lea rcx, [rsp + 0x40]
call fcn.180014a30
test eax, eax
je 0x1800084af
lea rcx, [rsp + 0x40]
call fcn.180014a30
mov ebx, eax
call fcn.180072a5c
xor edx, edx
div ebx
lea rcx, [rsp + 0x40]
call fcn.180014ae0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1800144d0
nop
lea r8, [rsi + 0x180]
lea rcx, [rsp + 0x90]
call fcn.18000c960
nop
lea r8, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae r8, qword [rsp + 0x90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
mov edx, 0x2bf20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1800082f9
lea rcx, [rsp + 0x90]
call fcn.180002fc0
nop
lea rcx, [rsp + 0x70]
call fcn.180014620
nop
lea rcx, [rsp + 0x40]
call fcn.180014620
nop
lea rcx, [rsp + 0x58]
call fcn.180014620
nop
lea rcx, [rsp + 0x110]
call fcn.180008960
nop
lea rcx, [rsp + 0xb0]
call fcn.180003310
nop
lea rcx, [rsp + 0xd0]
call fcn.180003310
xor al, al
jmp 0x1800088ed
lea rdx, str.version
lea rcx, [rsp + 0x70]
call fcn.180014d50
mov rcx, rax
call fcn.1800148b0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x100], r15
mov byte [rsp + 0xf0], 0
mov r8d, 0xa
lea rdx, str.shellext64
lea rcx, [rsp + 0xf0]
call fcn.180003920
nop
lea rdx, [0x1800a7050]
lea rcx, [rsp + 0x70]
call fcn.180014d50
lea rdx, [rsp + 0x230]
mov rcx, rax
call fcn.180014790
mov r14, rax
lea rdx, [0x1800a7054]
lea rcx, [rsp + 0x70]
call fcn.180014d50
lea rdx, [rsp + 0x210]
mov rcx, rax
call fcn.180014790
nop
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9, r14
mov r8, rax
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call fcn.1800089f0
movzx r14d, al
lea rcx, [rsp + 0x210]
call fcn.180003310
nop
lea rcx, [rsp + 0x230]
call fcn.180003310
nop
lea rcx, [rsp + 0xf0]
call fcn.180003310
test rbx, rbx
je 0x1800083ee
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea rcx, [rsp + 0x40]
call fcn.180014a30
cmp edi, eax
jbe 0x18000845b
lea rcx, [rsp + 0x90]
call fcn.180002fc0
nop
lea rcx, [rsp + 0x70]
call fcn.180014620
nop
lea rcx, [rsp + 0x40]
call fcn.180014620
nop
lea rcx, [rsp + 0x58]
call fcn.180014620
nop
lea rcx, [rsp + 0x110]
call fcn.180008960
nop
lea rcx, [rsp + 0xb0]
call fcn.180003310
nop
lea rcx, [rsp + 0xd0]
call fcn.180003310
xor al, al
jmp 0x1800088ed
inc edi
mov r8, qword [rsp + 0xa8]
cmp r8, 8
jb 0x180008483
inc r8
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x90]
call fcn.180002ed0
mov qword [rsp + 0xa8], 7
mov qword [rsp + 0xa0], r15
mov word [rsp + 0x90], r15w
lea rcx, [rsp + 0x70]
call fcn.180014620
jmp 0x180008201
lea rcx, [rsp + 0x40]
call fcn.180014620
nop
lea rcx, [rsp + 0x58]
call fcn.180014620
nop
lea rcx, [rsp + 0x110]
call fcn.180008960
nop
cmp byte [rsi + 0x258], 0
je 0x180008545
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x100], r15
mov byte [rsp + 0xf0], 0
mov r8d, 0xa
lea rdx, str.update_reg
lea rcx, [rsp + 0xf0]
call fcn.180003920
nop
lea rcx, [rsp + 0xf0]
call fcn.180007420
nop
lea rcx, [rsp + 0xf0]
call fcn.180003310
mov rax, qword [rsi + 0x228]
test rax, rax
je 0x18000853c
call rax
mov rcx, rsi
call fcn.180009020
nop
lea rcx, [rsp + 0xb0]
call fcn.180003310
nop
lea rcx, [rsp + 0xd0]
call fcn.180003310
mov al, 1
jmp 0x1800088ed
lea rcx, [0x180000000]
lea rax, [rcx + 0xa6f70]
mov qword [rsp + 0x110], rax
lea rax, [rcx + 0xa6ec8]
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x30], 1
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x1a8], rax
mov dword [rsp + 0x1a4], Ordinal_133
mov qword [rsp + 0x118], r15
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x1a8]
call fcn.180005a70
nop
lea rax, [rsp + 0x120]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x120]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [rsp + 0x120]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x11c], edx
mov rax, qword [rsp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x110], rax
mov rax, qword [rsp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x10c], edx
mov rax, qword [rsp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x110], rax
mov rax, qword [rsp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x10c], edx
lea rax, [rsp + 0x128]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x128]
call fcn.1800059c0
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x190], r15
mov dword [rsp + 0x198], r15d
mov edx, ebx
lea rcx, [rsp + 0x120]
call fcn.18000a020
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x110]
call fcn.1800097b0
nop
mov r8, rax
lea rdx, str.download_json_failed_error:
lea rcx, [rsp + 0x90]
call fcn.18000c900
nop
mov rcx, rax
call fcn.180007420
nop
mov rax, qword [rsp + 0xa8]
cmp rax, 0x10
jb 0x18000876d
inc rax
mov rcx, qword [rsp + 0x90]
cmp rax, 0x1000
jb 0x180008768
test cl, 0x1f
je 0x18000873b
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000874a
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x180008759
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x180008765
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
mov qword [rsp + 0xa8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xa0], r15
mov byte [rsp + 0x90], 0
mov rax, qword [rsp + 0x108]
cmp rax, 0x10
jb 0x1800087e8
inc rax
mov rcx, qword [rsp + 0xf0]
cmp rax, 0x1000
jb 0x1800087e2
test cl, 0x1f
je 0x1800087b5
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800087c4
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800087d3
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x1800087df
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
nop
lea rcx, [rsp + 0x1a8]
call fcn.1800097e0
nop
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x1a8], rax
lea rcx, [rsp + 0x1a8]
call fcn.180082b28
nop
mov rax, qword [rsp + 0xc8]
cmp rax, 0x10
jb 0x180008871
inc rax
mov rcx, qword [rsp + 0xb0]
cmp rax, 0x1000
jb 0x18000886c
test cl, 0x1f
je 0x18000883f
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000884e
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000885d
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x180008869
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
mov qword [rsp + 0xc8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xc0], r15
mov byte [rsp + 0xb0], 0
mov rax, qword [rsp + 0xe8]
cmp rax, 0x10
jb 0x1800088eb
inc rax
mov rcx, qword [rsp + 0xd0]
cmp rax, 0x1000
jb 0x1800088e6
test cl, 0x1f
je 0x1800088b9
call fcn.180063584
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800088c8
call fcn.180063584
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800088d7
call fcn.180063584
int3
cmp rcx, 0x27
jbe 0x1800088e3
call fcn.180063584
int3
mov rcx, rax
call fcn.18005c288
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18005c430
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret