Function at 0x1400bb570
Capabilities:
Check if file exists
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push r13
push r14
push r15
sub rsp, 0xfe0
mov qword [r11 - 0xdc0], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0xfd0], rax
movzx esi, word [0x14045e53c]
xor r14d, r14d
mov qword [r11 - 0x6a8], r14
mov dword [rsp + 0x980], 0x104
mov qword [r11 - 0x698], r14
mov qword [r11 - 0x690], r14
call fcn.14005c1f0
mov qword [rsp + 0x960], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x988], xmm0
mov qword [rsp + 0x998], r14
movdqu xmmword [rsp + 0xa20], xmm0
mov qword [rsp + 0xa30], r14
mov qword [rsp + 0x970], r14
mov qword [rsp + 0x978], r14
call fcn.14005c1f0
mov qword [rsp + 0x970], rax
lea rcx, str.X:WindowsWinSxS
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
je 0x1400bb6d3
mov r8, qword [rsp + 0x970]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x970]
call fcn.140068630
mov rcx, qword [rsp + 0x970]
call fcn.14012a654
nop
lea rcx, [rsp + 0x988]
call fcn.1400bd4b0
nop
mov rdi, qword [rsp + 0x960]
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x960]
call fcn.140068c10
mov rax, qword [rsp + 0x960]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x960]
mov qword [rax], rax
mov rax, qword [rsp + 0x960]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x968], r14
mov rdi, qword [rsp + 0x960]
mov rcx, rdi
call fcn.14012a654
jmp 0x1400bd2b4
mov rdx, qword [0x140460370]
mov rdx, qword [rdx + 8]
lea r15, [0x140460370]
mov rcx, r15
call fcn.140068c10
mov rax, qword [0x140460370]
mov qword [rax + 8], rax
mov rax, qword [0x140460370]
mov qword [rax], rax
mov rax, qword [0x140460370]
mov qword [rax + 0x10], rax
mov qword [0x140460378], r14
mov rdx, qword [0x140460380]
mov rdx, qword [rdx + 8]
lea rcx, [0x140460380]
call fcn.140068c10
mov rax, qword [0x140460380]
mov qword [rax + 8], rax
mov rax, qword [0x140460380]
mov qword [rax], rax
mov rax, qword [0x140460380]
mov qword [rax + 0x10], rax
mov qword [0x140460388], r14
mov qword [0x14045efe8], r14
mov edx, 1
lea r8d, [rdx + 2]
lea rcx, str.X:WindowsWinSxS
call fcn.1400526c0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400bb799
xor r9d, r9d
lea r8, str.X:WindowsWinSxS
lea rdx, [0x1400baae0]
mov rcx, rax
call fcn.140052980
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x14045e968], 0
jne 0x1400bd277
lea rax, [rsp + 0x280]
mov qword [rsp + 0x58], rax
lea rdx, [0x1404602c8]
lea rcx, [rsp + 0x280]
call fcn.1400b1e90
mov rbx, rax
lea rdx, [0x140460380]
lea rcx, [rsp + 0x208]
call fcn.1400a1d10
nop
mov r8, rbx
lea rcx, [rsp + 0x208]
call fcn.1400ba510
cmp dword [0x14045e968], 0
jne 0x1400bd277
lea rdx, [0x1404602c8]
lea rcx, [rsp + 0x250]
call fcn.1400b1e90
mov r8, rax
movzx ecx, si
call fcn.1400bb130
cmp dword [0x14045e968], 0
jne 0x1400bd277
cmp qword [0x140460378], 0
jbe 0x1400bb8e0
call fcn.140083550
mov rdi, rax
mov dword [rax + 0x6d], r14d
lea rcx, [rax + 0x44]
mov r8d, ntohs
lea rdx, [0x14033de38]
call fcn.14004dd70
mov byte [rdi + 0x6c], 1
lea rbx, [rdi + 0x71]
cmp rbx, r15
je 0x1400bb89d
mov rdx, qword [rbx]
mov rdx, qword [rdx + 8]
mov rcx, rbx
call fcn.140068c10
mov rax, qword [rbx]
mov qword [rax + 8], rax
mov rax, qword [rbx]
mov qword [rax], rax
mov rax, qword [rbx]
mov qword [rax + 0x10], rax
mov qword [rbx + 8], r14
movzx r8d, byte [rsp + 0x40]
mov rdx, r15
mov rcx, rbx
call fcn.140068d50
mov rcx, rdi
call fcn.1400831f0
nop
mov rdx, qword [0x140460370]
mov rdx, qword [rdx + 8]
mov rcx, r15
call fcn.140068c10
mov rax, qword [0x140460370]
mov qword [rax + 8], rax
mov rax, qword [0x140460370]
mov qword [rax], rax
mov rax, qword [0x140460370]
mov qword [rax + 0x10], rax
mov qword [0x140460378], r14
movzx ecx, si
call fcn.1400ba3c0
lea rax, [rsp + 0x950]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
mov r8d, 4
lea rdx, str.COMPONENTSDerivedDataComponents
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400bd277
lea esi, [rax + 1]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x980]
lea r8, [rsp + 0xbb0]
xor edx, edx
mov rcx, qword [rsp + 0x950]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1400bbd3b
movabs r15, 0x1fc07f01fc07f02
nop dword [rax]
cmp dword [0x14045e968], 0
jne 0x1400bbd3b
mov dword [rsp + 0x980], 0x104
mov qword [rsp + 0x1e0], 7
mov qword [rsp + 0x1d8], r14
mov word [rsp + 0x1c8], r14w
cmp word [rsp + 0xbb0], 0
jne 0x1400bb9b5
mov r8, r14
jmp 0x1400bb9cc
lea rax, [rsp + 0xbb0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400bb9c1
lea rdx, [rsp + 0xbb0]
lea rcx, [rsp + 0x1c8]
call fcn.14004dd70
lea rcx, [rsp + 0x1c8]
call fcn.140082260
test eax, eax
jne 0x1400bbcfa
lea rax, [rsp + 0xbb0]
mov qword [rsp + 0x20], rax
lea r9, str.X:WindowsWinSxS
lea r8, [0x14033e038]
mov edx, 0x104
lea rcx, [rsp + 0xdc0]
call fcn.14004ebd0
lea rcx, [rsp + 0xdc0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400bbcfa
lea rcx, [rsp + 0xdc0]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x1400bbcfa
mov r8, qword [0x1404602d0]
mov rcx, r8
mov rbx, qword [0x1404602c8]
sub rcx, rbx
mov rax, r15
imul rcx
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400bbacd
mov qword [rsp + 0xab0], rbx
cmp rbx, r8
je 0x1400bbacd
cmp dword [0x14045e968], 0
jne 0x1400bbacd
cmp qword [rbx + 0x3c], 8
jb 0x1400bba98
mov rdx, qword [rbx + 0x24]
jmp 0x1400bba9c
lea rdx, [rbx + 0x24]
xor r8d, r8d
lea rcx, [rsp + 0xbb0]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x1400bbcfa
add rbx, 0x81
mov qword [rsp + 0xab0], rbx
cmp rbx, qword [0x1404602d0]
jne 0x1400bba82
mov qword [rsp + 0x200], 7
mov qword [rsp + 0x1f8], r14
mov word [rsp + 0x1e8], r14w
cmp word [rsp + 0xbb0], 0
jne 0x1400bbafa
mov r8, r14
jmp 0x1400bbb1b
lea rax, [rsp + 0xbb0]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400bbb10
lea rdx, [rsp + 0xbb0]
lea rcx, [rsp + 0x1e8]
call fcn.14004dd70
lea rcx, [rsp + 0x1e8]
call fcn.140082440
mov qword [rsp + 0x958], r14
mov dword [rsp + 0x9a0], r14d
mov dword [rsp + 0xa60], 4
lea rax, [rsp + 0x958]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8d, [r9 + 3]
lea rdx, [rsp + 0xbb0]
mov rcx, qword [rsp + 0x950]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400bbbc7
mov rcx, qword [rsp + 0x958]
test rcx, rcx
je 0x1400bbbda
lea rax, [rsp + 0xa60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x9a0]
mov qword [rsp + 0x20], rax
lea r9, [0x14044b738]
xor r8d, r8d
lea rdx, [0x14033dde8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x958]
test rcx, rcx
je 0x1400bbbda
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x9a0]
mov dword [rsp + 0x50], eax
cmp eax, 0xc
je 0x1400bbcfa
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0xbb0]
mov rcx, qword [rsp + 0x950]
call fcn.140060320
mov rbx, rax
test rax, rax
je 0x1400bbcfa
cmp dword [rsp + 0x50], 0
jbe 0x1400bbcfa
mov rcx, rax
call fcn.14004b710
mov rdi, rax
mov qword [rsp + 0x240], rax
mov qword [rsp + 0xb0], 7
mov qword [rsp + 0xa8], r14
mov word [rsp + 0x98], r14w
cmp word [rsp + 0xbb0], 0
jne 0x1400bbc5f
mov r8, r14
jmp 0x1400bbc7b
lea rax, [rsp + 0xbb0]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400bbc70
lea rdx, [rsp + 0xbb0]
lea rcx, [rsp + 0x98]
call fcn.14004dd70
mov qword [rsp + 0xb8], rdi
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x960]
call fcn.140056980
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x358]
lea rcx, [rsp + 0x960]
call fcn.1400bdf30
nop
mov r8, qword [rsp + 0xb0]
cmp r8, 8
jb 0x1400bbcf2
inc r8
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x98]
call fcn.14004e2e0
mov rcx, rbx
call fcn.14012a2d4
mov edx, esi
inc esi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x980]
lea r8, [rsp + 0xbb0]
mov rcx, qword [rsp + 0x950]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x1400bb970
mov rcx, qword [rsp + 0x950]
test rcx, rcx
je 0x1400bbd56
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x950], r14
cmp dword [0x14045e968], 0
jne 0x1400bd277
cmp qword [rsp + 0x968], 0
jbe 0x1400bd277
mov edx, Ordinal_27
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140462244], eax
jle 0x1400bbecc
lea rcx, [0x140462244]
call fcn.14012a4bc
lea r12, [0x140462250]
cmp dword [0x140462244], 0xffffffff
jne 0x1400bbed3
mov qword [0x140462268], 7
mov qword [0x140462260], r14
mov word [0x140462250], r14w
mov r8d, reloc.WS2_32.dll_WSAGetLastError
lea rdx, str._.___CULTURE_.___TYPE_.___VERSION_.___PUBLICKEYTOKEN_.___PROCESSORARCHITECTURE_.___VERSIONSCOPE_._
mov rcx, r12
call fcn.14004dd70
nop
mov qword [0x140462288], 7
mov qword [0x140462280], r14
mov word [0x140462270], r14w
mov r8d, 0x5c
lea rdx, str._.___CULTURE_.___TYPE_.___VERSION_.___PUBLICKEYTOKEN_.___PROCESSORARCHITECTURE_._
lea rcx, [0x140462270]
call fcn.14004dd70
nop
mov qword [0x1404622a8], 7
mov qword [0x1404622a0], r14
mov word [0x140462290], r14w
mov r8d, 0x64
lea rdx, str._.___CULTURE_.___VERSION_.___PUBLICKEYTOKEN_.___PROCESSORARCHITECTURE_.___VERSIONSCOPE_._
lea rcx, [0x140462290]
call fcn.14004dd70
nop
mov qword [0x1404622c8], 7
mov qword [0x1404622c0], r14
mov word [0x1404622b0], r14w
mov r8d, 0x51
lea rdx, str._.___CULTURE_.___VERSION_.___PUBLICKEYTOKEN_.___PROCESSORARCHITECTURE_._
lea rcx, [0x1404622b0]
call fcn.14004dd70
nop
mov qword [0x1404622e8], 7
mov qword [0x1404622e0], r14
mov word [0x1404622d0], r14w
mov r8d, 0x43
lea rdx, str._.___VERSION_.___PUBLICKEYTOKEN_.___PROCESSORARCHITECTURE_._
lea rcx, [0x1404622d0]
call fcn.14004dd70
nop
lea rcx, [0x1402b2ae0]
call fcn.14012aba8
lea rcx, [0x140462244]
call fcn.14012a45c
jmp 0x1400bbed3
lea r12, [0x140462250]
mov rdi, qword [rsp + 0x960]
mov rdi, qword [rdi]
movabs r13, 0x2aaaaaaaaaaaaaab
mov qword [rsp + 0x9a8], rdi
cmp rdi, qword [rsp + 0x960]
je 0x1400bce2c
cmp dword [0x14045e968], 0
jne 0x1400bce2c
lea r9, [rdi + 0x20]
cmp qword [r9 + 0x18], 8
jb 0x1400bbf19
mov r9, qword [r9]
lea r8, str.X:WindowsWinSxS
lea rdx, [0x14033e288]
lea rcx, [rsp + 0xa90]
call fcn.14004bec0
nop
mov qword [rsp + 0x160], 7
mov qword [rsp + 0x158], r14
mov word [rsp + 0x148], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xa90]
lea rcx, [rsp + 0x148]
call fcn.14004e350
lea rcx, [rsp + 0x148]
call fcn.140082440
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x9b0]
call fcn.14027b2c0
mov qword [rsp + 0x9b0], r14
mov byte [rsp + 0x9b8], 0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x9c0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x9d0], xmm1
mov qword [rsp + 0x9e0], r14
mov byte [rsp + 0x9e8], 0
movdqa xmmword [rsp + 0x9f0], xmm0
mov byte [rsp + 0xa00], 0
mov qword [rsp + 0xa08], r14
mov qword [rsp + 0xa10], r14
mov byte [rsp + 0xa18], 0
mov rdx, qword [rdi + 0x40]
mov qword [rsp + 0xa88], 7
mov qword [rsp + 0xa80], r14
mov word [rsp + 0xa70], r14w
cmp word [rdx], 0
jne 0x1400bc01b
mov r8, r14
jmp 0x1400bc02b
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bc020
lea rcx, [rsp + 0xa70]
call fcn.14004dd70
nop
mov esi, r14d
mov dword [rsp + 0x80], esi
cmp esi, 5
jae 0x1400bcd08
xor eax, eax
mov qword [rsp + 0xa40], rax
mov qword [rsp + 0xa48], rax
mov qword [rsp + 0xa50], rax
mov qword [rsp + 0xa58], rax
movsxd rbx, esi
shl rbx, 5
add rbx, r12
mov qword [rsp + 0xa38], r14
lea rax, [rsp + 0xa40]
mov qword [rsp + 0x90], rax
mov cl, 1
call fcn.140128f38
mov qword [rsp + 0xa58], rax
lea rcx, [rsp + 0xa50]
call fcn.140079660
mov qword [rsp + 0xa40], rax
lea rcx, [rsp + 0xa50]
call fcn.1400797d0
mov qword [rsp + 0xa48], rax
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1400bc0d8
mov rcx, qword [rbx]
jmp 0x1400bc0db
mov rcx, rbx
mov rax, qword [rbx + 0x10]
lea r8, [rcx + rax*2]
mov qword [rsp + 0x90], r8
cmp rdx, 8
jb 0x1400bc0f4
mov rbx, qword [rbx]
mov r9d, 0x100
mov rdx, rbx
lea rcx, [rsp + 0xa38]
call fcn.140079220
nop
lea rcx, [rsp + 0xa70]
cmp qword [rsp + 0xa88], 8
cmovae rcx, qword [rsp + 0xa70]
mov rax, qword [rsp + 0xa80]
lea rbx, [rcx + rax*2]
mov qword [rsp + 0x248], rbx
lea r12, [rsp + 0xa70]
cmovae r12, qword [rsp + 0xa70]
mov r15, qword [rsp + 0xa38]
test r15, r15
je 0x1400bcc61
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0xac0]
call fcn.14027b2c0
mov eax, dword [r15 + 0x20]
mov dword [rsp + 0x30], eax
mov eax, dword [r15 + 0x28]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0xa40]
mov r8, rbx
mov rdx, r12
lea rcx, [rsp + 0xac0]
call fcn.140079b40
nop
lea rdx, [rsp + 0x9b0]
lea rcx, [rsp + 0xac0]
call fcn.14007a3e0
movzx ebx, al
mov rdx, qword [rsp + 0xb40]
test rdx, rdx
je 0x1400bc1ee
mov r8, qword [rsp + 0xb50]
sub r8, rdx
sar r8, 4
call fcn.140079ef0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xb40], xmm0
mov qword [rsp + 0xb50], r14
lea rcx, [rsp + 0xb00]
call fcn.140079a90
lea rcx, [rsp + 0xac0]
call fcn.140079a90
test bl, bl
je 0x1400bcc59
test esi, esi
jne 0x1400bc406
mov rcx, qword [rsp + 0x9c8]
sub rcx, qword [rsp + 0x9c0]
mov rax, r13
imul rcx
mov rbx, rdx
sar rbx, 2
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp rbx, 8
jb 0x1400bcbda
lea rax, [rsp + 0x168]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x418]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x180], 7
mov qword [rsp + 0x178], r14
mov word [rsp + 0x168], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xa90]
lea rcx, [rsp + 0x168]
call fcn.14004e350
nop
cmp rbx, 6
ja 0x1400bc2c7
lea rcx, [rsp + 0xa08]
jmp 0x1400bc2d6
mov rcx, qword [rsp + 0x9c0]
add rcx, 0x90
lea rdx, [rsp + 0x3d8]
call fcn.140078560
mov r15, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 5
lea rcx, [rsp + 0xa08]
jbe 0x1400bc31f
lea rcx, [r8 + 0x78]
lea rdx, [rsp + 0x3f8]
call fcn.140078560
mov rsi, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 4
lea rcx, [rsp + 0xa08]
jbe 0x1400bc368
lea rcx, [r8 + 0x60]
lea rdx, [rsp + 0x418]
call fcn.140078560
mov rbx, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 1
lea rcx, [rsp + 0xa08]
jbe 0x1400bc3b1
lea rcx, [r8 + 0x18]
lea rdx, [rsp + 0x438]
call fcn.140078560
nop
lea rcx, [rsp + 0x168]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
mov r9, rsi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x610]
call fcn.1400b9cf0
nop
mov rdx, rax
lea rcx, [rsp + 0x988]
call fcn.1400bd570
nop
lea rcx, [rsp + 0x610]
jmp 0x1400bcbd4
cmp esi, 1
jne 0x1400bc5fd
mov rcx, qword [rsp + 0x9c8]
sub rcx, qword [rsp + 0x9c0]
mov rax, r13
imul rcx
mov rbx, rdx
sar rbx, 2
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp rbx, 7
jb 0x1400bcbda
lea rax, [rsp + 0x128]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x458]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x478]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x498]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x140], 7
mov qword [rsp + 0x138], r14
mov word [rsp + 0x128], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xa90]
lea rcx, [rsp + 0x128]
call fcn.14004e350
nop
cmp rbx, 6
ja 0x1400bc4be
lea rcx, [rsp + 0xa08]
jmp 0x1400bc4cd
mov rcx, qword [rsp + 0x9c0]
add rcx, 0x90
lea rdx, [rsp + 0x458]
call fcn.140078560
mov r15, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 5
lea rcx, [rsp + 0xa08]
jbe 0x1400bc516
lea rcx, [r8 + 0x78]
lea rdx, [rsp + 0x478]
call fcn.140078560
mov rsi, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 4
lea rcx, [rsp + 0xa08]
jbe 0x1400bc55f
lea rcx, [r8 + 0x60]
lea rdx, [rsp + 0x498]
call fcn.140078560
mov rbx, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 1
lea rcx, [rsp + 0xa08]
jbe 0x1400bc5a8
lea rcx, [r8 + 0x18]
lea rdx, [rsp + 0x4b8]
call fcn.140078560
nop
lea rcx, [rsp + 0x128]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
mov r9, rsi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x6e0]
call fcn.1400b9cf0
nop
mov rdx, rax
lea rcx, [rsp + 0x988]
call fcn.1400bd570
nop
lea rcx, [rsp + 0x6e0]
jmp 0x1400bcbd4
cmp esi, 2
jne 0x1400bc7f1
mov rcx, qword [rsp + 0x9c8]
sub rcx, qword [rsp + 0x9c0]
mov rax, r13
imul rcx
mov rbx, rdx
sar rbx, 2
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp rbx, 7
jb 0x1400bcbda
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x4d8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x3a8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x1c0], 7
mov qword [rsp + 0x1b8], r14
mov word [rsp + 0x1a8], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xa90]
lea rcx, [rsp + 0x1a8]
call fcn.14004e350
nop
cmp rbx, 5
ja 0x1400bc6b5
lea rcx, [rsp + 0xa08]
jmp 0x1400bc6c1
mov rcx, qword [rsp + 0x9c0]
add rcx, 0x78
lea rdx, [rsp + 0x4d8]
call fcn.140078560
mov r15, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 4
lea rcx, [rsp + 0xa08]
jbe 0x1400bc70a
lea rcx, [r8 + 0x60]
lea rdx, [rsp + 0x2f8]
call fcn.140078560
mov rsi, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 3
lea rcx, [rsp + 0xa08]
jbe 0x1400bc753
lea rcx, [r8 + 0x48]
lea rdx, [rsp + 0x3a8]
call fcn.140078560
mov rbx, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 1
lea rcx, [rsp + 0xa08]
jbe 0x1400bc79c
lea rcx, [r8 + 0x18]
lea rdx, [rsp + 0x388]
call fcn.140078560
nop
lea rcx, [rsp + 0x1a8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
mov r9, rsi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x540]
call fcn.1400b9cf0
nop
mov rdx, rax
lea rcx, [rsp + 0x988]
call fcn.1400bd570
nop
lea rcx, [rsp + 0x540]
jmp 0x1400bcbd4
cmp esi, 3
jne 0x1400bc9e5
mov rcx, qword [rsp + 0x9c8]
sub rcx, qword [rsp + 0x9c0]
mov rax, r13
imul rcx
mov rbx, rdx
sar rbx, 2
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp rbx, 6
jb 0x1400bcbda
lea rax, [rsp + 0x188]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x368]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x518]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x338]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x1a0], 7
mov qword [rsp + 0x198], r14
mov word [rsp + 0x188], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xa90]
lea rcx, [rsp + 0x188]
call fcn.14004e350
nop
cmp rbx, 5
ja 0x1400bc8a9
lea rcx, [rsp + 0xa08]
jmp 0x1400bc8b5
mov rcx, qword [rsp + 0x9c0]
add rcx, 0x78
lea rdx, [rsp + 0x368]
call fcn.140078560
mov r15, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 4
lea rcx, [rsp + 0xa08]
jbe 0x1400bc8fe
lea rcx, [r8 + 0x60]
lea rdx, [rsp + 0x518]
call fcn.140078560
mov rsi, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 3
lea rcx, [rsp + 0xa08]
jbe 0x1400bc947
lea rcx, [r8 + 0x48]
lea rdx, [rsp + 0x338]
call fcn.140078560
mov rbx, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 1
lea rcx, [rsp + 0xa08]
jbe 0x1400bc990
lea rcx, [r8 + 0x18]
lea rdx, [rsp + 0x318]
call fcn.140078560
nop
lea rcx, [rsp + 0x188]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
mov r9, rsi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x7b0]
call fcn.1400b9cf0
nop
mov rdx, rax
lea rcx, [rsp + 0x988]
call fcn.1400bd570
nop
lea rcx, [rsp + 0x7b0]
jmp 0x1400bcbd4
cmp esi, 4
jne 0x1400bcbda
mov rcx, qword [rsp + 0x9c8]
sub rcx, qword [rsp + 0x9c0]
mov rax, r13
imul rcx
mov rbx, rdx
sar rbx, 2
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp rbx, 5
jb 0x1400bcbda
lea rax, [rsp + 0x108]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x298]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x120], 7
mov qword [rsp + 0x118], r14
mov word [rsp + 0x108], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xa90]
lea rcx, [rsp + 0x108]
call fcn.14004e350
nop
cmp rbx, 4
ja 0x1400bca9d
lea rcx, [rsp + 0xa08]
jmp 0x1400bcaa9
mov rcx, qword [rsp + 0x9c0]
add rcx, 0x60
lea rdx, [rsp + 0x2d8]
call fcn.140078560
mov r15, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 3
lea rcx, [rsp + 0xa08]
jbe 0x1400bcaf2
lea rcx, [r8 + 0x48]
lea rdx, [rsp + 0x2b8]
call fcn.140078560
mov rsi, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 2
lea rcx, [rsp + 0xa08]
jbe 0x1400bcb3b
lea rcx, [r8 + 0x30]
lea rdx, [rsp + 0x298]
call fcn.140078560
mov rbx, rax
mov rcx, qword [rsp + 0x9c8]
mov r8, qword [rsp + 0x9c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
cmp rdx, 1
lea rcx, [rsp + 0xa08]
jbe 0x1400bcb84
lea rcx, [r8 + 0x18]
lea rdx, [rsp + 0x4f8]
call fcn.140078560
nop
lea rcx, [rsp + 0x108]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
mov r9, rsi
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x880]
call fcn.1400b9cf0
nop
mov rdx, rax
lea rcx, [rsp + 0x988]
call fcn.1400bd570
nop
lea rcx, [rsp + 0x880]
call fcn.1400ba0d0
nop
mov rcx, qword [rsp + 0xa38]
test rcx, rcx
je 0x1400bcc25
or eax, 0xffffffff
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x1400bcc1d
mov rbx, qword [rsp + 0xa38]
test rbx, rbx
je 0x1400bcc1d
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r14
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x1400bcc01
mov rdi, qword [rsp + 0x9a8]
mov qword [rsp + 0xa38], r14
mov rcx, qword [rsp + 0xa58]
test rcx, rcx
je 0x1400bcc54
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400bcc54
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
jmp 0x1400bcd08
mov r15, qword [rsp + 0xa38]
jmp 0x1400bcc87
lea r12, [0x140462250]
test r15, r15
je 0x1400bccd2
or eax, 0xffffffff
lock xadd dword [r15 + 0x2c], eax
cmp eax, 1
jne 0x1400bccca
mov rbx, qword [rsp + 0xa38]
test rbx, rbx
je 0x1400bccca
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r14
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x1400bccae
mov rdi, qword [rsp + 0x9a8]
mov qword [rsp + 0xa38], r14
mov rcx, qword [rsp + 0xa58]
test rcx, rcx
je 0x1400bcd01
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400bcd01
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
inc esi
jmp 0x1400bc03c
mov r8, qword [rsp + 0xa88]
cmp r8, 8
jb 0x1400bcd2e
inc r8
mov rdx, qword [rsp + 0xa70]
lea rcx, [rsp + 0xa70]
call fcn.14004e2e0
mov qword [rsp + 0xa88], 7
mov qword [rsp + 0xa80], r14
mov word [rsp + 0xa70], r14w
mov r9, qword [rsp + 0x9c0]
test r9, r9
je 0x1400bcd93
mov rcx, qword [rsp + 0x9d0]
sub rcx, r9
mov rax, r13
imul rcx
sar rdx, 2
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov rdx, r9
call fcn.140078a80
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x9c0], xmm0
mov qword [rsp + 0x9d0], r14
mov r8, qword [rsp + 0xaa8]
cmp r8, 8
jb 0x1400bcdb9
inc r8
mov rdx, qword [rsp + 0xa90]
lea rcx, [rsp + 0xa90]
call fcn.14004e2e0
cmp byte [rdi + 0x19], 0
lea r12, [0x140462250]
jne 0x1400bbef0
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400bcdf8
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1400bcdec
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400bcde0
lea r12, [0x140462250]
jmp 0x1400bbee8
mov rax, qword [rdi + 8]
cmp byte [rax + 0x19], 0
jne 0x1400bce15
cmp rdi, qword [rax + 0x10]
jne 0x1400bce15
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400bce02
mov rdi, rax
mov qword [rsp + 0x9a8], rax
lea r12, [0x140462250]
jmp 0x1400bbef0
lea rcx, [rsp + 0x960]
call fcn.140083790
mov rcx, qword [rsp + 0x990]
sub rcx, qword [rsp + 0x988]
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400bd22d
mov rsi, qword [rsp + 0xa20]
mov rbx, rsi
mov rdi, qword [rsp + 0xa28]
cmp rsi, rdi
je 0x1400bce93
mov rcx, rbx
call fcn.1400bd4b0
add rbx, 0x18
cmp rbx, rdi
jne 0x1400bce82
mov qword [rsp + 0xa28], rsi
lea rdx, [rsp + 0x988]
lea rcx, [rsp + 0x268]
call fcn.1400bd3e0
lea rdx, [rsp + 0xa20]
mov rcx, rax
call fcn.1400bd680
mov rsi, qword [rsp + 0xa28]
mov rcx, rsi
mov r15, qword [rsp + 0xa20]
sub rcx, r15
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400bd208
mov r13, r14
mov rdx, qword [rsp + 0x970]
mov rdx, qword [rdx + 8]
lea rcx, [rsp + 0x970]
call fcn.140068c10
mov rax, qword [rsp + 0x970]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x970]
mov qword [rax], rax
mov rax, qword [rsp + 0x970]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x978], r14
mov rdi, r15
cmp r15, rsi
je 0x1400bd15e
cmp dword [0x14045e968], 0
jne 0x1400bd156
mov rbx, qword [rdi]
cmp rbx, qword [rdi + 8]
je 0x1400bd149
lea r15, [rbx + 0xa0]
nop dword [rax]
nop dword [rax + rax]
cmp dword [0x14045e968], 0
jne 0x1400bd141
mov qword [rsp + 0x100], 7
mov qword [rsp + 0xf8], r14
mov word [rsp + 0xe8], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0xe8]
call fcn.14004e350
lea rcx, [rsp + 0xe8]
call fcn.140082300
test eax, eax
jne 0x1400bd129
mov qword [rsp + 0xa68], r14
mov qword [rsp + 0x230], 7
mov qword [rsp + 0x228], r14
mov word [rsp + 0x218], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x218]
call fcn.14004e350
lea rcx, [rsp + 0x218]
call fcn.140082440
cmp qword [r15 + 0x18], 8
jb 0x1400bd01b
mov rsi, qword [r15]
jmp 0x1400bd01e
mov rsi, r15
mov edx, 1
lea r8d, [rdx + 2]
mov rcx, rsi
call fcn.1400526c0
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400bd05b
lea r9, [rsp + 0xa68]
mov r8, rsi
lea rdx, [0x140082180]
mov rcx, rax
call fcn.140052980
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add r13, qword [rsp + 0xa68]
mov ecx, 0x478
call fcn.14012a618
mov rsi, rax
xor edx, edx
mov r8d, 0x478
mov rcx, rax
call fcn.14027b2c0
mov dword [rsi + 0x38], reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0xa68]
mov qword [rsi + 0x28], rcx
mov qword [rsp + 0xd8], 7
mov qword [rsp + 0xd0], r14
mov word [rsp + 0xc0], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0xc0]
call fcn.14004e350
mov qword [rsp + 0xe0], rsi
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x970]
call fcn.140056980
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x3c8]
lea rcx, [rsp + 0x970]
call fcn.140056a00
nop
mov r8, qword [rsp + 0xd8]
cmp r8, 8
jb 0x1400bd129
inc r8
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xc0]
call fcn.14004e2e0
add rbx, 0xd0
add r15, 0xd0
cmp rbx, qword [rdi + 8]
jne 0x1400bcf70
mov rsi, qword [rsp + 0xa28]
add rdi, 0x18
cmp rdi, rsi
jne 0x1400bcf43
mov r15, qword [rsp + 0xa20]
mov rbx, r15
cmp r15, rsi
je 0x1400bd177
mov rcx, rbx
call fcn.1400bd4b0
add rbx, 0x18
cmp rbx, rsi
jne 0x1400bd166
mov qword [rsp + 0xa28], r15
test r13, r13
je 0x1400bd208
call fcn.140083550
mov rdi, rax
mov qword [rax + 0x64], r13
mov dword [rax + 0x6d], r14d
lea rcx, [rax + 0x44]
mov r8d, ntohs
lea rdx, [0x14033e048]
call fcn.14004dd70
mov byte [rdi + 0x6c], 1
lea rbx, [rdi + 0x71]
lea rax, [rsp + 0x970]
cmp rbx, rax
je 0x1400bd200
mov rdx, qword [rbx]
mov rdx, qword [rdx + 8]
mov rcx, rbx
call fcn.140068c10
mov rax, qword [rbx]
mov qword [rax + 8], rax
mov rax, qword [rbx]
mov qword [rax], rax
mov rax, qword [rbx]
mov qword [rax + 0x10], rax
mov qword [rbx + 8], r14
movzx r8d, byte [rsp + 0x40]
lea rdx, [rsp + 0x970]
mov rcx, rbx
call fcn.140068d50
mov rcx, rdi
call fcn.1400831f0
mov r8, qword [rsp + 0x990]
mov rdx, qword [rsp + 0x988]
call fcn.1400bd530
mov rax, qword [rsp + 0x988]
mov qword [rsp + 0x990], rax
cmp qword [0x14045efe8], 0
jbe 0x1400bd277
call fcn.1400836a0
mov rbx, rax
mov dword [rax], r14d
lea rcx, [rax + 4]
lea rdx, str.WinSxS
call fcn.140068490
mov rcx, qword [0x14045efe8]
mov qword [rbx + 0x44], rcx
lea rcx, [rbx + 0x24]
lea rdx, str.X:WindowsWinSxS
call fcn.140068490
mov dl, 3
mov rcx, rbx
call fcn.1400833a0
call fcn.1400ba490
nop
lea rcx, [rsp + 0x970]
call fcn.140067ec0
nop
lea rcx, [rsp + 0xa20]
call fcn.1400bd350
nop
lea rcx, [rsp + 0x988]
call fcn.1400bd4b0
nop
lea rcx, [rsp + 0x960]
call fcn.1400bd2f0
mov rcx, qword [rsp + 0xfd0]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0xfe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret