Function at 0x1400372d0
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140116008]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov eax, dword [0x14095e8dc]
xor r15d, r15d
mov edx, dword [0x140968420]
test eax, eax
mov ebx, 1
mov dword [rbp - 0x39], edx
cmove eax, ebx
mov dword [rbp - 0x79], r15d
mov dword [0x14095e8dc], eax
lea r14d, [r15 + 0x1e]
lea eax, [rdx - 8]
mov r12d, 0xfeff
lea ecx, [rbx + 5]
lea rsi, [rbx - 2]
cmp eax, 0x15
ja 0x140037492
cmp edx, 0x1d
jne 0x140037366
mov ecx, dword [0x140968428]
call fcn.140023a60
test al, 0x40
je 0x1400373d7
mov ecx, dword [0x140968428]
call fcn.140023b30
test eax, eax
jmp 0x14003738e
mov edi, dword [0x140968428]
mov dword [rbp - 0x69], edi
cmp edi, esi
je 0x14003739d
mov ecx, edi
call fcn.140023b30
test eax, eax
jne 0x1400373d7
cmp byte [rbp - 0x67], r15b
jne 0x140037398
mov ecx, edi
call fcn.1400241d0
test ax, ax
mov ecx, r15d
sete cl
test ecx, ecx
je 0x1400373d7
mov ecx, 6
cmp dword [0x140968420], 0x1d
mov dword [rbp - 0x79], ebx
jne 0x140037412
mov byte [0x14096842a], r15b
test byte [0x140968425], bl
je 0x14003745e
mov eax, dword [0x14095f080]
cmp eax, 2
je 0x140037444
add eax, 0xfffffffd
cmp eax, ebx
ja 0x14003744a
mov dword [0x14095f080], r15d
jmp 0x14003744a
cmp byte [0x14095e7d6], r15b
jne 0x140037492
cmp dword [0x140968420], 0x1d
lea rax, str.user_abort
mov qword [0x140968460], rax
mov byte [0x140968470], r15b
jne 0x14003743b
mov ecx, dword [0x140968428]
call fcn.140023a90
jmp 0x140037492
mov edx, dword [0x140968420]
lea eax, [rdx - 0x18]
cmp eax, ebx
jbe 0x1400373b0
lea eax, [rdx - 9]
cmp eax, ebx
jbe 0x1400373b0
lea rax, str.closed_by_server
mov byte [0x140968470], r15b
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037492
mov dword [0x14095f080], ecx
lea rcx, [0x14095f0b0]
call fcn.1400141d0
and word [0x140968424], r12w
mov ecx, dword [0x140968428]
cmp ecx, esi
je 0x140037473
call fcn.140023ef0
mov dword [0x140968428], esi
mov ecx, 0x1f
call fcn.140037190
mov rax, qword [0x140968460]
mov qword [0x140968438], rax
mov qword [0x140968458], r15
movsxd rax, dword [0x140968420]
mov qword [rsp + 0x130], r13
cmp eax, 0x1f
ja case.0x1400374f1.29
lea r9, [0x140000000]
mov r14d, 2
mov ecx, dword [r9 + rax*4 + 0x3c420]
lea rbx, [0x140968470]
add rcx, r9
lea r10, [0x14095e858]
mov r13d, 0xffff
lea rdx, [0x14095e8ba]
lea eax, [r14 + 0xe]
mov r12d, 0x100
lea edi, [rax - 9]
lea r11, [0x14095e879]
jmp rcx
and byte [0x1409639d4], 0xef
lea rbx, [0x140968470]
cmp qword [0x140968460], r15
je 0x140037648
call fcn.140041280
mov r13d, 0xa
lea rcx, str.Callback:
mov edx, r13d
call fcn.1400410d0
mov rcx, qword [0x140968460]
mov rdx, rsi
inc rdx
cmp byte [rcx + rdx], r15b
jne 0x140037532
call fcn.1400410d0
cmp byte [0x140968470], r15b
mov r12d, 0x20
jne 0x1400375a0
mov ecx, dword [0x140968428]
cmp ecx, esi
je 0x1400375e5
call fcn.1400241d0
movzx edi, ax
test ax, ax
je 0x140037597
cmp ax, r12w
jbe 0x140037573
mov edi, r12d
mov ecx, dword [0x140968428]
movzx r8d, di
mov rdx, rbx
call fcn.140024400
movzx eax, di
lea rcx, [0x140000000]
mov byte [rax + rcx + 0x968470], r15b
cmp byte [0x140968470], r15b
je 0x1400375e5
mov edx, r12d
lea rcx, [0x14010d710]
call fcn.140040c90
mov edx, 0x5b
lea rcx, [0x14010d710]
call fcn.140040c90
mov rdx, rsi
inc rdx
cmp byte [rbx + rdx], r15b
jne 0x1400375c3
mov rcx, rbx
call fcn.1400410d0
mov edx, 0x5d
lea rcx, [0x14010d710]
call fcn.140040c90
mov edx, r13d
lea rcx, [0x14010d710]
call fcn.140040c90
mov rcx, qword [0x140968440]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x140968458]
test rcx, rcx
je 0x14003763b
mov r8, qword [0x140968460]
lea rdx, str._r_nERROR:__s_r_n
call fcn.140024b80
cmp byte [0x140968470], r15b
je 0x14003763b
mov rcx, qword [0x140968458]
xor r8d, r8d
mov rdx, rbx
call fcn.140024a60
mov rcx, qword [0x140968440]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x140968428]
cmp ecx, esi
je 0x14003765d
call fcn.140023ef0
mov dword [0x140968428], esi
test byte [0x140968425], 1
mov rax, qword [0x140968460]
mov qword [0x140968438], rax
mov qword [0x140968458], r15
je 0x1400376be
mov eax, dword [0x14095f080]
cmp eax, r14d
je 0x140037697
add eax, 0xfffffffd
cmp eax, 1
ja 0x1400376a1
mov dword [0x14095f080], r15d
jmp 0x1400376a1
mov dword [0x14095f080], 6
lea rcx, [0x14095f0b0]
call fcn.1400141d0
movzx eax, word [0x140968424]
mov ecx, 0xfeff
and ax, cx
jmp 0x1400376c5
movzx eax, word [0x140968424]
or ax, r14w
lea rcx, [rbp - 0x61]
mov word [0x140968424], ax
call fcn.140052f0c
mov eax, dword [rbp - 0x61]
mov dword [0x140968430], eax
mov dword [0x140968420], 0x1f
test byte [0x140968424], r14b
lea rcx, [rbp - 0x61]
je 0x14003772c
call fcn.140052f0c
mov eax, dword [rbp - 0x61]
sub eax, dword [0x140968430]
cmp eax, 3
jl case.0x1400374f1.29
movzx eax, word [0x140968424]
mov ecx, 0xfffd
and ax, cx
or ax, 1
mov word [0x140968424], ax
jmp 0x140037746
call fcn.140052f0c
mov eax, dword [rbp - 0x61]
sub eax, dword [0x140968430]
cmp eax, dword [0x14095e8dc]
jl case.0x1400374f1.29
xor ecx, ecx
mov byte [0x140968588], r15b
call fcn.140037190
movzx eax, byte [0x140968424]
test al, 1
je 0x14003776c
test al, 4
je 0x14003778a
cmp qword [0x140968458], r15
jne 0x14003778a
lea rcx, [rbp - 0x61]
call fcn.140052f0c
mov eax, dword [rbp - 0x61]
sub eax, dword [0x140968430]
cmp eax, dword [0x14095e8e0]
jle case.0x1400374f1.29
call fcn.140037240
mov edi, eax
test eax, eax
jns 0x1400377a1
and byte [0x1409639d4], 0xf7
jmp case.0x1400374f1.29
movzx eax, byte [0x14095e857]
lea rcx, [rbp - 0x61]
mov r8d, 9
cmp edi, 6
cmove eax, r8d
or byte [0x1409639d4], 8
mov byte [0x14095e857], al
mov eax, 0xfffb
and word [0x140968424], ax
call fcn.140052f0c
mov eax, dword [rbp - 0x61]
mov r12d, 0x100
mov dword [0x140968434], eax
mov r9d, r12d
lea rax, [0x14095e7d6]
movzx r8d, di
add r8, rax
mov qword [0x140968460], r15
mov edx, r12d
mov rcx, rbx
call fcn.1400217c0
movzx ecx, byte [0x14095e857]
lea eax, [rcx - 9]
cmp al, 1
jbe 0x140037828
cmp cl, 4
je 0x140037828
mov eax, 0xfffe
and word [0x140968424], ax
call fcn.140009a00
cmp byte [0x14095e857], 0xa
mov dword [0x14096842c], eax
mov word [0x140968578], r15w
jne 0x140037f38
cmp word [0x140968634], r15w
jne 0x140037f38
cmp byte [0x140968636], r15b
jne 0x140037f38
mov edx, 1
mov word [0x140968580], r15w
mov dword [0x140968420], edx
mov word [0x140968584], r15w
mov ebx, dword [rbp - 0x79]
mov eax, dword [rbp - 0x39]
cmp eax, dword [0x140968420]
mov eax, 1
cmovne ebx, eax
mov eax, ebx
mov r13, qword [rsp + 0x130]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14004ee60
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [0x14095f0b0]
call fcn.1400147e0
movzx ecx, word [0x140968584]
lea rbx, [0x140968470]
movzx r14d, ax
cmp cx, 6
jae 0x140037998
test ax, ax
je 0x1400379ea
mov r12d, 6
mov dword [rbp - 0x79], 1
sub r12w, cx
movzx r13d, r12w
cmp r12w, ax
jbe 0x140037918
movzx r12d, ax
movzx r13d, ax
movzx edi, cx
mov rcx, qword [0x14095f0d0]
add rdi, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx r8d, r12w
lea rcx, [0x14095f0b0]
mov rdx, rdi
call fcn.140014330
mov rcx, qword [0x14095f0d0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx ecx, word [0x140968584]
sub r14w, r13w
add cx, r13w
mov word [0x140968584], cx
cmp cx, 6
jne 0x140037998
mov eax, dword [0x140968470]
cmp eax, dword [str.OK_r_n_r_n]
jne 0x140037985
movzx eax, word [0x140968474]
cmp ax, word [0x14010ce68]
je 0x140037998
mov byte [0x140968637], 1
mov dword [0x140968420], r15d
jmp case.0x1400374f1.29
test r14w, r14w
je 0x1400379ea
movzx edi, cx
lea rax, [0x14096846a]
mov rcx, qword [0x14095f0d0]
add rdi, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx r8d, r14w
lea rcx, [0x14095f0b0]
mov rdx, rdi
call fcn.140014330
mov rcx, qword [0x14095f0d0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx ecx, word [0x140968584]
add cx, r14w
mov word [0x140968584], cx
mov edx, dword [0x14095f080]
mov r14d, 4
test edx, edx
je 0x140037a37
lea rcx, [0x14095f0b0]
call fcn.1400147e0
test ax, ax
jne case.0x1400374f1.29
mov edx, dword [0x14095f080]
mov ecx, edx
sub ecx, 3
je 0x140037a27
sub ecx, 1
jne case.0x1400374f1.29
jmp 0x140037a30
mov edx, r14d
mov dword [0x14095f080], edx
movzx ecx, word [0x140968584]
test cx, cx
je 0x140037a60
movzx r8d, cx
mov rdx, rbx
movzx ecx, word [0x140968582]
sub r8d, 6
call fcn.140034aa0
inc word [0x140968580]
mov edx, dword [0x14095f080]
cmp edx, 2
je 0x140037a76
lea eax, [rdx - 3]
cmp eax, 1
ja 0x140037a80
mov dword [0x14095f080], r15d
jmp 0x140037a80
mov dword [0x14095f080], 6
lea rcx, [0x14095f0b0]
call fcn.1400141d0
movzx edx, word [0x140968580]
mov ecx, 0xfeff
and word [0x140968424], cx
movzx ecx, word [0x140118688]
call fcn.140016ef0
movzx edi, ax
test ax, ax
je 0x14003798c
lea r8, [0x140968460]
xor edx, edx
lea rcx, [0x140968668]
call fcn.140032ca0
test eax, eax
js case.0x1400374f1.29
mov r12d, 0x100
xor edx, edx
or word [0x140968424], r12w
movzx ecx, di
call fcn.1400181e0
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [rbp - 9]
movzx ecx, ax
movzx edi, ax
call fcn.140017590
mov rcx, qword [0x14095f0a8]
mov byte [rbp + 0xa], r15b
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8d, r14d
lea rdx, str.GET
lea rcx, [0x14095f088]
call fcn.140014210
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rdx, [rbp - 9]
lea r13, [0x140118690]
sub rdx, r13
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r13]
movzx eax, byte [rdx + r13]
sub ecx, eax
jne 0x140037b65
inc r13
test eax, eax
jne 0x140037b50
test ecx, ecx
je 0x140037bd7
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8d, 0xa
lea rdx, str._bySerial_
lea rcx, [0x14095f088]
call fcn.140014210
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rbp - 9]
inc rsi
cmp byte [rax + rsi], r15b
jne 0x140037ba0
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx r8d, si
lea rdx, [rbp - 9]
lea rcx, [0x14095f088]
call fcn.140014210
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8d, 0x1b
lea rdx, str._api_module_firmwareRelease
lea rcx, [0x14095f088]
call fcn.140014210
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8d, 5
lea rdx, str.__r_n_r_n
lea rcx, [0x14095f088]
call fcn.140014210
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.140009a00
mov dword [0x14096842c], eax
mov word [0x140968582], di
jmp 0x140037876
movzx edi, word [0x140968578]
mov eax, 0x1f4
imul edi, eax
call fcn.140009a00
sub eax, dword [0x14096842c]
add di, 0x32
movzx ecx, di
cmp eax, ecx
jb case.0x1400374f1.29
movzx ecx, byte [0x14095e857]
lea eax, [rcx - 9]
cmp al, 1
jbe 0x140037db2
cmp cl, 4
je 0x140037db2
cmp byte [0x14095e7d5], r15b
je 0x140037dad
lea r8, [0x140968460]
xor edx, edx
lea rcx, [0x140968668]
call fcn.140032ca0
test eax, eax
js case.0x1400374f1.29
or word [0x140968424], r12w
lea r8, str.GET___
mov r12d, 0x20
lea rcx, [rbp - 9]
mov r9d, r12d
mov edx, r12d
call fcn.1400217c0
movzx edx, byte [0x14095e857]
lea r8, reloc.WS2_32.dll_listen
lea rcx, [rbp - 3]
call fcn.140026c00
mov r9d, 0x1a
lea r8, str._cb.fmt
mov edx, r9d
lea rcx, [rbp - 3]
call fcn.1400218b0
lea rax, [rbp - 9]
nop word [rax + rax]
inc rsi
cmp byte [rax + rsi], r15b
jne 0x140037d20
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx r8d, si
lea rdx, [rbp - 9]
lea rcx, [0x14095f088]
call fcn.140014210
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8d, 5
lea rdx, str.__r_n_r_n
lea rcx, [0x14095f088]
call fcn.140014210
mov rcx, qword [0x14095f0a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov word [0x140964260], r15w
call fcn.140009a00
mov edx, 3
mov dword [0x14096842c], eax
mov dword [0x140968420], edx
jmp case.0x1400374f1.29
call fcn.140035430
mov dword [0x140968420], 4
jmp case.0x1400374f1.29
movzx eax, word [0x140964260]
lea rdx, [rbp - 9]
mov word [rbp - 0x75], ax
xor r9d, r9d
lea rax, str.failed_to_load_callback_template
mov ecx, 0x1ffe
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x75]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], cx
lea r8d, [r9 + 0x20]
lea rcx, [0x14095f0b0]
call fcn.140032f20
test ax, ax
movzx eax, word [rbp - 0x75]
mov word [0x140964260], ax
js case.0x1400374f1.29
mov ecx, dword [0x14095f080]
mov edi, 4
test ecx, ecx
je 0x140037e59
lea rcx, [0x14095f0b0]
call fcn.1400147e0
test ax, ax
jne case.0x1400374f1.29
mov ecx, dword [0x14095f080]
mov edx, ecx
sub edx, 3
je 0x140037e51
cmp edx, 1
je 0x140037e59
jmp case.0x1400374f1.29
mov ecx, edi
mov dword [0x14095f080], ecx
cmp ecx, r14d
je 0x140037e6f
lea eax, [rcx - 3]
cmp eax, 1
ja 0x140037e79
mov dword [0x14095f080], r15d
jmp 0x140037e79
mov dword [0x14095f080], 6
lea rcx, [0x14095f0b0]
call fcn.1400141d0
mov ecx, 0xfeff
mov dword [0x140968420], edi
and word [0x140968424], cx
jmp case.0x1400374f1.29
call fcn.140009a00
mov dword [0x14096842c], eax
lea r9, [0x140000000]
movzx ecx, r15w
mov word [0x140968584], r15w
mov edx, 0xff
lea rbx, [0x140968470]
mov esi, 0x50
mov rdi, r15
nop
movzx eax, cx
lea r8, [r9 + 0x968470]
add r8, rax
movzx eax, byte [r8]
test al, al
je 0x140037f12
cmp al, 0x3a
jne 0x140037efc
mov word [0x140968584], cx
inc cx
movzx edi, cx
add rdi, rbx
mov byte [r8], r15b
movzx eax, cx
cmp byte [rax + r9 + 0x968470], 0x2f
je 0x140037f12
inc cx
cmp cx, dx
jb 0x140037ed0
movzx eax, cx
lea rdx, [r9 + 0x968470]
add rdx, rax
cmp byte [rdx], r15b
jne 0x140037f44
lea rax, str.bad_URL
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp case.0x1400374f1.29
movzx eax, cx
mov dword [0x140968570], eax
movzx eax, byte [0x14095e857]
mov byte [rdx], r15b
cmp al, 4
je 0x140037f5f
cmp al, 0xa
jne 0x140037f8b
mov eax, dword [0x14095e858]
cmp eax, dword [0x14010c218]
jne 0x140037f8b
cmp byte [0x14095e878], 0x10
jne 0x140037f8b
lea rcx, [0x140968588]
mov byte [0x140968586], 4
call fcn.1400163f0
jmp 0x140037fa3
movzx eax, byte [0x140968586]
cmp byte [0x14095e858], r15b
cmove eax, r15d
mov byte [0x140968586], al
test rdi, rdi
je 0x140037fb3
mov rcx, rdi
call fcn.1400539b4
movzx esi, ax
movzx edx, si
mov rcx, rbx
call fcn.140023990
mov dword [0x140968428], eax
mov eax, 5
mov dword [0x140968420], eax
jmp case.0x1400374f1.29
mov ecx, dword [0x140968428]
cmp ecx, esi
je 0x140038066
call fcn.140023c30
test eax, eax
jne 0x14003805f
mov ecx, dword [0x140968428]
call fcn.140023b30
test eax, eax
je 0x140038029
mov word [0x140968578], r15w
mov eax, 0xffbf
and word [0x140968424], ax
cmp byte [0x14095e7d6], 0x74
setne r15b
add r15d, 6
mov dword [0x140968420], r15d
jmp case.0x1400374f1.29
call fcn.140009a00
sub eax, dword [0x14096842c]
cmp eax, 0x4e20
jbe case.0x1400374f1.29
lea rax, str.failed_to_connect
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp case.0x1400374f1.29
lea r9, [0x140000000]
cmp word [0x140968578], 5
jae 0x14003803f
movzx eax, word [0x140968584]
test ax, ax
je 0x140038088
movzx eax, ax
mov byte [rax + r9 + 0x968470], 0x3a
movsxd rax, dword [0x140968570]
mov byte [rax + r9 + 0x968470], 0x2f
call fcn.140009a00
inc word [0x140968578]
mov dword [0x14096842c], eax
jmp case.0x1400374f1.29
mov ecx, dword [0x140968428]
call fcn.140023b30
test eax, eax
je 0x14003861f
test byte [0x140968424], 8
jne 0x1400380e0
mov ecx, dword [0x140968428]
call fcn.140023f40
cmp ax, 0x40
jb 0x14003861f
test byte [0x1409639d4], 0x10
jne 0x140038106
call fcn.140041280
mov edx, reloc.WS2_32.dll_send
lea rcx, str.Callback_connected_n
call fcn.1400410d0
or byte [0x1409639d4], 0x10
cmp byte [0x14095e7d6], r15b
lea r8, [0x140000000]
movzx ebx, r15w
je 0x14003813e
nop word [rax + rax]
movzx eax, bx
cmp byte [rax + r8 + 0x95e7d6], 0x3f
je 0x14003813e
inc bx
movzx eax, bx
cmp byte [rax + r8 + 0x95e7d6], r15b
jne 0x140038120
lea rax, [0x140079790]
mov dword [0x140968640], r15d
mov qword [0x140968638], rax
movzx r12d, r15w
movzx eax, bx
movzx r13d, r15w
mov qword [rbp - 0x61], r12
mov edi, 4
cmp byte [rax + r8 + 0x95e7d6], r15b
je 0x140038361
lea esi, [rdi + 1]
nop dword [rax + rax]
lea r12, [r8 + 0x95e7d6]
mov word [rbp - 0x75], r15w
inc bx
lea rdx, [0x14010d144]
movzx ebx, bx
mov r8, r14
add r12, rbx
mov rcx, r12
call fcn.140052cd0
test eax, eax
jne 0x1400381bc
or word [0x140968642], 4
add bx, r14w
movzx edi, bx
jmp 0x1400381e0
mov r8, r14
lea rdx, [0x14010d148]
mov rcx, r12
call fcn.140052cd0
test eax, eax
jne 0x140038247
or word [0x140968642], 1
lea edi, [rbx + 2]
movzx ebx, di
lea r12, [0x14095e7d6]
movzx eax, di
lea r8, [0x140000000]
cmp byte [rax + r8 + 0x95e7d6], r15b
je 0x140038227
movzx ecx, di
nop
movzx eax, cx
movzx edi, cx
cmp byte [rax + r8 + 0x95e7d6], 0x26
je 0x140038227
inc cx
movzx ecx, cx
movzx ebx, cx
movzx edi, cx
cmp byte [rcx + r8 + 0x95e7d6], r15b
jne 0x140038200
cmp word [rbp - 0x75], 1
jne 0x1400382dd
movzx esi, di
sub si, r13w
mov qword [rbp - 0x61], rsi
mov esi, 5
jmp 0x140038334
mov r8, r14
lea rdx, [0x14010d14c]
mov rcx, r12
call fcn.140052cd0
test eax, eax
jne 0x14003826a
or word [0x140968642], r14w
jmp 0x1400381da
mov r8, rdi
lea rdx, str.cid
mov rcx, r12
call fcn.140052cd0
test eax, eax
jne 0x14003829a
lea r13d, [rbx + 4]
mov eax, 1
mov word [rbp - 0x75], ax
movzx ebx, r13w
movzx edi, r13w
jmp 0x1400381e0
mov r8, rsi
lea rdx, str.root
mov rcx, r12
movzx edi, bx
call fcn.140052cd0
test eax, eax
jne 0x1400381e0
add bx, 5
mov word [rbp - 0x75], r14w
movzx edi, bx
lea r12, [0x14095e7d6]
movzx ebx, di
lea rax, [r12 + rdi]
mov qword [0x140968638], rax
jmp 0x1400381e7
cmp word [rbp - 0x75], r14w
jne 0x140038334
movzx edx, di
sub dx, word [0x140968638]
add dx, r12w
mov word [0x140968640], dx
je 0x140038313
movzx eax, di
cmp byte [rax + r8 + 0x95e7d5], 0x2f
jne 0x140038313
dec dx
mov word [0x140968640], dx
cmp dx, 0x1c
jbe 0x14003831e
mov edx, 0x1c
mov rcx, qword [0x140968638]
xor r8d, r8d
call fcn.140017240
lea r8, [0x140000000]
movzx eax, di
mov edi, 4
cmp byte [rax + r8 + 0x95e7d6], r15b
jne 0x140038180
lea rsi, [rdi - 5]
test r13w, r13w
je 0x140038361
movzx r13d, r13w
add r13, r12
mov r12, qword [rbp - 0x61]
jmp 0x140038379
lea r13, [0x140118690]
mov r12, rsi
nop dword [rax + rax]
inc r12
cmp byte [r12 + r13], r15b
jne 0x140038370
lea rcx, [0x14095e5a4]
mov rax, rsi
inc rax
cmp byte [rcx + rax], r15b
jne 0x140038383
cmp ax, 0x1c
jbe 0x140038397
mov eax, 0x1c
xor r8d, r8d
movzx edx, ax
call fcn.140017240
movzx ecx, word [0x140116c00]
mov r8b, 0x30
movzx edx, ax
call fcn.140033b20
movzx edi, r12w
lea rdx, [0x140968472]
lea ebx, [rax - 3]
lea rax, [0x140000000]
movzx r8d, bx
lea rcx, [rax + 0x96847e]
add rcx, rdi
call fcn.140050fe0
movzx eax, r12b
mov dword [0x140968470], 0x4000c10
and al, 0x7f
mov dword [0x140968474], 0x5454514d
mov r8d, edi
mov byte [0x14096847d], al
mov rdx, r13
mov dword [0x140968478], 0x3c000604
lea rcx, [0x14096847e]
mov byte [0x14096847c], r15b
call fcn.140050fe0
add bx, 0xe
lea rdi, [0x140000000]
add r12w, bx
lea rbx, [0x140968470]
movzx eax, r12w
mov byte [rax + rdi + 0x968470], r15b
inc ax
movzx ecx, ax
mov byte [rcx + rdi + 0x968470], 1
inc cx
movzx r13d, cx
mov byte [rdi + r13 + 0x968470], 0x30
inc r13w
cmp byte [0x14095e858], r15b
je 0x1400384b9
lea rdx, [0x14095e858]
mov r12, rsi
inc r12
cmp byte [rdx + r12], r15b
jne 0x140038476
movzx eax, r13w
inc r13w
movzx r8d, r12w
mov byte [rax + rdi + 0x968470], r15b
movzx eax, r13w
mov byte [rax + rdi + 0x968470], r12b
inc ax
movzx edi, ax
lea rcx, [rbx + rdi]
call fcn.140050fe0
or byte [0x140968479], 0x40
lea r13d, [r12 + rdi]
cmp byte [0x14095e878], r15b
lea r9, [0x14095e879]
jne 0x140038567
cmp byte [0x14095e8ba], r15b
je 0x1400385c3
lea rdx, [0x14095e8ba]
inc rsi
cmp byte [rdx + rsi], r15b
jne 0x1400384e1
movzx edi, si
mov rcx, r9
mov esi, reloc.WS2_32.dll_recv
cmp edi, esi
cmova edi, esi
mov r8d, edi
call fcn.140050fe0
cmp edi, esi
jae 0x140038559
lea rax, [0x140000000]
mov byte [rdi + rax + 0x95e879], r15b
lea eax, [rdi + 1]
cmp eax, esi
jae 0x140038559
lea rcx, [0x14095e879]
mov edi, eax
add rdi, rcx
mov ecx, dword [0x140117130]
sub esi, eax
mov r8d, 4
mov dword [rbp - 0x69], r15d
lea rdx, [rbp - 0x69]
call fcn.140029850
mov ecx, eax
mov dword [0x140117130], eax
dec eax
mov byte [rdi], al
lea rdi, [rdi + 1]
sub rsi, 1
jne 0x140038530
mov byte [0x14095e878], 0x10
lea r9, [0x14095e879]
mov esi, 1
lea rcx, [0x140000000]
movsxd rax, esi
cmp byte [rax + rcx + 0x95e879], r15b
je 0x140038587
inc esi
cmp esi, 0x10
jl 0x140038573
movzx eax, r13w
mov rdx, r9
inc r13w
movsxd r8, esi
mov byte [rax + rcx + 0x968470], r15b
movzx eax, r13w
mov byte [rax + rcx + 0x968470], sil
inc ax
movzx edi, ax
lea rcx, [rbx + rdi]
call fcn.140050fe0
or byte [0x140968479], 0x80
lea r13d, [rsi + rdi]
test byte [0x140968424], 8
lea eax, [r13 - 2]
mov byte [0x140968471], al
je 0x1400385e2
movzx eax, r13w
add dword [0x140968578], eax
jmp 0x1400385fe
mov ecx, dword [0x140968428]
movzx r8d, r13w
mov rdx, rbx
call fcn.140024070
movzx eax, r13w
sub dword [0x140968578], eax
mov dword [0x140968420], 8
call fcn.140009a00
mov dword [0x14096842c], eax
mov dword [0x140968578], r14d
jmp case.0x1400374f1.29
call fcn.140009a00
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.failed_to_connect
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
mov ecx, dword [0x140968428]
call fcn.1400241d0
movzx r12d, ax
cmp r12d, dword [0x140968578]
mov edi, r12d
jae 0x1400386b3
call fcn.140009a00
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.timeout_reading_header
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
mov ecx, dword [0x140968428]
lea rdx, [rbp - 9]
xor r9d, r9d
mov r8, r14
call fcn.140024530
movsx eax, byte [rbp - 8]
add eax, r14d
mov dword [0x140968578], eax
cmp edi, eax
jb case.0x1400374f1.29
cmp r12w, 0x20
jbe 0x1400386ea
mov r12d, 0x20
mov ecx, dword [0x140968428]
lea rdx, [rbp - 9]
movzx r8d, r12w
call fcn.140024400
cmp byte [rbp - 9], 0x20
movzx edx, byte [rbp - 6]
jne 0x140038863
cmp byte [rbp - 8], r14b
jg 0x140038863
test dl, dl
jne 0x140038863
movzx eax, r15w
lea rdi, [0x140964264]
mov r8d, 9
mov dword [0x140968652], r15d
mov ecx, 0x200
mov qword [0x140968644], r15
rep stosw word [rdi], ax
mov rcx, qword [0x140968440]
mov word [0x140968584], r15w
mov dword [0x140968420], r8d
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x140968440]
mov qword [0x140968458], r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test byte [0x140968642], 4
je case.0x1400374f1.29
movzx eax, word [0x140968640]
mov edx, 6
mov byte [0x140968470], 0x82
mov word [0x140968472], 0x100
mov word [rbp - 0x75], dx
test ax, ax
je 0x1400387df
mov rdx, qword [0x140968638]
lea rcx, [0x140968476]
movzx r8d, ax
call fcn.140050fe0
movzx eax, word [0x140968640]
lea rcx, [0x140000000]
add ax, 6
movzx edx, ax
mov byte [rdx + rcx + 0x968470], 0x2f
inc dx
jmp 0x1400387e6
lea rcx, [0x140000000]
movsd xmm0, qword [str.__set_]
lea rcx, [rcx + 0x968470]
movzx eax, dx
add dx, 0xa
add rcx, rax
mov word [rbp - 0x75], dx
movzx eax, word [0x14010d1a0]
movzx edi, dx
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea eax, [rdx - 7]
test byte [0x140968424], 8
mov byte [0x140968475], al
lea eax, [rdx - 2]
mov byte [0x140968471], al
mov byte [0x140968474], r15b
je 0x140038842
add dword [0x140968578], edi
jmp case.0x1400374f1.29
mov ecx, dword [0x140968428]
movzx r8d, dx
lea rdx, [0x140968470]
call fcn.140024070
sub dword [0x140968578], edi
jmp case.0x1400374f1.29
sub dl, 4
mov byte [0x140968470], r15b
cmp dl, 1
lea rax, str.MQTT_
lea rcx, str.incorrect_user_password
mov r14d, 0x1e
cmovbe rax, rcx
mov dword [0x140968420], r14d
mov qword [0x140968460], rax
jmp case.0x1400374f1.29
movzx edx, word [0x14096864a]
test dx, dx
jne 0x1400389e6
test byte [0x140968425], 1
jne case.0x1400374f1.29
cmp word [0x140968644], r12w
jge 0x140038948
mov r13d, reloc.WS2_32.dll_ntohs
nop dword [rax]
movzx ecx, byte [0x140968644]
call fcn.1400194d0
mov word [rbp - 0x75], ax
test ax, ax
je 0x14003892a
movsx ecx, word [0x140968646]
movzx edx, ax
cmp ecx, edx
jne 0x1400388fd
mov ecx, r13d
mov word [0x140968646], cx
movsx eax, cx
cmp eax, edx
jl 0x14003896a
cmp cx, r13w
je 0x14003896a
movzx ecx, word [0x140968644]
mov edx, esi
call fcn.140033940
movzx ecx, word [0x140968644]
mov edx, esi
add cx, r12w
call fcn.140033940
movzx eax, word [0x140968644]
inc ax
mov dword [0x140968646], r15d
mov word [0x140968644], ax
cmp ax, r12w
jl 0x1400388d0
call fcn.140009a00
add eax, 0x493e0
mov r13d, 0xa
mov dword [0x140968630], eax
mov dword [0x140968420], r13d
jmp case.0x1400374f1.29
cmp word [0x140968644], r12w
jge 0x140038948
xor ecx, ecx
cmp word [0x140968648], r15w
jne 0x1400389b0
mov ebx, 1
mov edx, ebx
call fcn.140033b80
test ax, ax
jns 0x1400389a5
inc word [0x140968646]
mov word [0x140968648], r15w
jmp case.0x1400374f1.29
xor edx, edx
mov cl, 0x5a
call fcn.140033b80
jmp 0x1400389bc
xor edx, edx
call fcn.140033b80
mov ebx, 1
test ax, ax
jns 0x1400389d4
inc word [0x140968646]
mov dword [0x140968648], r15d
jmp case.0x1400374f1.29
je case.0x1400374f1.29
mov word [0x14096864a], bx
jmp 0x140037881
cmp dx, 1
jne 0x140038ba5
lea rax, str.failed_to_load_callback_template
mov ebx, 0x400
mov qword [rsp + 0x30], rax
lea rdx, [0x140968470]
lea rax, [0x14096864e]
mov r9d, ebx
mov qword [rsp + 0x28], rax
lea rcx, [0x14095f0b0]
mov r8, r12
mov word [rsp + 0x20], bx
call fcn.140032f20
test ax, ax
js case.0x1400374f1.29
movzx ecx, word [0x140968668]
call fcn.140032dd0
test eax, eax
je case.0x1400374f1.29
call fcn.1400348a0
cmp ax, 5
jb case.0x1400374f1.29
movzx ecx, word [0x140968668]
call fcn.140032e40
mov ecx, 0xfeff
mov esi, 1
and word [0x140968424], cx
mov ebx, esi
cmp word [0x14096864e], 5
jge 0x140038a93
inc word [0x140968646]
mov dword [0x140968648], r15d
jmp 0x140037881
call fcn.1400347c0
cmp word [0x140968648], r15w
jne 0x140038abb
movzx eax, word [0x14096864e]
mov word [0x14096864c], ax
mov dword [0x140968648], ebx
jmp 0x140037881
movzx edi, word [0x14096864e]
movzx eax, byte [0x140968642]
movzx ecx, word [0x14096864c]
shr al, 1
add cx, di
not al
mov byte [rbp - 8], cl
and al, bl
add al, 0x30
mov byte [rbp - 9], al
cmp di, 0x7f
jle 0x140038afd
movzx eax, cl
mov edx, 3
or al, 0x80
shr cx, 7
mov byte [rbp - 7], cl
mov byte [rbp - 8], al
jmp 0x140038b01
movzx edx, r14w
movsx edi, di
movzx ecx, si
mov word [rbp - 0x75], cx
cmp edi, ebx
jle 0x140038b42
lea r9, [0x140000000]
nop word [rax + rax]
movzx eax, cx
movzx eax, byte [rax + r9 + 0x964664]
cmp al, 0xd
je 0x140038b3e
cmp al, 0xa
je 0x140038b3e
inc cx
movzx eax, cx
cmp eax, edi
jl 0x140038b20
mov word [rbp - 0x75], cx
movzx eax, dx
inc dx
cmp rax, 0x20
jae 0x14003c41a
mov byte [rbp + rax - 9], r15b
movzx eax, dx
inc dx
mov byte [rbp + rax - 9], cl
lea rcx, [rbp - 9]
call fcn.1400348c0
movzx edx, word [rbp - 0x75]
test dx, dx
je 0x140038b90
movzx ecx, dx
lea rax, [0x140964666]
add rcx, rax
movzx eax, byte [rcx - 3]
lea rcx, [rcx - 1]
mov byte [rcx], al
add dx, r13w
jne 0x140038b80
mov word [0x140968650], r14w
mov word [0x14096864a], r14w
jmp 0x140037881
cmp dx, r14w
je 0x140038cb1
cmp dx, 5
je 0x140038cb1
cmp dx, 3
jne 0x140038c07
test byte [0x140968425], 1
jne case.0x1400374f1.29
xor edx, edx
mov cl, 0x5a
call fcn.140033b80
test eax, eax
jns 0x140038bed
inc word [0x140968648]
mov word [0x14096864a], r15w
jmp case.0x1400374f1.29
je case.0x1400374f1.29
mov eax, 4
mov word [0x14096864a], ax
lea ebx, [rax - 3]
jmp 0x140037881
cmp dx, 4
jne case.0x1400374f1.29
lea rax, str.failed_to_load_callback_template
mov ebx, 0x400
mov qword [rsp + 0x30], rax
lea rdx, [0x140968470]
lea rax, [0x14096864e]
mov r9d, ebx
mov qword [rsp + 0x28], rax
lea rcx, [0x14095f0b0]
mov r8, r12
mov word [rsp + 0x20], bx
call fcn.140032f20
test ax, ax
js case.0x1400374f1.29
movzx ecx, word [0x140968668]
call fcn.140032dd0
test eax, eax
je case.0x1400374f1.29
call fcn.1400348a0
cmp ax, 5
jb case.0x1400374f1.29
movzx ecx, word [0x140968668]
call fcn.140032e40
mov ecx, 0xfeff
and word [0x140968424], cx
call fcn.1400347c0
mov eax, 5
mov word [0x140968650], r15w
mov word [0x14096864a], ax
lea ebx, [rax - 4]
jmp 0x140037881
movzx ecx, word [0x140968650]
movsx eax, word [0x14096864e]
cmp ecx, eax
jge 0x140038d58
call fcn.1400348a0
movzx edi, ax
test ax, ax
je case.0x1400374f1.29
mov ebx, 0x400
mov r12d, 0x20
cmp di, r12w
jbe 0x140038cec
mov edi, r12d
movsx edx, word [0x14096864e]
movzx r9d, word [0x140968650]
mov ecx, edx
sub ecx, r9d
movzx eax, di
cmp eax, ecx
jle 0x140038d0e
sub dx, r9w
movzx edi, dx
test di, di
je case.0x1400374f1.29
add r9w, bx
movzx r8d, di
movzx ecx, r9w
lea rdx, [rbp - 9]
call fcn.140033260
movzx edx, di
lea rcx, [rbp - 9]
call fcn.1400348c0
add word [0x140968650], di
mov dword [rbp - 0x79], 1
call fcn.1400348a0
movzx edi, ax
test ax, ax
jne 0x140038ce3
jmp case.0x1400374f1.29
mov ebx, dword [rbp - 0x79]
cmp dx, r14w
jne 0x140038d72
mov edx, 3
mov word [0x14096864a], dx
jmp 0x140037881
inc word [0x140968648]
mov word [0x14096864a], r15w
jmp 0x140037881
mov eax, 0xfff7
and word [0x140968642], ax
movzx eax, byte [0x140968425]
and al, 1
movzx ecx, al
movzx eax, word [0x14096864e]
jne 0x1400395fa
test ax, ax
jns 0x1400395fa
call fcn.140044120
sub eax, dword [0x140968630]
test eax, eax
jle 0x140038ddc
mov r8d, 9
mov qword [0x140968644], r15
mov dword [0x140968420], r8d
jmp case.0x1400374f1.29
call fcn.140033550
lea rbx, [0x140968470]
cmp eax, 6
jb 0x140038f90
xor ecx, ecx
call fcn.1400335a0
mov ecx, 1
movzx edi, al
call fcn.1400335a0
movzx r13d, al
test dil, dil
jne 0x140038e3c
cmp al, 0xff
jne 0x140038e3c
mov r8d, 4
lea rcx, [rbp - 0x69]
mov edx, r14d
call fcn.1400335f0
movzx edx, word [rbp - 0x67]
mov r8b, 0x30
movzx ecx, word [rbp - 0x69]
call fcn.140033b20
movzx edi, ax
jmp 0x140038f3f
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x55]
mov qword [rsp + 0x38], r15
lea r9, [rbp - 0x4d]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x71]
lea rax, [rbp - 0x51]
movzx edx, r13b
mov qword [rsp + 0x28], rax
and dl, 0xf
lea rax, [rbp - 0x49]
movzx ecx, dil
mov qword [rsp + 0x20], rax
call fcn.140018fd0
test eax, eax
js 0x140038f68
movzx r9d, word [rbp - 0x51]
movzx r8d, word [rbp - 0x49]
movzx edx, word [rbp - 0x4d]
movzx ecx, word [rbp - 0x71]
call fcn.1400339b0
movzx edi, ax
movzx eax, r13b
shr eax, 4
cmp eax, 1
jne 0x140038eb0
lea r8, str._min
jmp 0x140038ec3
lea r8, str._max
cmp eax, r14d
je 0x140038ec3
lea r8, str._avg
movzx eax, di
mov edx, r12d
sub edx, eax
movzx eax, di
movzx ecx, ax
add rcx, rbx
call fcn.140021720
add byte [0x140968473], 4
lea rcx, [rbp - 0x59]
mov r8d, 4
mov edx, r14d
add di, 4
call fcn.1400335f0
lea rcx, [0x140000000]
movzx eax, di
lea r13, [rcx + 0x968470]
mov r9d, 1
mov ecx, dword [rbp - 0x59]
add r13, rax
mov rdx, r13
lea r8d, [r9 + 0xf]
call fcn.140025d30
mov rax, rsi
inc rax
cmp byte [rax + r13], r15b
jne 0x140038f22
mov ecx, 0xff
and ax, cx
add di, ax
lea eax, [rdi - 2]
mov byte [0x140968471], al
test di, di
je 0x140038f68
call fcn.1400348a0
cmp ax, di
jb 0x1400392a7
movzx edx, di
mov rcx, rbx
call fcn.1400348c0
call fcn.140044120
mov dword [0x14096842c], eax
lea rcx, [0x140968450]
call fcn.140021b00
call fcn.140033360
lea rcx, [0x140968450]
mov edi, eax
call fcn.140021b10
cmp edi, 6
jae 0x140038df1
movzx ecx, word [0x140968584]
lea r9, [0x140000000]
movzx r8d, r15w
mov word [rbp - 0x59], r15w
nop word [rax + rax]
movzx eax, cx
lea rdx, [rax*2 + 0x964264]
add rdx, r9
mov qword [rbp - 0x41], rdx
movzx edx, word [r9 + rax*2 + 0x964264]
mov word [rbp - 0x69], dx
test dx, dx
je 0x140039115
movzx r13d, r15w
nop dword [rax]
mov eax, 1
movzx ecx, r13b
shl ax, cl
mov dword [rbp - 0x61], eax
test dx, ax
je 0x1400390f3
movzx ecx, byte [0x140968584]
lea rax, [rbp - 0x45]
mov qword [rsp + 0x40], rbx
lea r9, [rbp - 0x4d]
mov qword [rsp + 0x38], rax
lea r8, [rbp - 0x71]
lea rax, [rbp - 0x55]
movzx edx, r13b
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
call fcn.140018fd0
test eax, eax
js 0x140039102
test byte [0x140968642], 1
je 0x140039054
cmp byte [rbp - 0x55], 1
je 0x140039102
movzx ecx, byte [rbp - 0x45]
lea r8, [rbp + 0x17]
mov rdx, rbx
call fcn.1400148b0
cmp byte [rbp + 0x17], r15b
je 0x1400390e5
movzx r9d, word [rbp - 0x51]
movzx r8d, word [rbp - 0x49]
movzx edx, word [rbp - 0x4d]
movzx ecx, word [rbp - 0x71]
call fcn.1400339b0
movzx r14d, ax
mov rdi, rsi
lea rax, [rbp + 0x17]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140039090
movzx ecx, r14w
lea rdx, [rbp + 0x17]
add rcx, rbx
movzx r8d, di
call fcn.140050fe0
add r14w, di
lea eax, [r14 - 2]
mov byte [0x140968471], al
call fcn.1400348a0
mov word [rbp - 0x75], ax
cmp ax, r14w
jb 0x140039273
movzx edx, r14w
mov rcx, rbx
call fcn.1400348c0
call fcn.140044120
mov dword [0x14096842c], eax
mov rdx, qword [rbp - 0x41]
mov eax, dword [rbp - 0x61]
xor word [rdx], ax
movzx edx, word [rbp - 0x69]
inc r13w
cmp r13w, 0xf
jb 0x140038fe0
movzx ecx, word [0x140968584]
lea r9, [0x140000000]
movzx r8d, word [rbp - 0x59]
inc cx
mov word [0x140968584], cx
movzx edi, cx
movzx edx, cx
cmp cx, r12w
jne 0x140039135
mov ecx, r15d
mov word [0x140968584], cx
cmp dx, r12w
mov eax, r15d
cmovne ax, di
inc r8w
mov word [rbp - 0x59], r8w
cmp r8w, r12w
jb 0x140038fb0
movzx edi, r15w
mov word [rbp - 0x59], r15w
nop dword [rax]
movzx eax, ax
lea r14, [rax*2 + 0x964464]
add r14, r9
movzx r13d, word [r14]
test r13w, r13w
je 0x1400391df
mov word [0x140968644], cx
movzx edi, r15w
mov eax, 1
nop dword [rax + rax]
movzx ecx, dil
mov esi, eax
shl si, cl
test r13w, si
je 0x1400391c4
mov word [0x140968646], di
call fcn.1400343e0
movzx ecx, word [r14]
xor cx, si
mov word [r14], cx
cmp eax, 1
jge 0x1400392ae
mov eax, 1
inc di
cmp di, 0xf
jbe 0x140039190
movzx ecx, word [0x140968584]
lea r9, [0x140000000]
movzx edi, word [rbp - 0x59]
inc cx
mov word [0x140968584], cx
movzx r8d, cx
movzx edx, cx
cmp cx, r12w
jne 0x140039201
movzx ecx, r15w
mov word [0x140968584], cx
inc di
mov eax, r15d
cmp dx, r12w
mov word [rbp - 0x59], di
cmovne ax, r8w
cmp di, r12w
jb 0x140039160
call fcn.140044120
sub ax, word [0x14096842c]
mov ecx, 0xea60
cmp ax, cx
jb 0x140039253
mov edx, 2
mov word [rbp - 9], 0xc0
lea rcx, [rbp - 9]
call fcn.1400348c0
call fcn.140044120
mov dword [0x14096842c], eax
mov ecx, dword [0x140968428]
call fcn.1400241d0
movzx edi, ax
test ax, ax
jne 0x1400392ce
or word [0x140968642], 8
jmp case.0x1400374f1.29
call fcn.140044120
sub eax, dword [0x14096842c]
cmp eax, 0x4e20
jbe 0x1400392a7
lea rax, str.timeout_writing_body
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
xor eax, eax
jmp 0x140037894
mov r8d, 5
lea rdx, str.__r_n_r_n
lea rcx, [0x14095f088]
call fcn.1400142d0
xor eax, eax
jmp 0x140037894
cmp di, 2
jb case.0x1400374f1.29
cmp di, r12w
jbe 0x1400392e1
mov edi, r12d
mov ecx, dword [0x140968428]
xor r9d, r9d
movzx r8d, di
mov rdx, rbx
call fcn.140024530
movzx r14d, byte [0x140968471]
movzx r8d, byte [0x140968472]
test r14b, r14b
jns 0x140039375
cmp di, 3
jb case.0x1400374f1.29
mov eax, 0x80
movsx ecx, r8b
movzx edx, cx
imul edx, eax
movzx eax, r14w
and ax, 0x7f
lea r14d, [rax + rdx]
mov eax, 0xfd
cmp r14w, ax
jbe 0x140039375
mov ecx, dword [0x140968428]
lea rax, str.MQTT_
mov r14d, 0x1e
mov qword [0x140968460], rax
movzx r8d, di
mov dword [0x140968420], r14d
xor edx, edx
mov byte [0x140968470], r15b
call fcn.140024400
xor eax, eax
jmp 0x140037894
add r14w, 2
cmp di, r14w
jb case.0x1400374f1.29
movzx eax, byte [0x140968470]
and al, 0xf0
cmp al, 0x30
jne 0x1400395e4
test byte [0x140968642], 4
je 0x1400395e4
movzx eax, byte [0x140968473]
movzx esi, r8b
movzx r8d, word [0x140968640]
movzx ecx, r12w
imul esi, ecx
lea ecx, [r8 + 0xa]
add si, ax
movzx eax, si
cmp eax, ecx
jb 0x1400395e4
movzx ecx, r8w
add rcx, r12
movzx eax, si
cmp rax, rcx
ja 0x1400395e4
add r8w, 5
lea r12, [0x140000000]
add si, 4
movzx edi, r8w
cmp r8w, si
jae 0x140039416
nop dword [rax + rax]
movzx eax, di
cmp byte [rax + r12 + 0x968470], 0x2f
je 0x140039416
inc di
cmp di, si
jb 0x140039400
movzx edx, di
movzx ecx, r8w
sub dx, r8w
add rcx, rbx
call fcn.140017570
mov r13d, 0xfeff
mov word [rbp - 0x71], ax
lea ecx, [rax + 1]
test r13w, cx
je 0x1400395e4
inc di
movzx r15d, di
cmp di, si
jae 0x1400395e4
movzx ecx, ax
call fcn.1400183b0
mov word [0x140968644], ax
test ax, ax
jns 0x140039491
movzx ecx, word [rbp - 0x71]
call fcn.140018580
test eax, eax
js 0x1400395e4
movzx ecx, ax
mov word [rbp - 0x71], ax
call fcn.1400183b0
mov word [0x140968644], ax
test ax, ax
js 0x1400395e4
movzx ecx, r15w
nop word [rax + rax]
movzx eax, cx
movzx edi, cx
cmp byte [rax + r12 + 0x968470], 0x2f
je 0x1400394bc
inc cx
movzx edi, cx
cmp cx, si
jb 0x1400394a0
movzx edx, di
movzx ecx, r15w
sub dx, r15w
add rcx, rbx
call fcn.140017570
add di, 4
mov word [rbp - 0x49], ax
lea ecx, [rax + 1]
test r13w, cx
je 0x1400395e4
cmp di, si
jae 0x1400395e4
mov ecx, 0xa3
cmp ax, cx
jne 0x140039507
mov r13d, reloc.WS2_32.dll_ntohs
mov word [0x140968646], r13w
jmp 0x140039526
movzx ecx, byte [0x140968644]
movzx edx, ax
call fcn.140019380
mov word [0x140968646], ax
test ax, ax
js 0x1400395e4
call fcn.1400343e0
test eax, eax
js 0x1400395e4
je case.0x1400374f1.29
movzx eax, di
lea rcx, [0x14095f088]
movzx r8d, si
sub r8w, di
lea rdx, [rax + 0x968470]
add rdx, r12
mov byte [rdx], 0x3f
call fcn.1400142d0
mov r8d, 1
mov byte [rbp - 9], 0x3d
lea rdx, [rbp - 9]
lea rcx, [0x14095f088]
call fcn.1400142d0
movzx r8d, r14w
movzx edx, si
sub r8w, si
lea rcx, [0x14095f088]
add rdx, rbx
call fcn.1400142d0
mov r8d, 5
lea rdx, str.__r_n_r_n
lea rcx, [0x14095f088]
call fcn.1400142d0
mov ecx, dword [0x140968428]
movzx r8d, r14w
xor edx, edx
call fcn.140024400
movsx rax, word [0x140968644]
lea rdx, [rax*2 + 0x964464]
movsx eax, word [0x140968646]
movzx ecx, word [rdx + r12]
btr ecx, eax
mov word [rdx + r12], cx
jmp case.0x1400374f1.29
mov ecx, dword [0x140968428]
movzx r8d, r14w
xor edx, edx
call fcn.140024400
jmp case.0x1400374f1.29
test cx, cx
je 0x140039791
mov ebx, 0x400
lea rax, str.request_failed
mov qword [rsp + 0x30], rax
lea rcx, [0x14095f0b0]
lea rax, [0x14096864e]
mov r9d, ebx
mov qword [rsp + 0x28], rax
mov r8d, r12d
mov word [rsp + 0x20], bx
lea rbx, [0x140968470]
mov rdx, rbx
call fcn.140032f20
test ax, ax
js case.0x1400374f1.29
movzx edx, byte [0x140968646]
lea r9, [rbp - 0x4d]
movzx ecx, byte [0x140968644]
lea r8, [rbp - 0x51]
mov qword [rsp + 0x40], r15
mov eax, 0xff
mov word [rbp - 0x59], ax
movzx edi, r15w
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
call fcn.140018fd0
test eax, eax
js 0x1400396c4
movzx r9d, word [rbp - 0x59]
movzx r8d, word [rbp - 0x69]
movzx edx, word [rbp - 0x4d]
movzx ecx, word [rbp - 0x51]
call fcn.1400339b0
movzx edi, ax
call fcn.1400348a0
movzx edx, ax
lea ecx, [rdi + 5]
cmp edx, ecx
jb case.0x1400374f1.29
movzx ecx, word [0x140968668]
call fcn.140032dd0
test eax, eax
je case.0x1400374f1.29
movzx ecx, word [0x140968668]
call fcn.140032e40
mov ecx, 0xfeff
and word [0x140968424], cx
test di, di
je 0x140039876
movzx eax, di
lea r8, str._api
sub r12d, eax
movzx ecx, di
mov edx, r12d
add rcx, rbx
call fcn.140021720
add byte [0x140968473], 4
add di, 4
call fcn.1400347c0
movzx esi, word [0x14096864e]
sub si, r14w
add si, di
mov word [rbp - 0x75], si
cmp si, 0x7f
ja 0x140039745
mov byte [0x140968471], sil
jmp 0x140039779
movzx r8d, di
lea rdx, [0x140968472]
sub r8, r14
lea rcx, [0x140968473]
call fcn.140050fe0
movzx eax, sil
shr si, 7
or al, 0x80
mov byte [0x140968472], sil
mov byte [0x140968471], al
inc di
movzx edx, di
mov rcx, rbx
call fcn.1400348c0
mov word [0x140968650], r15w
jmp case.0x1400374f1.29
movzx ecx, word [0x140968650]
cwde
cmp ecx, eax
jge 0x14003982e
call fcn.1400348a0
movzx edi, ax
test ax, ax
je case.0x1400374f1.29
mov ebx, 0x400
mov r12d, 0x20
nop dword [rax]
cmp di, r12w
jbe 0x1400397c9
mov edi, r12d
movsx edx, word [0x14096864e]
movzx r9d, word [0x140968650]
mov ecx, edx
sub ecx, r9d
movzx eax, di
cmp eax, ecx
jle 0x1400397eb
sub dx, r9w
movzx edi, dx
test di, di
je case.0x1400374f1.29
add r9w, bx
movzx r8d, di
movzx ecx, r9w
lea rdx, [rbp - 9]
call fcn.140033260
movzx edx, di
lea rcx, [rbp - 9]
call fcn.1400348c0
add word [0x140968650], di
call fcn.1400348a0
movzx edi, ax
test ax, ax
jne 0x1400397c0
jmp case.0x1400374f1.29
movzx ecx, byte [0x140968644]
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x59]
call fcn.140033290
test eax, eax
js 0x140039876
movzx edx, word [rbp - 0x69]
mov r8b, 0x31
movzx ecx, word [rbp - 0x59]
call fcn.140033b20
movzx edi, ax
call fcn.1400348a0
cmp ax, di
jb case.0x1400374f1.29
movzx edx, di
lea rcx, [0x140968470]
call fcn.1400348c0
mov word [0x14096864e], si
jmp case.0x1400374f1.29
mov ecx, dword [0x140968428]
call fcn.140023b30
test eax, eax
je 0x1400399d2
call fcn.1400348a0
cmp ax, 0x20
jb 0x1400399d2
test byte [0x1409639d4], 0x10
jne 0x1400398c5
call fcn.140041280
lea rcx, str.Callback_connected_n
call fcn.140041200
or byte [0x1409639d4], 0x10
movsxd rax, dword [0x140968570]
lea rcx, [0x140000000]
mov byte [rax + rcx + 0x968470], 0x2f
movzx eax, word [0x140968584]
test ax, ax
je 0x1400398f2
movzx eax, ax
mov byte [rax + rcx + 0x968470], 0x3a
mov dword [0x140968420], 0xb
call fcn.140044120
mov dword [0x14096842c], eax
movzx eax, byte [0x14095e856]
test al, al
jne 0x14003991b
lea rcx, [0x14010c714]
jmp 0x140039930
cmp al, r14b
lea rcx, [0x14010d1e8]
lea rdx, [0x14010c71c]
cmovne rcx, rdx
mov qword [0x140968468], rcx
mov rdx, rsi
nop word [rax + rax]
inc rdx
cmp byte [rcx + rdx], r15b
jne 0x140039940
call fcn.1400348c0
mov edx, 1
mov byte [rbp - 9], 0x20
lea rcx, [rbp - 9]
call fcn.1400348c0
lea r10, [0x14095e858]
lea r9, [0x140000000]
movzx r8d, word [0x140968570]
inc r8w
cmp byte [0x14095e857], 0xc
movzx r13d, r8w
mov word [rbp - 0x69], r8w
jne 0x140039a0b
mov rcx, rsi
nop
inc rcx
cmp byte [r10 + rcx], r15b
jne 0x140039990
cmp r8w, r12w
jae 0x1400399c0
nop
movzx eax, r13w
movzx edx, byte [rax + r9 + 0x968470]
test dl, dl
je 0x1400399c0
cmp dl, 0x2f
je 0x1400399c0
inc r13w
cmp r13w, r12w
jb 0x1400399a0
sub cx, r8w
add cx, 0x26
add cx, r13w
mov qword [rbp - 0x61], rcx
jmp 0x140039a2d
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.failed_to_connect
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
movsxd rcx, dword [0x140968570]
mov rax, rsi
add rcx, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], r15b
jne 0x140039a20
mov word [rbp - 0x61], ax
call fcn.1400348a0
mov rdx, qword [rbp - 0x61]
movzx ecx, ax
movzx eax, dx
add eax, 0xb
cmp ecx, eax
jae 0x140039a83
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.timeout_writing_request
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
cmp byte [0x14095e857], 0xc
jne 0x140039af4
mov edx, reloc.WS2_32.dll_select
lea rcx, str._api_v2_write_orgbucketprecisions
call fcn.1400348c0
movzx eax, word [rbp - 0x69]
cmp r13w, ax
jbe 0x140039aba
sub r13w, ax
movzx ecx, ax
add rcx, rbx
movzx edx, r13w
call fcn.1400348c0
mov edx, 8
lea rcx, [0x14010d05a]
call fcn.1400348c0
mov rdx, rsi
lea r8, [0x14095e858]
inc rdx
cmp byte [r8 + rdx], r15b
jne 0x140039ad5
mov rcx, r8
call fcn.1400348c0
mov edx, recv
lea rcx, [0x14010d062]
jmp 0x140039afe
movsxd rcx, dword [0x140968570]
add rcx, rbx
call fcn.1400348c0
call fcn.140044120
cmp byte [0x14095e856], 1
mov dword [0x14096842c], eax
mov word [0x140968584], r15w
jne 0x140039b3d
movzx eax, byte [0x14095e857]
cmp al, 4
je 0x140039b3d
cmp al, 0xa
je 0x140039b3d
mov dword [0x140968420], 0x10
jmp case.0x1400374f1.29
mov edx, reloc.WS2_32.dll_inet_addr
lea rcx, str._HTTP_1.1_r_n
call fcn.1400348c0
mov dword [0x140968420], 0xc
call fcn.1400348a0
movzx ecx, ax
mov eax, dword [0x140968570]
add eax, 6
cmp ecx, eax
jge 0x140039bad
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.timeout_writing_header
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
mov edx, 6
lea rcx, str.Host:
call fcn.1400348c0
movzx edx, word [0x140968570]
mov rcx, rbx
call fcn.1400348c0
movzx eax, byte [0x14095e857]
cmp al, 4
je 0x140039bdc
cmp al, 0xa
jne 0x140039bfc
cmp byte [0x14095e7d6], 0x77
jne 0x140039bf4
mov dword [0x140968420], 0xd
jmp case.0x1400374f1.29
or word [0x140968424], 8
mov dword [0x140968420], 0xe
lea r8, str._r_nConnection:_close_r_nUser_Agent:
mov edx, r12d
mov rcx, rbx
call fcn.140021720
mov r13, rsi
nop dword [rax + rax]
inc r13
cmp byte [rbx + r13], r15b
jne 0x140039c20
movzx eax, r13w
lea rcx, [0x140000000]
lea rcx, [rcx + 0x968470]
mov edx, r12d
add rcx, rax
lea r8, str.VirtualHub
movzx eax, r13w
sub edx, eax
mov qword [rbp - 0x41], rcx
call fcn.140021720
mov rcx, qword [rbp - 0x41]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], r15b
jne 0x140039c60
add ax, r13w
lea r8, [0x14010b7dc]
movzx r13d, ax
mov edx, r12d
sub edx, r13d
lea rcx, [rbx + r13]
call fcn.140021720
add r13w, r14w
cmp byte [0x14095e857], 0xc
mov qword [rbp - 0x61], r13
jne 0x140039ea4
cmp byte [0x14095e878], r15b
jne 0x140039d53
cmp byte [0x14095e8ba], r15b
je 0x140039d53
mov r13, rsi
lea rdx, [0x14095e8ba]
inc r13
cmp byte [rdx + r13], r15b
jne 0x140039cc0
cmp r13w, 0x10
jbe 0x140039cd6
mov r13d, reloc.WS2_32.dll_recv
movzx eax, r13w
lea rcx, [0x14095e879]
mov r8d, eax
mov qword [rbp - 0x41], rax
call fcn.140050fe0
cmp r13w, 0x10
jae 0x140039d48
mov rax, qword [rbp - 0x41]
lea rcx, [0x140000000]
inc r13w
mov byte [rax + rcx + 0x95e879], r15b
cmp r13w, 0x10
jae 0x140039d48
movzx ebx, r13w
lea rax, [0x14095e879]
add rbx, rax
mov eax, reloc.WS2_32.dll_recv
sub ax, r13w
movzx r13d, ax
nop dword [rax]
call fcn.140029800
mov byte [rbx], al
lea rbx, [rbx + 1]
sub r13, 1
jne 0x140039d30
lea rbx, [0x140968470]
mov r13, qword [rbp - 0x61]
mov byte [0x14095e878], 0x10
movzx eax, r13w
lea rcx, [0x140000000]
lea rcx, [rcx + 0x968470]
mov edx, r12d
add rcx, rax
lea r8, str.Authorization:_Token
movzx eax, r13w
sub edx, eax
mov qword [rbp - 0x41], rcx
call fcn.140021720
mov rcx, qword [rbp - 0x41]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], r15b
jne 0x140039d90
add r13w, ax
movzx r8d, r15w
mov eax, dword [0x14095e7d6]
cmp eax, dword [str.http:__]
jne 0x140039dd1
movzx eax, word [0x14095e7da]
cmp ax, word [0x1400797b4]
jne 0x140039dd1
movzx eax, byte [0x14095e7dc]
cmp al, byte [0x1400797b6]
jne 0x140039dd1
mov r8d, edi
lea r9, [0x140000000]
movzx eax, r8w
lea rdi, [r9 + 0x95e7d6]
movzx edx, r14w
add rdi, rax
cmp byte [rdi], r15b
je 0x140039e1c
nop
test dx, dx
je 0x140039e1c
movzx ecx, byte [rdi]
inc r8w
movzx eax, r8w
lea rdi, [r9 + 0x95e7d6]
add rdi, rax
lea eax, [rdx - 1]
cmp cl, 0x2f
cmovne ax, dx
movzx edx, ax
cmp byte [rdi], r15b
jne 0x140039df0
movzx eax, r8w
lea r8, [r9 + 0x95e7d6]
add r8, rax
cmp byte [r8], r15b
je 0x140039e5e
movzx eax, r13w
lea rdi, [r9 + 0x968470]
add rdi, rax
mov edx, r12d
movzx eax, r13w
mov rcx, rdi
sub edx, eax
call fcn.140021720
mov rax, rsi
inc rax
cmp byte [rdi + rax], r15b
jne 0x140039e51
add r13w, ax
movzx edi, byte [0x14095e878]
lea rdx, [0x14095e879]
movzx ecx, r13w
mov r8d, edi
add rcx, rbx
call fcn.140050fe0
lea eax, [rdi + r13]
mov edx, r12d
movzx edi, ax
lea r8, [0x14010b7dc]
sub edx, edi
lea rcx, [rbx + rdi]
call fcn.140021720
lea r13d, [rdi + 2]
mov edi, 7
mov qword [rbp - 0x61], r13
cmp byte [0x14095e856], 1
je 0x14003a02d
movzx eax, r13w
lea rcx, [0x140000000]
lea rcx, [rcx + 0x968470]
mov edx, r12d
add rcx, rax
lea r8, str.Content_Type:_application_
movzx eax, r13w
sub edx, eax
mov qword [rbp - 0x41], rcx
call fcn.140021720
mov rax, qword [rbp - 0x41]
mov r13, rsi
inc r13
cmp byte [rax + r13], r15b
jne 0x140039ee6
add r13w, word [rbp - 0x61]
movzx eax, byte [0x14095e857]
test al, al
jne 0x140039f08
lea r8, str.x_www_form_urlencoded
jmp 0x140039f1e
cmp al, 3
je 0x140039f17
lea r8, [0x14010c538]
cmp al, 8
jne 0x140039f1e
lea r8, [0x14010c564]
movzx eax, r13w
lea rcx, [0x140000000]
mov edx, r12d
sub edx, eax
movzx eax, r13w
lea rax, [rax + 0x968470]
add rax, rcx
mov rcx, rax
mov qword [rbp - 0x41], rax
call fcn.140021720
mov rcx, qword [rbp - 0x41]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], r15b
jne 0x140039f50
add ax, r13w
lea r8, str._r_nContent_Length:
movzx ecx, ax
mov edx, r12d
mov qword [rbp - 0x61], rcx
lea rax, [0x140000000]
lea rax, [rax + 0x968470]
sub edx, ecx
add rax, rcx
mov rcx, rax
mov qword [rbp - 0x41], rax
call fcn.140021720
mov rax, qword [rbp - 0x41]
mov r13, rsi
inc r13
cmp byte [rax + r13], r15b
jne 0x140039f94
add r13w, word [rbp - 0x61]
movzx edx, byte [0x14095e857]
cmp dl, 4
je 0x140039feb
cmp dl, 0xa
je 0x140039feb
movzx eax, r13w
lea rcx, [0x140000000]
lea rcx, [rcx + 0x968470]
add rcx, rax
mov eax, r15d
cmp dl, r14b
mov qword [rbp - 0x61], rcx
mov rdx, rcx
cmove ax, r14w
add ax, word [0x140964260]
movzx ecx, ax
call fcn.140025bd0
jmp 0x14003a012
lea rcx, [0x140000000]
movzx eax, r13w
lea rax, [rax + 0x968470]
add rax, rcx
mov ecx, dword [0x140968578]
mov rdx, rax
mov qword [rbp - 0x61], rax
call fcn.140025c70
mov rcx, qword [rbp - 0x61]
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rcx + rax], r15b
jne 0x14003a020
add r13w, ax
movzx eax, r13w
lea r8, [0x14010b7dc]
mov edx, r12d
movzx ecx, r13w
sub edx, eax
add rcx, rbx
call fcn.140021720
add r13w, r14w
call fcn.1400348a0
cmp ax, r13w
jb 0x140039b6d
movzx edx, r13w
mov rcx, rbx
call fcn.1400348c0
call fcn.140044120
cmp byte [0x14095e858], r15b
mov dword [0x14096842c], eax
je 0x14003a0b2
movzx r8d, byte [0x140968586]
test r8b, 0xfb
je 0x14003a0b2
mov r13d, reloc.WS2_32.dll_ntohs
lea rdx, [0x14095e8ba]
mov dword [0x140968420], r13d
lea r10, [0x14095e858]
lea r11, [0x14095e879]
lea eax, [r13 + 1]
jmp 0x14003a0d9
cmp byte [0x14095e856], 1
mov ecx, reloc.WS2_32.dll_sendto
mov eax, reloc.WS2_32.dll_recv
cmove eax, ecx
mov dword [0x140968420], eax
jmp case.0x1400374f1.29
movzx r8d, byte [0x140968586]
cmp r8b, 1
jne 0x14003a18f
cmp byte [0x14095e878], r15b
jne 0x14003a171
cmp byte [0x14095e8ba], r15b
je 0x14003a171
mov rdi, rsi
nop dword [rax]
inc rdi
cmp byte [rdx + rdi], r15b
jne 0x14003a100
cmp di, 0x10
jbe 0x14003a112
movzx edi, ax
movzx r13d, di
mov rcx, r11
mov r8d, r13d
call fcn.140050fe0
cmp di, 0x10
jae 0x14003a16a
inc di
lea rax, [0x140000000]
mov byte [rax + r13 + 0x95e879], r15b
cmp di, 0x10
jae 0x14003a16a
movzx r13d, di
lea rax, [0x14095e879]
add r13, rax
mov eax, reloc.WS2_32.dll_recv
sub ax, di
movzx edi, ax
call fcn.140029800
mov byte [r13], al
inc r13
sub rdi, 1
jne 0x14003a158
mov byte [0x14095e878], 0x10
lea r9, [0x14095e878]
mov edx, r12d
lea r8, [0x14095e858]
mov rcx, rbx
call fcn.140034900
jmp 0x14003a28f
lea eax, [r8 - 2]
cmp al, 1
ja 0x14003a28f
cmp byte [0x14095e878], r15b
jne 0x14003a1d1
cmp byte [0x14095e8ba], r15b
je 0x14003a1d1
mov r8, rdx
lea r9, [0x140968589]
mov rdx, r10
mov rcx, r11
call fcn.140014c60
movzx r8d, byte [0x140968586]
mov byte [0x14095e878], 0x10
lea rdx, [0x14095e7d6]
mov rcx, rsi
nop dword [rax + rax]
inc rcx
cmp byte [rdx + rcx], r15b
jne 0x14003a1e0
cmp di, cx
jae 0x14003a216
lea r9, [0x140000000]
nop word [rax + rax]
movzx eax, di
cmp byte [rax + r9 + 0x95e7d6], 0x2f
je 0x14003a216
inc di
cmp di, cx
jb 0x14003a200
movzx eax, di
lea rcx, [0x14096857c]
add rax, rdx
lea rdi, [0x14096860c]
mov qword [rsp + 0x48], rax
lea r9, [0x140968589]
mov rax, qword [0x140968468]
cmp r8b, 3
mov qword [rsp + 0x40], rax
lea r8, [0x14095e858]
lea rax, [0x14095e879]
mov rdx, r15
cmove rdx, rcx
cmp byte [0x14096860b], r15b
mov qword [rsp + 0x38], rdx
mov rcx, r15
cmovne rcx, rdi
mov edx, r12d
mov qword [rsp + 0x30], rcx
lea rcx, [0x1409685ca]
mov qword [rsp + 0x28], rcx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140015660
mov rdi, rsi
inc rdi
cmp byte [rbx + rdi], r15b
jne 0x14003a292
call fcn.1400348a0
cmp ax, di
jae 0x14003a2e5
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.timeout_writing_auth
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
movzx edx, di
mov rcx, rbx
call fcn.1400348c0
call fcn.140044120
cmp byte [0x14095e856], 1
mov dword [0x14096842c], eax
je 0x14003a92a
mov dword [0x140968420], 0x10
call fcn.1400348a0
movzx r13d, ax
cmp ax, 0x3c
jae 0x14003a361
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.timeout_writing_body
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
movzx edi, byte [0x14095e857]
cmp dil, 4
je 0x14003a526
cmp dil, 0xa
je 0x14003a526
movzx edx, word [0x140968584]
mov r12d, 1
test dx, dx
jne 0x14003a3da
cmp byte [0x14095e856], r12b
mov ebx, r15d
mov eax, r15d
cmove ax, r14w
cmp dil, r14b
mov word [rbp - 0x75], ax
sete bl
add bx, r14w
sub bx, ax
je 0x14003a3da
movzx ecx, ax
movzx edx, bx
lea rax, [0x14010d32c]
add rcx, rax
call fcn.1400348c0
movzx edx, word [0x140968584]
sub r13w, bx
movzx edi, byte [0x14095e857]
movzx esi, word [0x140964260]
cmp dx, si
jae 0x14003a494
movzx eax, r13w
movzx ecx, dx
add ecx, eax
movzx eax, si
cmp ecx, eax
jbe 0x14003a3ff
sub si, dx
jmp 0x14003a403
movzx esi, r13w
test si, si
je 0x14003a494
lea r14, [0x1409684f0]
mov eax, 0x80
cmp si, ax
jae 0x14003a422
movzx ebx, si
jmp 0x14003a424
mov ebx, eax
mov word [rbp - 0x75], r15w
cmp r15w, bx
jae 0x14003a46c
movzx edi, bx
lea r15, [0x140000000]
mov word [rbp - 0x75], di
mov rcx, r14
movzx eax, dx
lea rcx, [rcx + 1]
movzx eax, byte [rax + r15 + 0x964264]
mov byte [rcx - 1], al
movzx edx, word [0x140968584]
inc dx
mov word [0x140968584], dx
sub rdi, r12
jne 0x14003a440
xor r15d, r15d
movzx edx, bx
lea rcx, [0x1409684f0]
call fcn.1400348c0
sub r13w, bx
sub si, bx
je 0x14003a48d
movzx edx, word [0x140968584]
jmp 0x14003a413
movzx edi, byte [0x14095e857]
cmp byte [0x14095e856], r12b
jne 0x14003a4ed
cmp r13w, 0xc
jb 0x14003a51e
lea rdx, str.__HTTP_1.1_r_n
mov eax, recv
cmp dil, 2
setne r15b
sub ax, r15w
movzx ecx, r15w
add rcx, rdx
mov word [rbp - 0x75], r15w
movzx edx, ax
call fcn.1400348c0
mov dword [0x140968420], 0xc
call fcn.140044120
mov dword [0x14096842c], eax
mov ebx, r12d
jmp 0x140037881
cmp dil, 2
jne 0x14003a508
cmp r13w, r12w
jb 0x14003a51e
mov edx, r12d
lea rcx, [0x140079a70]
call fcn.1400348c0
mov ecx, reloc.WS2_32.dll_sendto
mov dword [0x140968420], ecx
call fcn.140044120
mov dword [0x14096842c], eax
mov ebx, r12d
jmp 0x140037881
lea r8, [0x140968460]
xor edx, edx
lea rcx, [0x140968668]
call fcn.140032ca0
test eax, eax
js 0x14003a76d
or word [0x140968424], r12w
lea r13, [0x140118690]
cmp byte [0x140968637], r15b
movzx edi, r15w
mov byte [rbp - 9], r15b
mov qword [rbp - 0x61], rdi
jne 0x14003a5c1
cmp word [0x140968634], r15w
jbe 0x14003a5c1
mov rcx, r13
call fcn.140017540
movzx ecx, word [0x140965e68]
cwde
cmp ecx, eax
jne 0x14003a5c1
lea r8, str.Mar_25_2024_11:45:46
mov dword [rbp - 9], 0x3d77663f
mov edx, 0x1c
lea rcx, [rbp - 5]
call fcn.140021720
lea rax, [rbp - 5]
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x14003a5b0
add di, 4
mov qword [rbp - 0x61], rdi
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.GET__api.json
lea rcx, [0x14095f088]
call fcn.1400142d0
test di, di
je 0x14003a5f3
movzx r8d, di
lea rdx, [rbp - 9]
lea rcx, [0x14095f088]
call fcn.1400142d0
mov r8d, 5
lea rdx, str.__r_n_r_n
lea rcx, [0x14095f088]
call fcn.1400142d0
mov edx, r14d
lea rcx, [0x14010b7dc]
call fcn.1400348c0
test byte [0x140968424], 8
mov edi, 1
mov eax, dword [0x140968630]
cmovne eax, r15d
mov word [0x140968584], r15w
cmp byte [0x140968637], r15b
mov dword [0x140968578], eax
mov byte [0x140968470], 0x7b
jne 0x14003a6b3
lea r8, str._serial_:_
mov edx, 0xff
lea rcx, [0x140968471]
call fcn.140021720
lea r14, [0x14096847b]
mov r8, r13
mov rcx, r14
mov edx, 0x10b
call fcn.140021720
mov rdi, rsi
inc rdi
cmp byte [r14 + rdi], r15b
jne 0x14003a681
add di, 0xb
lea rcx, [0x140000000]
movzx eax, di
inc di
mov byte [rax + rcx + 0x968470], 0x22
movzx eax, di
inc di
mov byte [rax + rcx + 0x968470], 0x2c
jmp 0x14003a6ba
lea rcx, [0x140000000]
movzx eax, di
lea r14, [rcx + 0x968470]
add r14, rax
lea r8, str._tRepBuf_:6370_
movzx eax, di
mov edx, r12d
sub edx, eax
mov rcx, r14
call fcn.140021720
nop
inc rsi
cmp byte [r14 + rsi], r15b
jne 0x14003a6e0
add di, si
lea r8, str.__api.json
movzx eax, di
mov edx, r12d
movzx ecx, di
sub edx, eax
add rcx, rbx
call fcn.140021720
add di, 0xa
cmp byte [rbp - 9], r15b
je 0x14003a72b
movzx eax, di
lea r8, [rbp - 9]
mov edx, r12d
movzx ecx, di
sub edx, eax
add rcx, rbx
call fcn.140021720
add di, word [rbp - 0x61]
movzx eax, di
lea r8, [0x14010d314]
sub r12d, eax
movzx ecx, di
mov edx, r12d
add rcx, rbx
call fcn.140021720
mov eax, 0xffce
mov dword [0x140968580], r15d
and word [0x140968424], ax
mov ebx, 1
mov dword [0x140968420], 0x11
jmp 0x140037881
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.localhost_timeout
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
lea rbx, [0x140968470]
mov edx, r12d
mov rcx, rbx
lea r8, str._r_nSec_WebSocket_Version:_13_r_nUser_Agent:
call fcn.140021720
mov rdi, rsi
nop dword [rax]
inc rdi
cmp byte [rbx + rdi], r15b
jne 0x14003a7d0
movzx eax, di
lea r15, [0x140000000]
mov edx, r12d
lea r14, [r15 + 0x968470]
add r14, rax
lea r8, str.VirtualHub
movzx eax, di
mov rcx, r14
sub edx, eax
call fcn.140021720
mov rax, rsi
nop word [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x14003a810
add ax, di
lea r8, str._r_nSec_WebSocket_Key:
movzx r14d, ax
lea rdi, [r15 + 0x968470]
add rdi, r14
mov edx, r12d
mov rcx, rdi
sub edx, r14d
call fcn.140021720
mov rax, rsi
inc rax
cmp byte [rdi + rax], 0
jne 0x14003a843
add ax, r14w
movzx edi, ax
call fcn.140036c70
movzx r8d, word [0x14096864c]
lea rcx, [rbx + rdi]
lea rdx, [0x140968630]
call fcn.140050fe0
add di, word [0x14096864c]
lea r8, str._r_nConnection:_keep_alive__Upgrade_r_nUpgrade:_websocket_r_n
movzx r14d, di
mov edx, r12d
lea rdi, [r15 + 0x968470]
sub edx, r14d
add rdi, r14
mov rcx, rdi
call fcn.140021720
nop word [rax + rax]
inc rsi
cmp byte [rdi + rsi], 0
jne 0x14003a8a0
add si, r14w
lea r8, [0x14010b7dc]
movzx edi, si
sub r12d, edi
mov edx, r12d
lea rcx, [rbx + rdi]
call fcn.140021720
add di, 2
call fcn.1400348a0
cmp ax, di
jae 0x14003a914
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.timeout_writing_header
mov byte [0x140968470], 0
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
movzx edx, di
mov rcx, rbx
call fcn.1400348c0
call fcn.140044120
mov dword [0x14096842c], eax
mov ecx, reloc.WS2_32.dll_sendto
mov dword [0x140968420], ecx
jmp case.0x1400374f1.29
call fcn.1400348a0
lea rcx, [0x14095f0b0]
movzx r12d, ax
call fcn.1400147e0
movzx r14d, ax
cmp r12w, 0x3c
jb 0x14003b6bf
lea rbx, [0x140968470]
mov edi, 2
cmp ax, 6
jae 0x14003aa5c
cmp word [0x140968584], r15w
je 0x14003b6bf
test r14w, r14w
je 0x14003ae9e
test r12w, r12w
je 0x14003ae9e
mov eax, 0xff
mov dword [rbp - 0x79], 1
cmp r12w, ax
jbe 0x14003a9ab
mov r12d, eax
movzx eax, byte [0x140968424]
cmp r14w, r12w
cmova r14w, r12w
mov word [rbp - 0x71], r14w
test al, 0x10
je 0x14003afe3
xor r9d, r9d
lea rcx, [0x14095f0b0]
movzx r8d, r14w
mov rdx, rbx
call fcn.140014540
movzx r9d, word [rbp - 0x71]
movzx edx, r15w
mov word [rbp - 0x75], dx
movzx r14d, r15w
cmp r15w, r9w
jae 0x14003ad05
mov esi, 6
lea r15, [0x140000000]
movabs r10, 0x400002400
lea ebx, [rsi - 5]
cmp dx, r12w
jae 0x14003acf0
movzx eax, r14w
movzx r8d, bx
movzx ecx, byte [rax + r15 + 0x968470]
cmp cl, 0x22
ja 0x14003aa3f
movzx eax, cl
bt r10, rax
jb 0x14003acc9
cmp cl, 0x5c
je 0x14003acc9
sub cl, 0x20
cmp cl, 0x5e
jbe 0x14003accd
mov r8d, esi
jmp 0x14003accd
cmp word [0x140968584], r15w
jne 0x14003a982
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rbx + rax], r15b
jne 0x14003aa70
movzx edx, ax
movzx r14d, ax
mov rcx, rbx
call fcn.1400348c0
movzx eax, byte [0x140968424]
test al, 0x10
jne 0x14003aaac
test al, 0x20
jne 0x14003aaac
mov edx, edi
lea rcx, [0x14010b7dc]
call fcn.1400348c0
movzx eax, byte [0x140968424]
test al, 8
jne 0x14003aaf0
cmp byte [0x140968586], 4
jne 0x14003aaf0
mov r8d, r14d
lea rcx, [0x140968588]
mov rdx, rbx
call fcn.140016c10
movzx eax, byte [0x140968424]
test al, 0x10
jne 0x14003aaf0
test al, 0x20
jne 0x14003aaf0
mov r8d, edi
lea rdx, [0x14010b7dc]
lea rcx, [0x140968588]
call fcn.140016c10
mov r8d, 6
lea rcx, [0x14095f0b0]
mov rdx, rbx
call fcn.140014400
mov ecx, dword [0x140968470]
mov eax, 1
cmp ecx, dword [str.OK_r_nCo]
mov word [0x140968584], ax
lea r14d, [rax + 0x1d]
jne 0x14003abb5
movzx eax, word [0x140968474]
cmp ax, word [0x14010d3d8]
jne 0x14003abbc
nop dword [rax + rax]
xor r9d, r9d
lea rdx, [0x14010b7dc]
mov byte [rsp + 0x28], r9b
lea rcx, [0x14095f0b0]
mov r8d, edi
mov word [rsp + 0x20], r14w
call fcn.140014760
cmp ax, r13w
je 0x14003ab95
movzx r8d, ax
lea rcx, [0x14095f0b0]
xor edx, edx
call fcn.140014400
mov r8d, 4
lea rdx, [0x140968472]
lea rcx, [0x14095f0b0]
call fcn.140014400
mov ecx, dword [0x140968470]
cmp ecx, dword [str.OK_r_nCo]
jne 0x14003abb5
movzx eax, word [0x140968474]
cmp ax, word [0x14010d3d8]
je 0x14003ab40
jmp 0x14003abbc
movzx eax, word [0x140968474]
cmp ecx, dword [str.OK_r_n_r_n]
jne 0x14003abeb
cmp ax, word [0x14010ce68]
jne 0x14003abeb
call fcn.1400348a0
lea rcx, [0x14095f0b0]
movzx r12d, ax
call fcn.1400147e0
movzx r14d, ax
jmp 0x14003a982
movzx edi, word [0x140968582]
cmp di, 2
jbe 0x14003ac63
sub di, 2
lea rbx, [0x140000000]
mov word [0x140968582], di
je 0x14003ac23
nop dword [rax]
movzx eax, di
cmp byte [rax + rbx + 0x964263], 0x22
je 0x14003ac23
add di, r13w
jne 0x14003ac10
mov cl, 0x2b
call fcn.1400410c0
cmp di, word [0x140968582]
jae 0x14003ac5c
nop dword [rax]
nop word [rax + rax]
movzx eax, di
movzx ecx, byte [rax + rbx + 0x964264]
call fcn.1400410c0
inc di
cmp di, word [0x140968582]
jb 0x14003ac40
mov cl, 0xa
call fcn.1400410c0
lea rcx, [0x14095f0b0]
mov word [0x140964260], r15w
call fcn.1400147e0
movzx edi, ax
mov eax, 0xf9
cmp di, ax
jbe 0x14003ac86
mov edi, eax
movzx r8d, di
lea rdx, [0x140968476]
lea rcx, [0x14095f0b0]
call fcn.140014400
movzx eax, di
lea rcx, [0x140000000]
mov byte [rax + rcx + 0x968476], r15b
lea rax, str.device_request_failed
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp case.0x1400374f1.29
movzx r8d, di
movzx eax, dx
movzx ecx, r8w
add ecx, eax
movzx eax, r12w
cmp ecx, eax
ja 0x14003acf0
inc r14w
add dx, r8w
cmp r14w, r9w
jb 0x14003aa12
mov word [rbp - 0x75], dx
lea rbx, [0x140968470]
mov rsi, 0xffffffffffffffff
xor r15d, r15d
movzx r8d, r14w
lea rcx, [0x14095f0b0]
xor edx, edx
call fcn.140014400
movzx edx, word [rbp - 0x75]
mov word [rbp - 0x71], dx
movzx r9d, dx
test r14w, r14w
je 0x14003ae68
mov r9d, WSACleanup
lea r12, [0x140000000]
nop word [rax + rax]
cmp dx, r14w
jbe 0x14003ae68
add r14w, r13w
movzx eax, r14w
movzx ecx, byte [rax + r12 + 0x968470]
cmp cl, 0xd
je 0x14003ae14
cmp cl, 0xa
je 0x14003ae14
cmp cl, 0x5c
je 0x14003ae14
cmp cl, 0x22
je 0x14003ae19
lea eax, [rcx - 0x20]
cmp al, 0x5e
ja 0x14003ad9a
add dx, r13w
movzx eax, dx
mov byte [rax + r12 + 0x968470], cl
jmp 0x14003ae5a
mov r8d, 4
movzx ecx, cl
lea rdx, [rbp - 9]
call fcn.140014860
movzx eax, byte [rbp - 6]
mov r9d, WSACleanup
movzx edx, word [rbp - 0x75]
add dx, r13w
movzx ecx, dx
add dx, r13w
mov byte [rcx + r12 + 0x968470], al
movzx eax, byte [rbp - 7]
movzx ecx, dx
add dx, r13w
mov byte [rcx + r12 + 0x968470], al
movzx eax, byte [rbp - 8]
movzx ecx, dx
add dx, r13w
mov byte [rcx + r12 + 0x968470], al
movzx eax, byte [rbp - 9]
movzx ecx, dx
add dx, r13w
mov byte [rcx + r12 + 0x968470], al
movzx eax, dx
mov byte [rax + r12 + 0x968470], 0x75
jmp 0x14003ae4a
cmp cl, 0x22
jne 0x14003ae21
mov r8d, 0x22
jmp 0x14003ae3b
cmp cl, 0xa
jne 0x14003ae2e
mov r8d, WSAGetLastError
jmp 0x14003ae3b
cmp cl, 0xd
mov r8d, 0x5c
cmove r8d, r9d
add dx, r13w
movzx eax, dx
mov byte [rax + r12 + 0x968470], r8b
add dx, r13w
movzx eax, dx
mov byte [rax + r12 + 0x968470], 0x5c
mov word [rbp - 0x75], dx
test r14w, r14w
jne 0x14003ad40
movzx r14d, word [rbp - 0x71]
movzx edx, r14w
mov rcx, rbx
call fcn.1400348c0
test byte [0x140968424], 8
jne 0x14003ae9e
cmp byte [0x140968586], 4
jne 0x14003ae9e
movzx r8d, r14w
lea rcx, [0x140968588]
mov rdx, rbx
call fcn.140016c10
movzx ecx, word [0x140968668]
call fcn.140032dd0
test eax, eax
je case.0x1400374f1.29
movzx ecx, word [0x140968668]
call fcn.140032e40
mov ecx, 0xfeff
and word [0x140968424], cx
movzx ecx, word [0x140968582]
test cx, cx
jne 0x14003b1c9
movzx edx, word [0x140968580]
movzx ecx, word [0x140118688]
inc dx
mov word [0x140968580], dx
call fcn.140016ef0
movzx ebx, ax
test ax, ax
je 0x14003b1c2
lea r8, [0x140968460]
xor edx, edx
lea rcx, [0x140968668]
call fcn.140032ca0
test eax, eax
js 0x14003b1c2
xor edx, edx
movzx ecx, bx
call fcn.1400181e0
mov ecx, dword [0x14010d400]
lea r14, [0x14096847d]
movsd xmm0, qword [str._n___bySerial_]
mov r12d, 0x100
or word [0x140968424], r12w
mov rdx, r14
mov dword [0x140968478], ecx
movzx ebx, ax
movzx ecx, byte [0x14010d404]
mov byte [0x14096847c], cl
mov ecx, reloc.WS2_32.dll_sendto
mov r8d, ecx
movsd qword [0x140968470], xmm0
movzx ecx, ax
call fcn.1400176a0
cmp byte [0x140968637], 0
movzx edi, r15w
mov byte [rbp - 9], 0
jne 0x14003b0e2
movzx edx, word [0x140968634]
test dx, dx
je 0x14003b0e2
movzx ecx, r15w
cmp r15w, dx
jae 0x14003b0e2
movsx r9d, bx
lea r10, [0x140000000]
nop dword [rax]
movzx r8d, cx
movzx eax, word [r10 + r8*8 + 0x965e68]
cmp eax, r9d
je 0x14003b0b6
inc cx
cmp cx, dx
jb 0x14003afc0
jmp 0x14003b0e2
test al, 0x20
je 0x14003b09e
shr r12w, 2
cmp r12w, 0x24
jbe 0x14003affd
mov r12d, 0x24
movzx eax, r12w
movzx edi, r12w
add ax, ax
shl di, 2
add r12w, ax
mov word [rbp - 0x69], di
mov word [rbp - 0x75], r12w
cmp r14w, r12w
jbe 0x14003b025
movzx r14d, r12w
jmp 0x14003b055
movzx ecx, r14w
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [rdx + rdx*2]
sub ecx, eax
mov word [rbp - 0x75], cx
test cx, cx
je 0x14003b055
movzx ecx, word [0x140968668]
call fcn.140032db0
test eax, eax
jne 0x14003b055
sub r14w, word [rbp - 0x75]
movzx eax, di
lea rcx, [0x140000000]
lea rdi, [rcx + 0x968470]
movzx r8d, r14w
add rdi, rax
lea rcx, [0x14095f0b0]
mov rdx, rdi
call fcn.140014400
movzx r9d, word [rbp - 0x69]
mov r8, rbx
movzx edx, r14w
mov rcx, rdi
call fcn.140044240
movzx r14d, ax
mov edi, 2
jmp 0x14003ae6d
movzx r8d, r14w
lea rcx, [0x14095f0b0]
mov rdx, rbx
call fcn.140014400
jmp 0x14003ae6d
mov ecx, dword [r10 + r8*8 + 0x965e6c]
lea rdx, [rbp - 5]
mov dword [rbp - 9], 0x3d77663f
call fcn.140025c70
lea rax, [rbp - 5]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x14003b0d5
add di, 4
mov r8d, reloc.WS2_32.dll_ntohl
mov word [0x140968584], r15w
lea rdx, str.GET__bySerial_
lea rcx, [0x14095f088]
call fcn.1400142d0
inc rsi
cmp byte [r14 + rsi], 0
jne 0x14003b103
mov r8, rsi
lea rcx, [0x14095f088]
mov rdx, r14
call fcn.1400142d0
mov r8d, 9
lea rdx, str._api.json
lea rcx, [0x14095f088]
call fcn.1400142d0
lea r8, str._api.json
mov edx, 0xe8
lea rcx, [0x140968488]
call fcn.140021790
mov ebx, 0x21
test di, di
je 0x14003b186
movzx r8d, di
lea rdx, [rbp - 9]
lea rcx, [0x14095f088]
call fcn.1400142d0
lea r8, [rbp - 9]
mov edx, 0xdf
lea rcx, [0x140968491]
call fcn.140021790
lea ebx, [rdi + 0x21]
mov r8d, 5
lea rdx, str.__r_n_r_n
lea rcx, [0x14095f088]
call fcn.1400142d0
movzx ecx, bx
lea rdi, [0x140968470]
add rcx, rdi
lea r8, [0x14010d314]
mov edx, 0xe8
call fcn.140021790
jmp 0x14003b6aa
movzx ecx, word [0x140968582]
cmp cx, word [0x140964260]
jae 0x14003b4c7
movzx eax, cx
lea rsi, [0x140000000]
inc cx
mov word [0x140968582], cx
cmp byte [rax + rsi + 0x964264], 0x22
jne 0x14003b4c7
lea r8, [0x140968460]
xor edx, edx
lea rcx, [0x140968668]
call fcn.140032ca0
test eax, eax
js 0x14003b4c7
movzx eax, byte [0x140968470]
mov edx, 0x22
movzx ecx, word [0x140968424]
mov r12d, 0x100
movzx r10d, word [0x140964260]
or cx, r12w
mov word [0x140968424], cx
movzx r8d, r15w
and cx, 0x30
movzx ebx, r15w
cmovne eax, edx
test cx, cx
mov byte [0x140968470], al
mov rax, r15
setne al
test cx, cx
mov byte [rax + rsi + 0x968470], 0xa
mov eax, r15d
setne al
inc ax
movzx edx, ax
mov byte [rdx + rsi + 0x968470], 0x2c
inc dx
movzx eax, dx
inc dx
mov byte [rax + rsi + 0x968470], 0x22
movzx ecx, word [0x140968582]
cmp cx, r10w
jae 0x14003b3ba
movzx r11d, dx
nop dword [rax]
nop dword [rax + rax]
movzx eax, cx
movzx r9d, byte [rax + rsi + 0x964264]
movzx eax, bx
add rax, r11
mov byte [rax + rsi + 0x968470], r9b
cmp r9b, 0x22
je 0x14003b3b2
movzx ecx, word [0x140968582]
cmp r9b, 0x2f
jne 0x14003b336
test r8w, r8w
jne 0x14003b399
movzx eax, cx
cmp byte [rsi + rax + 0x964265], 0x61
jne 0x14003b399
cmp byte [rsi + rax + 0x964266], 0x70
jne 0x14003b399
cmp byte [rsi + rax + 0x964267], 0x69
jne 0x14003b399
movzx r9d, byte [rsi + rax + 0x964268]
lea eax, [r9 - 0x2e]
cmp al, 1
jbe 0x14003b32e
test r9b, r9b
jne 0x14003b399
mov r8d, 1
jmp 0x14003b399
cmp r9b, 0x2e
jne 0x14003b399
cmp r8w, 2
jae 0x14003b399
movzx eax, cx
movzx r9d, byte [rsi + rax + 0x964265]
cmp r9b, 0x74
jne 0x14003b371
cmp byte [rsi + rax + 0x964266], 0x78
jne 0x14003b399
cmp byte [rsi + rax + 0x964267], r9b
jne 0x14003b399
mov r8d, 1
jmp 0x14003b399
cmp r9b, 0x6a
jne 0x14003b399
cmp byte [rsi + rax + 0x964266], 0x73
jne 0x14003b399
cmp byte [rsi + rax + 0x964267], 0x6f
jne 0x14003b399
cmp byte [rsi + rax + 0x964268], 0x6e
jne 0x14003b399
movzx r8d, di
inc cx
inc bx
mov word [0x140968582], cx
cmp cx, r10w
jb 0x14003b2b0
jmp 0x14003b3ba
add word [0x140968582], 2
movzx edi, dx
mov ecx, 0xffcf
movzx eax, bx
add rax, rdi
mov byte [rax + rsi + 0x968471], 0x3a
movzx eax, word [0x140968424]
and ax, cx
mov word [0x140968424], ax
cmp r8w, 2
jne 0x14003b3f1
add dx, r8w
add dx, bx
jmp 0x14003b45f
test r8w, r8w
jne 0x14003b43f
or ax, 0x20
add dx, bx
mov word [0x140968424], ax
movzx eax, dx
inc dx
mov byte [rax + rsi + 0x968470], 0x2e
movzx eax, dx
inc dx
mov byte [rax + rsi + 0x968470], 0x23
movzx eax, dx
inc dx
mov byte [rax + rsi + 0x968470], 0x22
movzx eax, dx
inc dx
mov byte [rax + rsi + 0x968470], 0x3a
jmp 0x14003b451
or ax, 0x10
add dx, 2
mov word [0x140968424], ax
add dx, bx
movzx eax, dx
inc dx
mov byte [rax + rsi + 0x968470], 0x22
movzx eax, dx
lea rcx, [0x14095f088]
mov word [rbp - 0x75], dx
mov r8d, 4
lea rdx, str.GET
mov byte [rax + rsi + 0x968470], 0
mov word [0x140968584], r15w
call fcn.1400142d0
lea rdx, [rsi + 0x968470]
movzx r8d, bx
add rdx, rdi
lea rcx, [0x14095f088]
call fcn.1400142d0
mov r8d, 5
lea rdx, str.__r_n_r_n
lea rcx, [0x14095f088]
call fcn.1400142d0
jmp 0x14003b6aa
call fcn.1400348a0
cmp ax, 0x3c
jb 0x14003b6b5
movzx eax, byte [0x140968424]
lea rbx, [0x140968470]
test al, 0x10
jne 0x14003b50e
test al, 0x20
jne 0x14003b50e
mov edi, 1
lea r15, [0x14096847a]
lea r12, [0x14096849a]
mov rcx, rbx
lea r14, [0x14096849b]
lea esi, [rdi + 0x2b]
jmp 0x14003b536
mov byte [0x140968470], 0x22
lea r15, [0x14096847b]
mov esi, 0x2d
lea r12, [0x14096849b]
lea r14, [0x14096849c]
lea rcx, [0x140968471]
cmp byte [0x140968586], 4
jne 0x14003b5fe
movsd xmm0, qword [str._n__sign_:_]
lea rdx, [0x14095e879]
movzx eax, word [0x14010d420]
mov edi, reloc.WS2_32.dll_recv
movsd qword [rcx], xmm0
mov r8d, edi
mov word [rcx + 8], ax
xor r9d, r9d
mov rcx, r15
call fcn.140014be0
mov byte [r12], 0x22
mov byte [r14], 0x7d
test byte [0x140968424], 8
jne 0x14003b604
movzx r8d, si
lea rcx, [0x140968588]
mov rdx, rbx
call fcn.140016c10
movzx eax, word [0x140968578]
sub ax, si
mov word [rbp - 0x75], ax
je 0x14003b5d4
mov ebx, 1
nop
mov r8d, ebx
lea rdx, [0x14010d424]
lea rcx, [0x140968588]
call fcn.140016c10
add word [rbp - 0x75], r13w
jne 0x14003b5b0
lea rbx, [0x140968470]
lea rdx, [0x140968600]
lea rcx, [0x140968588]
call fcn.140016d10
mov r8d, edi
lea rdx, [0x140968600]
xor r9d, r9d
mov rcx, r15
call fcn.140014be0
jmp 0x14003b604
mov byte [rcx], 0x7d
movzx esi, di
movzx edx, si
mov rcx, rbx
call fcn.1400348c0
test byte [0x140968424], 8
je 0x14003b663
movzx ecx, word [0x140968668]
call fcn.140032e40
mov ecx, dword [0x140968578]
mov eax, 0xfef7
and word [0x140968424], ax
mov ebx, 1
mov eax, ecx
mov dword [0x140968420], 0xe
shr eax, 3
add ecx, 0x100
add ecx, eax
mov dword [0x140968578], ecx
mov dword [0x140968630], ecx
jmp 0x140037881
mov eax, dword [0x140968578]
test eax, eax
jle 0x14003b691
movzx ecx, word [0x140968668]
call fcn.140032e40
mov eax, 0xfeff
mov dword [0x140968420], 0x12
and word [0x140968424], ax
jmp 0x14003b6aa
jns 0x14003b69f
lea rcx, str.Cb_overflow__n
call fcn.140041200
mov ecx, reloc.WS2_32.dll_sendto
mov dword [0x140968420], ecx
call fcn.140044120
mov dword [0x14096842c], eax
mov ebx, 1
jmp 0x140037881
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.timeout_writing_api
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
call fcn.1400348a0
movzx ebx, ax
mov eax, dword [0x140968578]
cmp ebx, eax
cmova bx, ax
test bx, bx
je 0x14003b76f
mov dword [rbp - 0x79], 1
lea rsi, [0x140968470]
mov eax, 0x20
nop dword [rax + rax]
mov word [rbp - 0x75], bx
movzx edi, bx
cmp bx, r12w
jbe 0x14003b745
mov edi, r12d
mov word [rbp - 0x75], r12w
movzx r8d, di
mov edx, eax
mov rcx, rsi
call fcn.1400500b0
movzx edx, di
mov rcx, rsi
call fcn.1400348c0
mov eax, 0x20
sub bx, word [rbp - 0x75]
jne 0x14003b730
mov eax, dword [0x140968578]
test eax, eax
jne 0x14003b78e
mov ecx, reloc.WS2_32.dll_sendto
mov dword [0x140968420], ecx
call fcn.140044120
mov dword [0x14096842c], eax
jmp case.0x1400374f1.29
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.timeout_padding_request
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
mov ecx, dword [0x140968428]
xor r8d, r8d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.WS2_32.dll_listen
call fcn.140024650
movzx edi, ax
cmp ax, r13w
jne 0x14003b82f
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x9c40
jbe 0x140037881
lea rax, str.timeout_waiting_for_reply
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
mov eax, 0xff
cmp di, ax
jbe 0x14003b83b
mov edi, eax
mov ecx, dword [0x140968428]
lea r12, [0x140968470]
mov rdx, r12
movzx r8d, di
call fcn.140024400
movzx eax, di
lea rdi, [0x140000000]
mov byte [rax + rdi + 0x968470], r15b
mov eax, dword [0x140968470]
cmp eax, dword [str.HTTP_1.]
jne 0x14003b9fb
movzx eax, word [0x140968474]
cmp ax, word [0x14010d474]
jne 0x14003b9fb
movzx eax, byte [0x140968476]
cmp al, byte [0x14010d476]
jne 0x14003b9fb
cmp byte [0x140968478], 0x20
jne 0x14003b9fb
mov dword [0x140968580], esi
call fcn.140044120
movzx ecx, word [0x140968479]
cmp cx, word [0x14010d48c]
mov dword [0x14096842c], eax
movzx eax, byte [0x14096847b]
jne 0x14003b93a
cmp al, byte [0x14010d48e]
jne 0x14003b93a
movzx eax, byte [0x140968588]
movzx ecx, al
inc al
mov byte [0x140968588], al
movzx eax, byte [0x14095e858]
cmp cl, 3
jae 0x14003b90d
test al, al
je 0x14003b90d
mov dword [0x140968420], 0x16
jmp 0x14003ba29
test al, al
lea rdx, str.authorization_required
lea rcx, str.incorrect_user_password
mov r14d, 0x1e
cmove rcx, rdx
mov dword [0x140968420], r14d
mov qword [0x140968460], rcx
jmp case.0x1400374f1.29
cmp cx, word [0x14010bdfc]
jne 0x14003b95a
cmp al, byte [0x14010bdfe]
jne 0x14003b95a
mov dword [0x140968420], 0x13
jmp 0x14003ba29
cmp cx, word [0x14010d4a8]
jne 0x14003b976
cmp al, 0x32
jg 0x14003b976
mov dword [0x140968420], 0x17
jmp 0x14003ba29
cmp cx, word [0x14010d4ac]
jne 0x14003b99a
cmp al, 0x33
je 0x14003b99a
mov dword [0x140968420], 0x15
mov word [0x140964260], r15w
jmp 0x14003ba29
cmp qword [0x140968458], r15
je 0x14003b9db
lea rcx, [0x140968440]
call fcn.140021b00
mov rcx, qword [0x140968458]
test rcx, rcx
je 0x14003b9c3
mov rdx, r12
call fcn.140024b10
lea rcx, [0x140968440]
call fcn.140021b10
mov dword [0x140968420], 0x15
jmp 0x14003ba29
lea rax, str.request_failed
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp case.0x1400374f1.29
lea rax, str.bad_reply_header
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp case.0x1400374f1.29
lea r12, [0x140968470]
lea rdi, [0x140000000]
mov ecx, dword [0x140968428]
xor r9d, r9d
mov r8d, r14d
mov byte [rsp + 0x20], r9b
mov dl, reloc.WS2_32.dll_listen
call fcn.140024650
movzx ebx, ax
call fcn.140044120
cmp bx, r13w
je 0x140038678
mov dword [0x14096842c], eax
mov eax, 0xfe
mov dword [rbp - 0x79], 1
cmp bx, ax
jbe 0x14003ba6c
mov ebx, eax
mov ecx, dword [0x140968428]
movzx r8d, bx
mov rdx, r12
call fcn.140024400
movzx eax, bx
lea rcx, [rdi + 0x968470]
add rcx, rax
mov byte [rcx], r15b
mov eax, dword [0x140968420]
cmp eax, 0x16
jne 0x14003bbf4
mov byte [rcx], reloc.WS2_32.dll_listen
lea r9, [rbp - 0x11]
inc bx
mov qword [rbp - 0x21], r15
movzx eax, bx
lea r8, [rbp - 0x31]
movzx edx, bx
mov rcx, r12
mov byte [rax + rdi + 0x968470], r15b
lea rax, [rbp - 0x21]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
call fcn.140015350
test eax, eax
js case.0x1400374f1.29
mov rcx, qword [rbp - 0x31]
lea rdx, str.Basic
mov byte [0x140968586], r15b
call fcn.140052e3c
test eax, eax
jne 0x14003bb0f
mov byte [0x140968586], 1
jmp 0x14003bb91
mov rcx, qword [rbp - 0x31]
lea rdx, str.Digest
call fcn.140052e3c
test eax, eax
jne 0x14003bb91
mov rcx, qword [rbp - 0x29]
lea rdx, str.auth
call fcn.140052e3c
test eax, eax
jne 0x14003bb40
mov byte [0x140968586], 3
jmp 0x14003bb58
movzx ecx, byte [0x140968586]
mov rax, qword [rbp - 0x29]
cmp byte [rax], r15b
cmove ecx, r14d
mov byte [0x140968586], cl
mov r8, qword [rbp - 0x19]
lea rcx, [0x1409685ca]
mov edx, 0x41
call fcn.140021720
mov r8, qword [rbp - 0x21]
test r8, r8
setne byte [0x14096860b]
test r8, r8
je 0x14003bb91
mov edx, 0x21
lea rcx, [0x14096860c]
call fcn.140021720
mov r8, qword [rbp - 0x11]
lea rcx, [0x140968589]
mov edx, 0x41
call fcn.140021720
cmp byte [0x140968586], r15b
jne 0x14003bbcf
lea rax, str.Bad_auth_method
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp case.0x1400374f1.29
xor ecx, ecx
call fcn.140037190
or word [0x140968424], 1
mov ecx, dword [0x140968428]
call fcn.140023ef0
mov dword [0x140968428], esi
jmp case.0x1400374f1.29
cmp eax, 0x13
jne 0x14003bc6c
cmp bx, 0x18
jbe 0x14003bdc0
lea r8d, [rax + 3]
lea rdx, str.Sec_WebSocket_Accept:
lea rcx, [0x140968472]
call fcn.1400598a4
test eax, eax
jne 0x14003bdc0
lea edx, [rbx - 0x18]
lea rcx, [0x140968488]
call fcn.140036f00
mov ebx, dword [rbp - 0x79]
test eax, eax
je 0x14003bc45
or word [0x140968424], 0x40
jmp 0x140037881
lea rax, str.WS_error
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
cmp eax, 0x17
jne 0x14003bdc0
cmp bx, 0xc
jbe 0x14003bdc0
lea r8d, [rax - 0xd]
lea rdx, str.Location:
lea rcx, [0x140968472]
call fcn.1400598a4
test eax, eax
jne 0x14003bdc0
mov eax, 0xfff4
lea rdx, str.http:__
mov edi, 7
lea rcx, [0x14096847c]
mov r8d, edi
add bx, ax
call fcn.1400598a4
test eax, eax
jne 0x14003bce1
sub bx, 6
lea rdx, [0x140968483]
movzx r8d, bx
mov rcx, r12
call fcn.140050fe0
jmp 0x14003bda1
cmp byte [0x14096847c], 0x2f
jne 0x14003bd18
movzx eax, byte [0x14095e7dd]
test al, al
je 0x14003bd2b
lea rcx, [0x140000000]
nop dword [rax]
cmp al, 0x2f
je 0x14003bd2b
inc di
movzx eax, di
movzx eax, byte [rax + rcx + 0x95e7d6]
test al, al
jne 0x14003bd00
jmp 0x14003bd2b
lea rax, [0x14095e7d6]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], r15b
jne 0x14003bd22
mov eax, 0xfff9
inc bx
add di, ax
movzx r8d, bx
movzx eax, di
mov r12d, 0x100
add rax, r8
cmp rax, r12
jb 0x14003bd6b
lea rax, str.Bad_redirect
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp case.0x1400374f1.29
lea rax, [0x140000000]
movzx edi, di
lea rcx, [rax + 0x968470]
add rcx, rdi
lea rdx, [0x14096847c]
call fcn.140050fe0
mov r8d, edi
lea rdx, [0x14095e7dd]
lea rcx, [0x140968470]
call fcn.140050fe0
mov word [0x140968578], r15w
mov dword [0x140968420], r14d
call fcn.140044120
mov dword [0x14096842c], eax
jmp 0x14003bbde
cmp bx, r14w
jbe 0x14003be50
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Transfer_Encoding:
lea rcx, [0x140968472]
call fcn.1400598a4
test eax, eax
jne 0x14003be15
lea r8d, [rax + 7]
lea rdx, str.chunked
lea rcx, [0x140968485]
call fcn.1400598a4
mov ebx, dword [rbp - 0x79]
test eax, eax
jne 0x140037881
mov dword [0x140968580], r15d
jmp 0x140037881
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.Content_Length:
lea rcx, [0x140968472]
call fcn.1400598a4
test eax, eax
jne case.0x1400374f1.29
lea rcx, [0x140968482]
call fcn.1400261b0
add eax, r14d
mov dword [0x140968578], eax
jmp case.0x1400374f1.29
mov word [0x140968584], r15w
call fcn.140044120
cmp dword [0x140968580], r15d
mov dword [0x14096842c], eax
jne 0x14003be7b
mov dword [0x140968420], 0x19
jmp case.0x1400374f1.29
test byte [0x140968424], 0x40
je 0x14003be93
mov dword [0x140968420], 0x1a
jmp case.0x1400374f1.29
mov dword [0x140968420], 0x18
call fcn.140044120
sub eax, dword [0x14096842c]
cmp eax, 0x4e20
jbe 0x14003bed6
lea rax, str.timeout_reading_body
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp case.0x1400374f1.29
mov ecx, dword [0x140968428]
call fcn.1400241d0
movzx edi, ax
test ax, ax
je case.0x1400374f1.29
or byte [0x1409639d4], 0x10
mov dword [rbp - 0x79], 1
call fcn.140044120
movzx ecx, di
mov dword [0x14096842c], eax
call fcn.140034ba0
mov ecx, dword [0x140968578]
test ecx, ecx
je case.0x1400374f1.29
movzx eax, ax
cmp ecx, eax
jbe 0x14003bf30
sub ecx, eax
mov dword [0x140968578], ecx
jmp case.0x1400374f1.29
mov rax, qword [0x140968460]
mov ecx, 0x1f
mov qword [0x140968438], rax
mov qword [0x140968458], r15
call fcn.140037190
jmp 0x14003bbde
call fcn.140044120
sub eax, dword [0x14096842c]
cmp eax, 0x4e20
jbe 0x14003bf8d
lea rax, str.timeout_reading_chunks
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp case.0x1400374f1.29
cmp dword [0x140968580], r15d
mov ecx, dword [0x140968428]
jne 0x14003c0bb
xor r9d, r9d
mov r8d, r14d
mov dl, 0xa
mov byte [rsp + 0x20], r9b
mov rdi, r14
call fcn.140024650
movzx ebx, ax
cmp ax, r14w
je case.0x1400374f1.29
cmp ax, r13w
je case.0x1400374f1.29
or byte [0x1409639d4], 0x10
inc bx
call fcn.140044120
mov dword [0x14096842c], eax
cmp bx, 0xa
jb 0x14003bfef
mov r13d, 0xa
jmp 0x14003bff3
movzx r13d, bx
mov ecx, dword [0x140968428]
lea rdx, [rbp - 9]
movzx r8d, r13w
call fcn.140024400
cmp bx, r13w
jbe 0x14003c021
mov ecx, dword [0x140968428]
sub bx, r13w
movzx r8d, bx
xor edx, edx
call fcn.140024400
mov word [rbp - 9], 0x7830
cmp r14w, r13w
jae 0x14003c05c
movabs rdx, 0x800000100002000
nop word [rax + rax]
movzx eax, di
movzx ecx, byte [rbp + rax - 9]
cmp cl, 0x3b
ja 0x14003c053
bt rdx, rcx
jb 0x14003c05c
inc di
cmp di, r13w
jb 0x14003c040
movzx eax, di
cmp rax, 0x20
jae 0x14003c41a
lea rcx, [rbp - 9]
mov byte [rbp + rax - 9], r15b
call fcn.1400261b0
mov dword [0x140968580], eax
test eax, eax
jne 0x14003c0f6
mov rax, qword [0x140968460]
mov ecx, 0x1f
mov qword [0x140968438], rax
mov qword [0x140968458], r15
call fcn.140037190
mov ecx, dword [0x140968428]
call fcn.140023ef0
mov dword [0x140968428], esi
mov ebx, 1
jmp 0x140037881
call fcn.1400241d0
movzx edi, ax
test ax, ax
je case.0x1400374f1.29
call fcn.140044120
movzx ecx, di
cmp ecx, dword [0x140968580]
mov dword [0x14096842c], eax
cmovg di, word [0x140968580]
movzx ecx, di
call fcn.140034ba0
sub dword [0x140968580], eax
mov ebx, 1
jmp 0x140037881
cmp dword [0x140968574], r15d
jbe 0x14003c2b6
cmp dword [0x140968580], r15d
jne 0x14003c1ff
mov ecx, dword [0x140968428]
xor r9d, r9d
mov r8d, r14d
mov byte [rsp + 0x20], r9b
mov dl, 0xa
mov rdi, r14
call fcn.140024650
movzx ebx, ax
mov esi, 1
cmp ax, r14w
je 0x14003c204
cmp ax, r13w
je 0x14003c204
inc bx
mov dword [rbp - 0x79], esi
call fcn.140044120
mov dword [0x14096842c], eax
cmp bx, 0xa
jb 0x14003c16e
lea r13d, [rsi + 9]
jmp 0x14003c172
movzx r13d, bx
mov ecx, dword [0x140968428]
lea rdx, [rbp - 9]
movzx r8d, r13w
call fcn.140024400
cmp bx, r13w
jbe 0x14003c1a0
mov ecx, dword [0x140968428]
sub bx, r13w
movzx r8d, bx
xor edx, edx
call fcn.140024400
mov word [rbp - 9], 0x7830
cmp r14w, r13w
jae 0x14003c1dc
movabs rdx, 0x800000100002000
nop word [rax + rax]
movzx eax, di
movzx ecx, byte [rbp + rax - 9]
cmp cl, 0x3b
ja 0x14003c1d3
bt rdx, rcx
jb 0x14003c1dc
inc di
cmp di, r13w
jb 0x14003c1c0
movzx eax, di
cmp rax, 0x20
jae 0x14003c41a
lea rcx, [rbp - 9]
mov byte [rbp + rax - 9], r15b
call fcn.1400261b0
mov dword [0x140968580], eax
jmp 0x14003c204
mov esi, 1
mov ecx, dword [0x140968428]
call fcn.1400241d0
movzx ebx, ax
mov eax, dword [0x140968580]
test eax, eax
js 0x14003c225
movzx ecx, bx
cmp ecx, eax
cmovg bx, ax
test bx, bx
je 0x14003c2b6
lea rcx, [0x14095f088]
call fcn.140014820
cmp bx, ax
cmova bx, ax
test bx, bx
je 0x14003c2b6
mov dword [rbp - 0x79], esi
call fcn.140044120
mov dword [0x14096842c], eax
cmp bx, r12w
jbe 0x14003c25d
mov ebx, r12d
mov ecx, dword [0x140968428]
lea rdi, [0x140968470]
movzx eax, bx
mov rdx, rdi
cmp eax, dword [0x140968574]
cmova bx, word [0x140968574]
movzx r8d, bx
call fcn.140024400
movzx r8d, bx
lea rcx, [0x14095f088]
mov rdx, rdi
call fcn.1400142d0
mov eax, dword [0x140968580]
movzx ecx, bx
sub dword [0x140968574], ecx
cmp eax, 0xffffffff
je 0x14003c2b6
sub eax, ecx
mov dword [0x140968580], eax
lea rcx, [0x14095f0b0]
call fcn.1400147e0
test ax, ax
je 0x14003c2ec
cmp ax, r12w
jbe 0x14003c2d0
mov eax, r12d
mov ebx, 1
lea rcx, [0x14095f0b0]
movzx r8d, ax
mov dword [rbp - 0x79], ebx
xor edx, edx
call fcn.140014400
jmp 0x14003c2f1
mov ebx, 1
movzx ecx, word [0x140968668]
call fcn.140032dd0
test eax, eax
je case.0x1400374f1.29
movzx ecx, word [0x140968668]
call fcn.140032e40
mov eax, 0xfeff
and word [0x140968424], ax
call fcn.140044120
cmp dword [0x140968580], 0xffffffff
mov dword [0x14096842c], eax
setne r15b
add r15d, 0x18
mov dword [0x140968420], r15d
jmp 0x140037881
mov ecx, dword [0x140968428]
call fcn.1400241d0
cmp ax, r14w
jae 0x14003c394
call fcn.140044120
sub eax, dword [0x14096842c]
mov ebx, dword [rbp - 0x79]
cmp eax, 0x4e20
jbe 0x140037881
lea rax, str.timeout_reading_header
mov byte [0x140968470], r15b
mov r14d, 0x1e
mov qword [0x140968460], rax
mov dword [0x140968420], r14d
jmp 0x140037881
mov ecx, dword [0x140968428]
movzx r8d, ax
xor edx, edx
call fcn.140024400
mov dword [0x140968420], 0x1b
mov ecx, dword [0x140968428]
call fcn.140029910
test eax, eax
je case.0x1400374f1.29
movzx eax, byte [0x14096842a]
mov dl, 3
and al, dil
or al, 0x28
mov byte [0x14096842a], al
mov ecx, dword [0x140968428]
call fcn.140023a30
mov ecx, dword [0x140968428]
call fcn.140029970
lea rcx, [0x140968440]
mov dword [0x140968420], 0x1d
call fcn.140021b00
lea rcx, [0x140968440]
mov qword [0x140968458], r15
call fcn.140021b10
jmp case.0x1400374f1.29
call fcn.14004ef8c
int3