Function at 0x140199350
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rsi, qword [rsp + 0x118]
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x88], rax
test rdx, rdx
je 0x140199a8d
mov r12, r9
mov edi, r8d
mov r15, rdx
mov r13, rcx
mov r14, qword [rsp + 0x110]
mov rax, qword [r9]
mov rcx, r9
call qword [rax + 0x30]
mov rbx, rax
mov rax, qword [r12]
lea rdx, [rsp + 0x70]
mov rcx, r12
call qword [rax + 0x40]
mov rbp, qword [rsp + 0x70]
mov rax, qword [r14 + 0x850]
mov qword [rsp + 0x60], rax
test rbx, rbx
mov byte [rsp + 0x47], dil
je 0x1401994a1
mov r10, 0xffffffffffffffff
cmp rbp, 0xffffffffffffffff
jne 0x1401994ad
mov r9, qword [r14 + 0x40]
cmp r9, 6
jg 0x1401994fa
xor eax, eax
mov rdx, r15
sub rdx, r13
setne al
add rax, r13
mov rcx, r9
imul rcx, rax
cmp rax, 7
mov r8d, 7
cmovl r8, rcx
mov qword [r14 + 0x40], r8
lea r8, [r13 - 1]
cmp r8, 3
jae 0x140199511
cmp rax, 6
jg 0x140199535
cmp rcx, 6
jg 0x140199535
mov rbx, r9
cmp r15, 0x7fffffff
cmove rdx, r15
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
mov byte [rsp + 0x30], 1
xor ecx, ecx
mov r8d, edi
mov r9, r12
call fcn.140199350
mov rsi, rax
nop word cs:[rax + rax]
mov rax, qword [r12]
mov rcx, r12
mov rdx, r14
mov r8, rsi
call qword [rax + reloc.WS2_32.dll_recv]
mov rsi, rax
dec r13
jne 0x140199480
mov qword [r14 + 0x40], rbx
jmp 0x140199a8d
mov r10, qword [r14 + 8]
lea rax, [r10 + 1]
mov qword [r14 + 8], rax
cmp r15, 0x7fffffff
setl dl
mov al, 1
mov dword [rsp + 0x50], eax
test r13, r13
setg cl
jg 0x140199551
cmp r15, 0x7ffffffe
jle 0x140199551
mov qword [rsp + 0x68], r10
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0xffffffffffffffff
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
jmp 0x14019956e
lea rax, [r13 - 1]
cmp rax, 3
jb 0x140199535
test r13, r13
jne 0x1401994ad
cmp r15, 4
jl 0x140199535
jmp 0x1401994ad
mov qword [r14 + 0x40], r9
test r13, r13
jne 0x1401994ad
cmp r15, 4
jge 0x1401994ad
mov rax, r9
imul rax, r15
mov qword [r14 + 0x40], rax
cmp rax, 6
jle 0x140199abc
mov qword [r14 + 0x40], r9
test r13, r13
setne cl
cmp r15, 0x7fffffff
setl dl
mov eax, ecx
or al, dl
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x68], r10
mov dword [rsp + 0x5c], ecx
mov rax, qword [r14 + 8]
mov qword [rsp + 0x48], rax
inc rax
mov qword [r14 + 8], rax
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov rdi, qword [rsp + 0x60]
mov rdx, rdi
call fcn.14010c6d0
mov rsi, rax
movzx r14d, byte [r14 + 0x3a]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x30]
test rax, rax
sete dl
mov rcx, rsi
mov r8d, r14d
mov r9, rdi
call fcn.140199ca0
cmp byte [rsp + 0x120], 0
je 0x1401995c2
mov rax, qword [rsp + 0x110]
cmp byte [rax + 0x3a], 0
jne 0x1401995c2
mov byte [rsi + 0x50], 1
mov r14, rsi
cmp byte [rsp + 0x50], 0
je 0x140199634
mov rdx, qword [rsi + 0x40]
mov ecx, 0x78
call fcn.14010c6d0
mov r14, rax
mov rdi, qword [rsi + 0x40]
lea rax, method.icu_68::LanguageBreakEngine.virtual_0
mov qword [r14], rax
mov qword [r14 + 8], 0
lea rcx, [r14 + 0x10]
call fcn.14019ede0
mov byte [r14 + 0x20], 0
mov qword [r14 + 0x28], 0
mov qword [r14 + 0x40], rdi
xorps xmm0, xmm0
movups xmmword [r14 + 0x30], xmm0
mov qword [r14 + 0x48], rsi
lea rax, [0x1403239e0]
mov qword [r14], rax
mov dword [r14 + 0x70], 1
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x50], rax
test rbx, rbx
je 0x14019976b
mov rax, qword [r12]
mov rcx, r12
mov rdx, qword [rsp + 0x110]
mov r8, r14
call qword [rax + reloc.WS2_32.dll_recv]
mov r12, rax
cmp rbp, 0xffffffffffffffff
je 0x1401996c5
mov rdx, qword [r12 + 0x40]
movaps xmm6, xmmword [rsp + 0x70]
mov ecx, 0x78
call fcn.14010c6d0
mov rbx, rax
mov rdi, qword [r12 + 0x40]
lea rax, method.icu_68::LanguageBreakEngine.virtual_0
mov qword [rbx], rax
mov qword [rbx + 8], 0
lea rcx, [rbx + 0x10]
call fcn.14019ede0
mov byte [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x40], rdi
xorps xmm0, xmm0
movups xmmword [rbx + 0x30], xmm0
mov qword [rbx + 0x48], r12
lea rax, [0x1403239e0]
mov qword [rbx], rax
mov dword [rbx + 0x70], 6
movups xmmword [rbx + 0x50], xmm6
mov r12, rbx
cmp byte [rsp + 0x58], 0
je 0x140199764
mov ecx, 0x18
mov rdi, qword [rsp + 0x60]
mov rdx, rdi
call fcn.14010c6d0
mov rbp, rax
mov rax, qword [rsp + 0x48]
mov qword [rbp], rax
mov dword [rbp + 8], 0
mov qword [rbp + 0x10], r15
mov ecx, 0x20
mov rdx, rdi
call fcn.14010c6d0
mov rbx, rax
mov eax, dword [0x1403aea80]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x18]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], rcx
mov qword [rbx + 8], 1
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
sub rdx, rax
cmp rdx, 8
jge 0x140199875
mov edx, 8
call fcn.1401c63e0
jmp 0x140199881
xor ebx, ebx
jmp 0x14019989f
mov rdx, qword [r14 + 0x40]
mov ecx, 0x78
call fcn.14010c6d0
mov rbx, rax
mov rdi, qword [r14 + 0x40]
lea rax, method.icu_68::LanguageBreakEngine.virtual_0
mov qword [rbx], rax
mov qword [rbx + 8], 0
lea rcx, [rbx + 0x10]
call fcn.14019ede0
mov byte [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x40], rdi
xorps xmm6, xmm6
movups xmmword [rbx + 0x30], xmm6
mov qword [rbx + 0x48], r14
lea rax, [0x1403239e0]
mov qword [rbx], rax
mov dword [rbx + 0x70], 5
mov r14, qword [rsp + 0x68]
mov qword [rbx + 0x50], r14
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x60], r13
mov rax, qword [r12]
mov rcx, r12
mov rdx, qword [rsp + 0x110]
mov r8, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov rbx, rax
mov rdx, qword [rax + 0x40]
mov ecx, 0x78
call fcn.14010c6d0
mov r12, rax
mov rdi, qword [rbx + 0x40]
lea rax, method.icu_68::LanguageBreakEngine.virtual_0
mov qword [r12], rax
mov qword [r12 + 8], 0
lea rcx, [r12 + 0x10]
call fcn.14019ede0
mov byte [r12 + 0x20], 0
mov qword [r12 + 0x28], 0
mov qword [r12 + 0x40], rdi
movups xmmword [r12 + 0x30], xmm6
mov qword [r12 + 0x48], rbx
lea rax, [0x1403239e0]
mov qword [r12], rax
mov dword [r12 + 0x70], 2
mov qword [r12 + 0x50], r14
mov byte [r12 + 0x58], 0
cmp rbp, 0xffffffffffffffff
jne 0x14019965b
jmp 0x1401996c5
lea rdx, [rax + 8]
mov qword [rcx], rdx
add qword [rcx + 0x10], 8
mov qword [rbx + 0x10], rax
mov rdx, qword [rbx]
inc rdx
mov rcx, rbx
call fcn.1400f9b60
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
mov qword [rcx + rax*8 - 8], rbp
cmp byte [rsp + 0x5c], 0
movzx ebp, byte [rsp + 0x47]
je 0x14019993c
mov ecx, 0x18
mov rdi, qword [rsp + 0x60]
mov rdx, rdi
call fcn.14010c6d0
mov r15, rax
mov rax, qword [rsp + 0x48]
mov qword [r15], rax
mov dword [r15 + 8], 1
mov qword [r15 + 0x10], r13
mov ecx, 0x20
mov rdx, rdi
call fcn.14010c6d0
mov rdi, rax
mov eax, dword [0x1403aea80]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x18]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], rcx
mov qword [rdi + 8], 1
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
sub rdx, rax
cmp rdx, 8
jge 0x140199940
mov edx, 8
call fcn.1401c63e0
jmp 0x14019994c
xor edi, edi
jmp 0x14019996a
lea rdx, [rax + 8]
mov qword [rcx], rdx
add qword [rcx + 0x10], 8
mov qword [rdi + 0x10], rax
mov rdx, qword [rdi]
inc rdx
mov rcx, rdi
call fcn.1400f9b60
mov rax, qword [rdi]
mov rcx, qword [rdi + 0x10]
mov qword [rcx + rax*8 - 8], r15
mov r14, qword [rsi + 0x48]
mov rdx, qword [r14]
inc rdx
mov rcx, r14
call fcn.14019e490
mov rax, qword [r14]
shl rax, 4
add rax, qword [r14 + 0x10]
test bpl, bpl
je 0x1401999d7
mov qword [rax - 0x10], r12
mov qword [rax - 8], rbx
mov qword [rsi + 0x58], r12
mov rbx, qword [rsi + 0x48]
mov rdx, qword [rbx]
inc rdx
mov rcx, rbx
call fcn.14019e490
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
shl rax, 4
mov rdx, qword [rsp + 0x118]
mov qword [rcx + rax - 0x10], rdx
mov qword [rcx + rax - 8], rdi
mov qword [rsi + 0x60], rdx
cmp byte [rsp + 0x50], 0
jne 0x140199a1d
jmp 0x140199a8d
mov rcx, qword [rsp + 0x118]
mov qword [rax - 0x10], rcx
mov qword [rax - 8], rdi
mov qword [rsi + 0x60], rcx
mov rdi, qword [rsi + 0x48]
mov rdx, qword [rdi]
inc rdx
mov rcx, rdi
call fcn.14019e490
mov rax, qword [rdi]
mov rcx, qword [rdi + 0x10]
shl rax, 4
mov qword [rcx + rax - 0x10], r12
mov qword [rcx + rax - 8], rbx
mov qword [rsi + 0x58], r12
cmp byte [rsp + 0x50], 0
je 0x140199a8d
mov rdx, qword [rsi + 0x40]
mov ecx, 0x78
call fcn.14010c6d0
mov rdi, rax
mov rbx, qword [rsi + 0x40]
lea rax, method.icu_68::LanguageBreakEngine.virtual_0
mov qword [rdi], rax
mov qword [rdi + 8], 0
lea rcx, [rdi + 0x10]
call fcn.14019ede0
mov byte [rdi + 0x20], 0
mov qword [rdi + 0x28], 0
mov qword [rdi + 0x40], rbx
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x48], rsi
lea rax, [0x1403239e0]
mov qword [rdi], rax
mov dword [rdi + 0x70], 0
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x50], rax
mov qword [rdi + 0x58], 0
mov rsi, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140262cb0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x50], r9
test r15, r15
jle 0x140199c8b
mov eax, dword [0x1403aea80]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r13, [rax + 8]
xorps xmm6, xmm6
jmp 0x140199af2
dec r15
je 0x140199c8b
mov rbp, r14
mov rbx, rsi
mov ecx, 0x58
mov r14, qword [rsp + 0x60]
mov rdx, r14
call fcn.14010c6d0
mov rsi, rax
lea rax, method.icu_68::LanguageBreakEngine.virtual_0
mov qword [rsi], rax
mov qword [rsi + 8], 0
lea rcx, [rsi + 0x10]
call fcn.14019ede0
mov byte [rsi + 0x20], 0
mov qword [rsi + 0x28], 0
mov qword [rsi + 0x40], r14
movups xmmword [rsi + 0x30], xmm6
lea rax, [0x140323b80]
mov qword [rsi], rax
mov ecx, 0x20
mov rdx, r14
call fcn.14010c6d0
mov r14, rax
mov rax, qword [r13]
mov rcx, qword [rax + 0x18]
movups xmmword [r14], xmm6
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], rcx
mov qword [r14 + 8], 2
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
sub rdx, rax
cmp rdx, 0x20
jge 0x140199b92
mov edx, 0x20
call fcn.1401c63e0
jmp 0x140199b9e
lea rdx, [rax + 0x20]
mov qword [rcx], rdx
add qword [rcx + 0x10], 0x20
mov qword [r14 + 0x10], rax
mov qword [rsi + 0x48], r14
mov word [rsi + 0x50], 0
test dil, dil
je 0x140199bf9
mov rax, qword [r12]
mov rcx, r12
mov rdx, rbp
mov r8, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov rbx, rax
mov r14, qword [rsi + 0x48]
mov rdx, qword [r14]
inc rdx
mov rcx, r14
call fcn.14019e490
mov rax, qword [r14]
mov rcx, qword [r14 + 0x10]
shl rax, 4
mov qword [rcx + rax - 0x10], rbx
mov qword [rcx + rax - 8], 0
mov rbx, qword [rsp + 0x118]
jmp 0x140199c3b
mov rdx, qword [r14]
inc rdx
mov rcx, r14
call fcn.14019e490
mov rax, qword [r14]
mov rcx, qword [r14 + 0x10]
shl rax, 4
mov rdx, qword [rsp + 0x118]
mov qword [rcx + rax - 0x10], rdx
mov qword [rcx + rax - 8], 0
mov rax, qword [r12]
mov rcx, r12
mov rdx, rbp
mov r8, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov rbx, rax
mov r14, qword [rsi + 0x48]
mov rdx, qword [r14]
inc rdx
mov rcx, r14
call fcn.14019e490
mov rax, qword [r14]
mov rcx, qword [r14 + 0x10]
shl rax, 4
mov qword [rcx + rax - 0x10], rbx
mov qword [rcx + rax - 8], 0
cmp byte [rsp + 0x120], 0
mov r14, rbp
je 0x140199ae9
cmp byte [r14 + 0x3a], 0
jne 0x140199ae9
mov byte [rsi + 0x50], 1
jmp 0x140199ae9
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x40], rax
jmp 0x140199a8d