Function at 0x140183250
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 [0x14039ce38]
xor rax, rsp
mov qword [rsp + 0x88], rax
test rdx, rdx
je 0x140183966
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 0x1401833a1
mov r10, 0xffffffffffffffff
cmp rbp, 0xffffffffffffffff
jne 0x1401833ad
mov r9, qword [r14 + 0x40]
cmp r9, 6
jg 0x1401833fa
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 0x140183411
cmp rax, 6
jg 0x140183435
cmp rcx, 6
jg 0x140183435
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.140183250
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 0x140183380
mov qword [r14 + 0x40], rbx
jmp 0x140183966
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 0x140183451
cmp r15, 0x7ffffffe
jle 0x140183451
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 0x14018346e
lea rax, [r13 - 1]
cmp rax, 3
jb 0x140183435
test r13, r13
jne 0x1401833ad
cmp r15, 4
jl 0x140183435
jmp 0x1401833ad
mov qword [r14 + 0x40], r9
test r13, r13
jne 0x1401833ad
cmp r15, 4
jge 0x1401833ad
mov rax, r9
imul rax, r15
mov qword [r14 + 0x40], rax
cmp rax, 6
jle 0x140183995
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.1400f7860
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.140183b80
cmp byte [rsp + 0x120], 0
je 0x1401834c2
mov rax, qword [rsp + 0x110]
cmp byte [rax + 0x3a], 0
jne 0x1401834c2
mov byte [rsi + 0x50], 1
mov r14, rsi
cmp byte [rsp + 0x50], 0
je 0x140183534
mov rdx, qword [rsi + 0x40]
mov ecx, 0x78
call fcn.1400f7860
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.140188d40
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, [0x1402e4080]
mov qword [r14], rax
mov dword [r14 + 0x70], 1
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x50], rax
test rbx, rbx
je 0x14018366b
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 0x1401835c5
mov rdx, qword [r12 + 0x40]
movaps xmm6, xmmword [rsp + 0x70]
mov ecx, 0x78
call fcn.1400f7860
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.140188d40
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, [0x1402e4080]
mov qword [rbx], rax
mov dword [rbx + 0x70], 6
movups xmmword [rbx + 0x50], xmm6
mov r12, rbx
cmp byte [rsp + 0x58], 0
je 0x140183664
mov ecx, 0x18
mov rdi, qword [rsp + 0x60]
mov rdx, rdi
call fcn.1400f7860
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.1400f7860
mov rbx, rax
mov eax, dword [0x1403a44f8]
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 0x140183775
mov edx, 8
call fcn.1401b1030
jmp 0x140183781
xor ebx, ebx
jmp 0x14018379f
mov rdx, qword [r14 + 0x40]
mov ecx, 0x78
call fcn.1400f7860
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.140188d40
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, [0x1402e4080]
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.1400f7860
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.140188d40
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, [0x1402e4080]
mov qword [r12], rax
mov dword [r12 + 0x70], 2
mov qword [r12 + 0x50], r14
mov byte [r12 + 0x58], 0
cmp rbp, 0xffffffffffffffff
jne 0x14018355b
jmp 0x1401835c5
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.1400e9110
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 0x14018383c
mov ecx, 0x18
mov rdi, qword [rsp + 0x60]
mov rdx, rdi
call fcn.1400f7860
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.1400f7860
mov rdi, rax
mov eax, dword [0x1403a44f8]
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 0x140183840
mov edx, 8
call fcn.1401b1030
jmp 0x14018384c
xor edi, edi
jmp 0x14018386a
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.1400e9110
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.140188530
mov rax, qword [r14]
shl rax, 4
mov ecx, ebp
xor cl, 1
test bpl, bpl
mov r10, qword [rsp + 0x118]
mov rdx, r10
cmovne rdx, r12
mov r8, qword [r14 + 0x10]
mov r9, rdi
cmovne r9, rbx
cmovne r12, r10
cmovne rbx, rdi
movzx ecx, cl
movzx r14d, bpl
mov qword [r8 + rax - 0x10], rdx
mov qword [r8 + rax - 8], r9
mov qword [rsi + rcx*8 + 0x58], rdx
mov rdi, qword [rsi + 0x48]
mov rdx, qword [rdi]
inc rdx
mov rcx, rdi
call fcn.140188530
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 + r14*8 + 0x58], r12
cmp byte [rsp + 0x50], 0
je 0x140183966
mov rdx, qword [rsi + 0x40]
mov ecx, 0x78
call fcn.1400f7860
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.140188d40
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, [0x1402e4080]
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.140258ea0
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 0x140183b64
mov eax, dword [0x1403a44f8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r13, [rax + 8]
xorps xmm6, xmm6
jmp 0x1401839cb
dec r15
je 0x140183b64
mov rbp, r14
mov rbx, rsi
mov ecx, 0x58
mov r14, qword [rsp + 0x60]
mov rdx, r14
call fcn.1400f7860
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.140188d40
mov byte [rsi + 0x20], 0
mov qword [rsi + 0x28], 0
mov qword [rsi + 0x40], r14
movups xmmword [rsi + 0x30], xmm6
lea rax, [0x1402e4220]
mov qword [rsi], rax
mov ecx, 0x20
mov rdx, r14
call fcn.1400f7860
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 0x140183a6b
mov edx, 0x20
call fcn.1401b1030
jmp 0x140183a77
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 0x140183ad2
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.140188530
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 0x140183b14
mov rdx, qword [r14]
inc rdx
mov rcx, r14
call fcn.140188530
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.140188530
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 0x1401839c2
cmp byte [r14 + 0x3a], 0
jne 0x1401839c2
mov byte [rsi + 0x50], 1
jmp 0x1401839c2
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x40], rax
jmp 0x140183966