Function at 0x1400ab3c0
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14011d8d0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rcx
mov qword [rsp + 0x48], rcx
mov r14d, 0x80004005
lea rcx, [rbp - 0x50]
call fcn.1400386c0
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.14005caa0
test al, al
jne 0x1400ab447
or rbx, 0xffffffffffffffff
jmp 0x1400abe0d
xor edx, edx
lea rdi, [0x1400de328]
mov rax, qword [rsp + 0x38]
mov rsi, rax
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
je 0x1400ab467
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
sete cl
test cl, cl
je 0x1400ab47d
lea rdx, [rax - 0x18]
or rbx, 0xffffffffffffffff
jmp 0x1400abe16
mov edx, dword [rax - 0x10]
lea ecx, [rdx - 1]
test ecx, ecx
js 0x1400abe3a
cmp ecx, edx
jg 0x1400abe3a
movsxd rcx, ecx
mov edx, Ordinal_49
or rbx, 0xffffffffffffffff
xor r12d, r12d
cmp dx, word [rax + rcx*2]
je 0x1400ab67b
lea r8, [0x1400e4478]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.140002ce0
nop
lea r8, str.WSAppsInfo.xml
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140002ce0
nop
mov r13, qword [rax]
lea rdx, [r13 - 0x18]
mov rcx, qword [rsp + 0x38]
lea rdi, [rcx - 0x18]
cmp rdx, rdi
je 0x1400ab63b
cmp dword [rdi + 0x10], r12d
jl 0x1400ab52b
mov rax, qword [rdi]
cmp qword [rdx], rax
jne 0x1400ab52b
mov rcx, rdx
call fcn.140001b90
mov rsi, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400ab522
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [rsi + 0x18]
jmp 0x1400ab636
movsxd rsi, dword [r13 - 0x10]
test esi, esi
jne 0x1400ab594
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400ab63b
cmp dword [rdi + 0x10], 0
jge 0x1400ab569
cmp dword [rcx - 0xc], 0
jge 0x1400ab557
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rcx - 0x10], r12d
mov rax, qword [rsp + 0x38]
mov word [rax], r12w
jmp 0x1400ab63b
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x1400ab582
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
jmp 0x1400ab636
test r13, r13
jne 0x1400ab5a4
mov ecx, 0x80070057
call fcn.140001000
int3
mov r15d, dword [rcx - 0x10]
mov r12, r13
sub r12, rcx
sar r12, 1
test esi, esi
jns 0x1400ab5c0
mov ecx, 0x80070057
call fcn.140001000
int3
mov edx, 1
sub edx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, esi
or eax, edx
jge 0x1400ab5e2
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.140001c20
mov rcx, qword [rsp + 0x38]
lea rdi, [rsi + rsi]
movsxd rdx, dword [rcx - 0xc]
mov r9, rdi
add rdx, rdx
cmp r12, r15
ja 0x1400ab601
lea r8, [rcx + r12*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x1400ab60a
mov r8, r13
call qword [sym.imp.MSVCR100.dll_memcpy_s]
mov rax, qword [rsp + 0x38]
cmp esi, dword [rax - 0xc]
jg 0x1400ab62b
mov dword [rax - 0x10], esi
mov rax, qword [rsp + 0x38]
xor r12d, r12d
mov word [rdi + rax], r12w
mov r15, qword [rsp + 0x48]
jmp 0x1400ab63b
mov ecx, 0x80070057
call fcn.140001000
int3
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ab65a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ab692
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400ab692
mov r8d, Ordinal_17
lea rdx, str.WSAppsInfo.xml
lea rcx, [rsp + 0x38]
call fcn.140003c10
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.1400ab050
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x1400ab6c7
cmp rax, qword [rdi - 0x18]
jne 0x1400ab6c7
lea rsi, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x1400ab705
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
jne 0x1400ab6e3
call fcn.140001920
int3
mov eax, dword [rdi - 0x10]
mov dword [rsi + 8], eax
mov eax, dword [rdi - 0x10]
inc eax
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rsi + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.14001ad30
test al, al
jne 0x1400ab721
jmp 0x1400abe0d
mov word [rbp - 0x40], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x3e]
call sub.MSVCR100.dll_memset
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1400ab753
jmp 0x1400abe0d
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x30], rsi
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x40]
test rax, 0xffffffffffff0000
jne 0x1400ab7a7
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x1400ab8b1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140001f70
jmp 0x1400ab8b1
xor eax, eax
mov rcx, rbx
lea rdi, [rbp - 0x40]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x1400ab824
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400ab8b1
cmp dword [rdx + 0x10], eax
jge 0x1400ab7f7
cmp dword [rsi - 0xc], eax
jge 0x1400ab7e5
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rsi - 0x10], r12d
mov rax, qword [rsp + 0x30]
mov word [rax], r12w
jmp 0x1400ab8b1
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ab80d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x1400ab8b1
mov r13d, dword [rsi - 0x10]
lea r12, [rbp - 0x40]
sub r12, rsi
sar r12, 1
test ecx, ecx
jns 0x1400ab841
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400ab863
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001c20
mov rsi, qword [rsp + 0x30]
movsxd rax, edi
movsxd rdx, dword [rsi - 0xc]
mov rcx, rsi
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x1400ab888
lea r8, [rsi + r12*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x1400ab892
lea r8, [rbp - 0x40]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
mov rax, qword [rsp + 0x30]
cmp edi, dword [rax - 0xc]
jg 0x1400abe2f
mov dword [rax - 0x10], edi
mov rax, qword [rsp + 0x30]
xor r12d, r12d
mov word [r13 + rax], r12w
lea r8, str.Sony_CorporationVAIO_Update
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140002ce0
nop
lea r8, str.LocalUpdateInfo_V2.0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002ce0
nop
mov r13, qword [rax]
lea rdx, [r13 - 0x18]
mov rcx, qword [rsp + 0x30]
lea rdi, [rcx - 0x18]
cmp rdx, rdi
je 0x1400aba3c
cmp dword [rdi + 0x10], 0
jl 0x1400ab931
mov rax, qword [rdi]
cmp qword [rdx], rax
jne 0x1400ab931
mov rcx, rdx
call fcn.140001b90
mov rsi, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400ab928
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [rsi + 0x18]
jmp 0x1400aba37
movsxd rsi, dword [r13 - 0x10]
test esi, esi
jne 0x1400ab99a
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400aba3c
cmp dword [rdi + 0x10], 0
jge 0x1400ab96f
cmp dword [rcx - 0xc], 0
jge 0x1400ab95d
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rcx - 0x10], r12d
mov rax, qword [rsp + 0x30]
mov word [rax], r12w
jmp 0x1400aba3c
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x1400ab988
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
jmp 0x1400aba37
test r13, r13
jne 0x1400ab9aa
mov ecx, 0x80070057
call fcn.140001000
int3
mov r14d, dword [rcx - 0x10]
mov r12, r13
sub r12, rcx
sar r12, 1
test esi, esi
jns 0x1400ab9c6
mov ecx, 0x80070057
call fcn.140001000
int3
mov edx, 1
sub edx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, esi
or eax, edx
jge 0x1400ab9e8
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140001c20
mov rcx, qword [rsp + 0x30]
lea rdi, [rsi + rsi]
movsxd rdx, dword [rcx - 0xc]
mov r9, rdi
add rdx, rdx
cmp r12, r14
ja 0x1400aba07
lea r8, [rcx + r12*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x1400aba10
mov r8, r13
call qword [sym.imp.MSVCR100.dll_memcpy_s]
mov rax, qword [rsp + 0x30]
cmp esi, dword [rax - 0xc]
jg 0x1400aba2c
mov dword [rax - 0x10], esi
mov rax, qword [rsp + 0x30]
xor r12d, r12d
mov word [rdi + rax], r12w
jmp 0x1400aba3c
mov ecx, 0x80070057
call fcn.140001000
int3
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400aba5c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400aba7b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14003ffa0
test al, al
jne 0x1400aba9b
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, [0x1400ddd20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140002ce0
nop
lea r8, str.WSAppsInfo.xml
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140002ce0
nop
mov r13, qword [rax]
lea rdx, [r13 - 0x18]
mov rcx, qword [rsp + 0x30]
lea rdi, [rcx - 0x18]
cmp rdx, rdi
je 0x1400abc26
cmp dword [rdi + 0x10], 0
jl 0x1400abb1b
mov rax, qword [rdi]
cmp qword [rdx], rax
jne 0x1400abb1b
mov rcx, rdx
call fcn.140001b90
mov rsi, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400abb12
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [rsi + 0x18]
jmp 0x1400abc21
movsxd rsi, dword [r13 - 0x10]
test esi, esi
jne 0x1400abb84
mov rsi, qword [rdi]
cmp dword [rdi + 8], 0
je 0x1400abc26
cmp dword [rdi + 0x10], 0
jge 0x1400abb59
cmp dword [rcx - 0xc], 0
jge 0x1400abb47
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rcx - 0x10], r12d
mov rax, qword [rsp + 0x30]
mov word [rax], r12w
jmp 0x1400abc26
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x1400abb72
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
add rax, 0x18
jmp 0x1400abc21
test r13, r13
jne 0x1400abb94
mov ecx, 0x80070057
call fcn.140001000
int3
mov r14d, dword [rcx - 0x10]
mov r12, r13
sub r12, rcx
sar r12, 1
test esi, esi
jns 0x1400abbb0
mov ecx, 0x80070057
call fcn.140001000
int3
mov edx, 1
sub edx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, esi
or eax, edx
jge 0x1400abbd2
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140001c20
mov rcx, qword [rsp + 0x30]
lea rdi, [rsi + rsi]
movsxd rdx, dword [rcx - 0xc]
mov r9, rdi
add rdx, rdx
cmp r12, r14
ja 0x1400abbf1
lea r8, [rcx + r12*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x1400abbfa
mov r8, r13
call qword [sym.imp.MSVCR100.dll_memcpy_s]
mov rax, qword [rsp + 0x30]
cmp esi, dword [rax - 0xc]
jg 0x1400abc16
mov dword [rax - 0x10], esi
mov rax, qword [rsp + 0x30]
xor r12d, r12d
mov word [rdi + rax], r12w
jmp 0x1400abc26
mov ecx, 0x80070057
call fcn.140001000
int3
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400abc46
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400abc65
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x30]
mov r8d, 1
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140041810
test al, al
jne 0x1400abcb7
mov r14d, 0xa0110015
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400abcb2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x1400abe0d
mov rdx, qword [rsp + 0x30]
lea rcx, [rdx - 0x18]
mov rdi, qword [r15 + 0x30]
sub rdi, 0x18
cmp rcx, rdi
je 0x1400abd17
cmp dword [rdi + 0x10], 0
jl 0x1400abd0a
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1400abd0a
call fcn.140001b90
mov r12, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400abcfc
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [r12 + 0x18]
mov qword [r15 + 0x30], rax
xor r12d, r12d
jmp 0x1400abd17
mov r8d, dword [rdx - 0x10]
lea rcx, [r15 + 0x30]
call fcn.140001e80
test r15, r15
lea rdx, [r15 + 8]
jne 0x1400abd23
mov rdx, r12
lea rcx, [rbp - 0x70]
call fcn.1400c9380
nop
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x1400abd55
cmp rax, qword [rdi - 0x18]
jne 0x1400abd55
lea rsi, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x1400abd93
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rsi, rax
test rax, rax
jne 0x1400abd71
call fcn.140001920
int3
mov eax, dword [rdi - 0x10]
mov dword [rsi + 8], eax
mov eax, dword [rdi - 0x10]
inc eax
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rsi + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.1400c8fa0
test eax, eax
jne 0x1400abde0
mov r14d, 0xa0110015
lea rcx, [rbp - 0x70]
call fcn.1400c8f60
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400abdde
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x1400abe0d
mov r14d, r12d
lea rcx, [rbp - 0x70]
call fcn.1400c8f60
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400abe0d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400abe2a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, r14d
jmp 0x1400abe45
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80070057
call fcn.140001000
nop
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400cafa0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret