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

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x260
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov rax, qword [0x1800f10e0]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [r11 - 0x138], 0xf
mov qword [r11 - 0x140], r14
mov byte [r11 - 0x150], r14b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1800f9088]
lea rcx, [r11 - 0x150]
call fcn.180007c70
nop
mov qword [rsp + 0xc0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xb8], r14
mov byte [rsp + 0xa8], r14b
cmp byte [0x1800f9568], r14b
jne 0x180003414
lea ecx, [r14 + 3]
call fcn.1800321d0
mov byte [0x1800f9568], 1
call fcn.180032140
mov rdi, rax
lea r8, [rsp + 0x118]
cmp qword [rsp + 0x130], 0x10
cmovae r8, qword [rsp + 0x118]
mov edx, 0x2712
mov rcx, rax
call fcn.1800321a0
mov edx, 0x9c
mov r8d, 0x7d0
mov rcx, rdi
call fcn.1800321a0
lea r8, [rsp + 0xa8]
mov edx, 0x2711
mov rcx, rdi
call fcn.1800321a0
lea r8, [0x18000e5f0]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.1800321a0
mov edx, Ordinal_46
lea r8d, [rdx - 0x2a]
mov rcx, rdi
call fcn.1800321a0
mov edx, 0x34
lea r8d, [rdx - 0x33]
mov rcx, rdi
call fcn.1800321a0
mov rcx, rdi
call fcn.180032190
mov ebx, eax
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x30]
mov edx, 0x200002
mov rcx, rdi
call fcn.180032110
mov rcx, rdi
call fcn.180032100
test ebx, ebx
mov ebx, dword [rsp + 0x30]
jne 0x180003d1d
cmp ebx, 0xc8
jne 0x180003d1d
mov rsi, qword [rsp + 0xb8]
cmp rsi, 7
jb 0x18000357a
add rsi, 0xfffffffffffffffa
lea rbx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0x10
cmovae rbx, qword [rsp + 0xa8]
test rsi, rsi
je 0x18000357a
mov r8, rsi
mov edx, reloc.WS2_32.dll_WSAStartup
mov rcx, rbx
call fcn.180071d48
mov rdi, rax
test rax, rax
je 0x18000357a
mov r8d, 7
lea rdx, str.shell64
mov rcx, rax
call fcn.180072140
test eax, eax
je 0x180003557
sub rbx, rdi
dec rbx
add rsi, rbx
lea rbx, [rdi + 1]
jmp 0x180003512
lea rax, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0x10
cmovae rax, qword [rsp + 0xa8]
sub rdi, rax
cmp rdi, 0xffffffffffffffff
jne 0x1800035a1
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0x10
cmovae rdx, qword [rsp + 0xa8]
mov r8d, dword [rsp + 0xb8]
call fcn.18000d0f0
mov rsi, qword [rsp + 0xb8]
cmp rsi, 7
jb 0x180003bed
add rsi, 0xfffffffffffffffa
lea rbx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0x10
cmovae rbx, qword [rsp + 0xa8]
test rsi, rsi
je 0x180003bed
mov r8, rsi
mov edx, reloc.WS2_32.dll_WSAStartup
mov rcx, rbx
call fcn.180071d48
mov rdi, rax
test rax, rax
je 0x180003bed
mov r8d, 7
lea rdx, str.shell64
mov rcx, rax
call fcn.180072140
test eax, eax
je 0x18000361e
sub rbx, rdi
dec rbx
add rsi, rbx
lea rbx, [rdi + 1]
jmp 0x1800035d1
lea rax, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0x10
cmovae rax, qword [rsp + 0xa8]
sub rdi, rax
cmp rdi, 0xffffffffffffffff
je 0x180003bed
mov word [rsp + 0x30], 0x100
xor edx, edx
mov r8d, 0xc0
lea rcx, [rsp + 0x150]
call fcn.180071390
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x150]
call fcn.18000ea50
nop
xor eax, eax
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rax
and dword [rsp + 0x108], 0xfffffe00
mov qword [rsp + 0x110], r14
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x1a0]
call fcn.180007c70
lea rdx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 0x10
cmovae rdx, qword [rsp + 0x1a0]
mov r8, qword [rsp + 0x1b0]
add r8, rdx
lea r9, [rsp + 0x100]
lea rcx, [rsp + 0x150]
call fcn.18000eb40
test al, al
jne 0x180003787
mov qword [rsp + 0xe0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xd8], r14
mov byte [rsp + 0xc8], al
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.parsing_json_failed
lea rcx, [rsp + 0xc8]
call fcn.1800051c0
nop
lea rcx, [rsp + 0xc8]
call fcn.180002cf0
nop
lea rcx, [rsp + 0xc8]
call fcn.1800052f0
nop
lea rcx, [rsp + 0x100]
call fcn.180011cb0
nop
lea rcx, [rsp + 0x150]
call fcn.180004100
nop
lea rcx, [rsp + 0xa8]
call fcn.1800052f0
nop
lea rcx, [rsp + 0x118]
call fcn.1800052f0
xor al, al
jmp 0x18000408f
xor eax, eax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rax
lea rdx, str.shell64
lea rcx, [rsp + 0x100]
call fcn.1800124a0
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.180011b50
nop
mov rax, qword [rsp + 0xf0]
test al, al
je 0x180003822
cmp al, 6
je 0x180003822
lea rcx, [rsp + 0xe8]
call fcn.180011cb0
nop
lea rcx, [rsp + 0x100]
call fcn.180011cb0
nop
lea rcx, [rsp + 0x150]
call fcn.180004100
nop
lea rcx, [rsp + 0xa8]
call fcn.1800052f0
nop
lea rcx, [rsp + 0x118]
call fcn.1800052f0
xor al, al
jmp 0x18000408f
xor ecx, ecx
call fcn.1800736ac
mov rcx, rax
call fcn.180073720
xor sil, sil
mov edi, r14d
test sil, sil
jne 0x180003b0b
lea rcx, [rsp + 0xe8]
call fcn.180012160
test eax, eax
je 0x180003b0b
lea rcx, [rsp + 0xe8]
call fcn.180012160
mov ebx, eax
call fcn.1800736f4
xor edx, edx
div ebx
xor eax, eax
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], rax
lea rcx, [rsp + 0xe8]
call fcn.180012210
mov rdx, rax
lea rcx, [rsp + 0x138]
call fcn.180011b50
nop
lea r8, [0x1800f9128]
lea rcx, [rsp + 0xc8]
call fcn.18000a220
nop
lea r8, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae r8, qword [rsp + 0xc8]
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 0x18000395e
lea rcx, [rsp + 0xc8]
call fcn.1800050a0
nop
lea rcx, [rsp + 0x138]
call fcn.180011cb0
nop
lea rcx, [rsp + 0xe8]
call fcn.180011cb0
nop
lea rcx, [rsp + 0x100]
call fcn.180011cb0
nop
lea rcx, [rsp + 0x150]
call fcn.180004100
nop
lea rcx, [rsp + 0xa8]
call fcn.1800052f0
nop
lea rcx, [rsp + 0x118]
call fcn.1800052f0
xor al, al
jmp 0x18000408f
lea rdx, str.version
lea rcx, [rsp + 0x138]
call fcn.1800124a0
mov rcx, rax
call fcn.180011f90
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x38], 0
mov r8d, 0xa
lea rdx, str.shellext64
lea rcx, [rsp + 0x38]
call fcn.1800051c0
nop
lea rdx, [0x1800d8940]
lea rcx, [rsp + 0x138]
call fcn.1800124a0
lea rdx, [rsp + 0x88]
mov rcx, rax
call fcn.180011e60
mov rsi, rax
lea rdx, [0x1800d8944]
lea rcx, [rsp + 0x138]
call fcn.1800124a0
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.180011e60
nop
lea r9, [rsp + 0x30]
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180004950
movzx esi, al
lea rcx, [rsp + 0x68]
call fcn.1800052f0
nop
lea rcx, [rsp + 0x88]
call fcn.1800052f0
nop
lea rcx, [rsp + 0x38]
call fcn.1800052f0
test rbx, rbx
je 0x180003a3b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea rcx, [rsp + 0xe8]
call fcn.180012160
cmp edi, eax
jbe 0x180003ab4
lea rcx, [rsp + 0xc8]
call fcn.1800050a0
nop
lea rcx, [rsp + 0x138]
call fcn.180011cb0
nop
lea rcx, [rsp + 0xe8]
call fcn.180011cb0
nop
lea rcx, [rsp + 0x100]
call fcn.180011cb0
nop
lea rcx, [rsp + 0x150]
call fcn.180004100
nop
lea rcx, [rsp + 0xa8]
call fcn.1800052f0
nop
lea rcx, [rsp + 0x118]
call fcn.1800052f0
xor al, al
jmp 0x18000408f
inc edi
mov r8, qword [rsp + 0xe0]
cmp r8, 8
jb 0x180003adc
inc r8
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xc8]
call fcn.1800094a0
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], r14
mov word [rsp + 0xc8], r14w
lea rcx, [rsp + 0x138]
call fcn.180011cb0
jmp 0x180003837
lea rcx, [rsp + 0xe8]
call fcn.180011cb0
nop
lea rcx, [rsp + 0x100]
call fcn.180011cb0
nop
lea rcx, [rsp + 0x150]
call fcn.180004100
nop
cmp byte [0x1800f7dd8], 0
je 0x180003bab
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x38], 0
mov r8d, 0xa
lea rdx, str.update_reg
lea rcx, [rsp + 0x38]
call fcn.1800051c0
nop
lea rcx, [rsp + 0x38]
call fcn.180002cf0
nop
lea rcx, [rsp + 0x38]
call fcn.1800052f0
mov rax, qword [0x1800f7dd0]
test rax, rax
je 0x180003ba5
call rax
mov rcx, qword [0x1800f7de8]
test rcx, rcx
je 0x180003ba5
call qword [0x1800f9358]
mov qword [0x1800f7de8], r14
call fcn.180004730
nop
lea rcx, [rsp + 0xa8]
call fcn.1800052f0
nop
lea rcx, [rsp + 0x118]
call fcn.1800052f0
mov al, 1
jmp 0x18000408f
mov qword [rsp + 0xe0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xd8], r14
mov byte [rsp + 0xc8], 0
mov r8d, 0xa
lea rdx, str.node_exsit
lea rcx, [rsp + 0xc8]
call fcn.1800051c0
nop
lea rcx, [rsp + 0xc8]
call fcn.180002cf0
nop
mov rax, qword [rsp + 0xe0]
cmp rax, 0x10
jb 0x180003c91
inc rax
mov rcx, qword [rsp + 0xc8]
cmp rax, 0x1000
jb 0x180003c8b
test cl, 0x1f
je 0x180003c5e
call fcn.180072ffc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180003c6d
call fcn.180072ffc
int3
sub rcx, rax
cmp rcx, 8
jae 0x180003c7c
call fcn.180072ffc
int3
cmp rcx, 0x27
jbe 0x180003c88
call fcn.180072ffc
int3
mov rcx, rax
call fcn.18006baac
nop
mov rax, qword [rsp + 0xc0]
cmp rax, 0x10
jb 0x180003cef
inc rax
mov rcx, qword [rsp + 0xa8]
cmp rax, 0x1000
jb 0x180003cea
test cl, 0x1f
je 0x180003cbd
call fcn.180072ffc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180003ccc
call fcn.180072ffc
int3
sub rcx, rax
cmp rcx, 8
jae 0x180003cdb
call fcn.180072ffc
int3
cmp rcx, 0x27
jbe 0x180003ce7
call fcn.180072ffc
int3
mov rcx, rax
call fcn.18006baac
mov qword [rsp + 0xc0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xb8], r14
mov byte [rsp + 0xa8], 0
lea rcx, [rsp + 0x118]
call fcn.1800052f0
jmp 0x18000408d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x150]
call fcn.180071390
lea rcx, [0x180000000]
lea rax, [rcx + 0xd9308]
mov qword [rsp + 0x150], rax
lea rax, [rcx + 0xd8c38]
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x30], 1
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x1e8], rax
mov dword [rsp + 0x1e4], Ordinal_133
mov qword [rsp + 0x158], r14
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x1e8]
call fcn.180009ed0
nop
lea rax, [rsp + 0x160]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x160], rax
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x15c], edx
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x150], rax
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x14c], edx
mov rax, qword [rsp + 0x150]
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 + 0x150], rax
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x14c], edx
lea rax, [rsp + 0x168]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x168]
call fcn.180009aa0
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x1d0], r14
mov dword [rsp + 0x1d8], r14d
mov edx, ebx
lea rcx, [rsp + 0x160]
call fcn.180005db0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x150]
call fcn.180005540
nop
mov r8, rax
lea rdx, str.download_json_failed_error:
lea rcx, [rsp + 0xc8]
call fcn.18000a1c0
nop
mov rcx, rax
call fcn.180002cf0
nop
mov rax, qword [rsp + 0xe0]
cmp rax, 0x10
jb 0x180003f15
inc rax
mov rcx, qword [rsp + 0xc8]
cmp rax, 0x1000
jb 0x180003f10
test cl, 0x1f
je 0x180003ee3
call fcn.180072ffc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180003ef2
call fcn.180072ffc
int3
sub rcx, rax
cmp rcx, 8
jae 0x180003f01
call fcn.180072ffc
int3
cmp rcx, 0x27
jbe 0x180003f0d
call fcn.180072ffc
int3
mov rcx, rax
call fcn.18006baac
mov qword [rsp + 0xe0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xd8], r14
mov byte [rsp + 0xc8], 0
mov rax, qword [rsp + 0x50]
cmp rax, 0x10
jb 0x180003f8a
inc rax
mov rcx, qword [rsp + 0x38]
cmp rax, 0x1000
jb 0x180003f84
test cl, 0x1f
je 0x180003f57
call fcn.180072ffc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180003f66
call fcn.180072ffc
int3
sub rcx, rax
cmp rcx, 8
jae 0x180003f75
call fcn.180072ffc
int3
cmp rcx, 0x27
jbe 0x180003f81
call fcn.180072ffc
int3
mov rcx, rax
call fcn.18006baac
nop
lea rcx, [rsp + 0x1e8]
call fcn.180005570
nop
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x1e8], rax
lea rcx, [rsp + 0x1e8]
call fcn.18006e0fc
nop
mov rax, qword [rsp + 0xc0]
cmp rax, 0x10
jb 0x180004013
inc rax
mov rcx, qword [rsp + 0xa8]
cmp rax, 0x1000
jb 0x18000400e
test cl, 0x1f
je 0x180003fe1
call fcn.180072ffc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180003ff0
call fcn.180072ffc
int3
sub rcx, rax
cmp rcx, 8
jae 0x180003fff
call fcn.180072ffc
int3
cmp rcx, 0x27
jbe 0x18000400b
call fcn.180072ffc
int3
mov rcx, rax
call fcn.18006baac
mov qword [rsp + 0xc0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xb8], r14
mov byte [rsp + 0xa8], 0
mov rax, qword [rsp + 0x130]
cmp rax, 0x10
jb 0x18000408d
inc rax
mov rcx, qword [rsp + 0x118]
cmp rax, 0x1000
jb 0x180004088
test cl, 0x1f
je 0x18000405b
call fcn.180072ffc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000406a
call fcn.180072ffc
int3
sub rcx, rax
cmp rcx, 8
jae 0x180004079
call fcn.180072ffc
int3
cmp rcx, 0x27
jbe 0x180004085
call fcn.180072ffc
int3
mov rcx, rax
call fcn.18006baac
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18006c2f0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret