Function at 0x14011fba0
Capabilities:
Set current directory

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x540], rbx
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r15d, r8d
mov r12, rdx
mov r14, rcx
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x50], r13d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1d0]
call fcn.1401706d2
mov r8d, 0x104
lea rdx, [rbp + 0x1d0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14011fe18
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call fcn.1401706d2
lea rcx, [rbp + 0xb0]
call fcn.14006ed80
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.Get_module_name_fail__error_code:
lea rcx, [rbp + 0xc0]
call fcn.14006f5a0
mov rcx, rax
mov edx, ebx
call qword [0x1401a93e8]
mov rcx, rax
lea rdx, [0x140228ddc]
call fcn.14006f5a0
mov rcx, rax
lea rdx, str.CreatMainWindow
call fcn.14006f790
mov rcx, rax
lea rdx, [0x140228db8]
call fcn.14006f5a0
mov rcx, rax
lea edx, [r13 + 0x63]
call qword [0x1401a93c0]
mov rcx, rax
lea rdx, [0x140228db4]
call fcn.14006f5a0
nop
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
mov dword [rsp + 0x50], 2
mov rcx, qword [rbp + 0x138]
test cl, 2
jne 0x14011fd07
mov rax, qword [rbp + 0x108]
mov r8, qword [rax]
test r8, r8
je 0x14011fd07
mov rax, qword [rbp + 0xe8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x130]
cmovb r8, qword [rbp + 0x130]
sub r8, rdx
jmp 0x14011fd38
test cl, 4
jne 0x14011fd46
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
test rcx, rcx
je 0x14011fd46
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x118]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x58]
call fcn.140053f60
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x68]
call qword [0x1401a9800]
nop
lea rcx, [rsp + 0x58]
call fcn.1400524a0
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x60]
call fcn.140054ae0
mov rbx, rax
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x78]
call fcn.140047980
nop
mov rdx, rbx
lea rcx, [rsp + 0x78]
call qword [0x1401a9e88]
nop
lea rcx, [rbp + 0x68]
call fcn.140047920
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0xb0], rdi
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc8]
call fcn.14006f390
lea rcx, [rbp + 0xd0]
call qword [0x1401a93c8]
lea rcx, [rbp + 0x148]
call qword [0x1401a9368]
jmp 0x14012088a
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x14011ffff
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call fcn.1401706d2
lea rcx, [rbp + 0xb0]
call fcn.14006ed80
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.remove_module_name_fail__error_code:
lea rcx, [rbp + 0xc0]
call fcn.14006f5a0
mov rcx, rax
mov edx, ebx
call qword [0x1401a93e8]
mov rcx, rax
lea rdx, [0x140228ddc]
call fcn.14006f5a0
mov rcx, rax
lea rdx, str.CreatMainWindow
call fcn.14006f790
mov rcx, rax
lea rdx, [0x140228db8]
call fcn.14006f5a0
mov rcx, rax
mov edx, 0x68
call qword [0x1401a93c0]
mov rcx, rax
lea rdx, [0x140228db4]
call fcn.14006f5a0
nop
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r13w
mov dword [rsp + 0x50], 8
mov rcx, qword [rbp + 0x138]
test cl, 2
jne 0x14011ff13
mov rax, qword [rbp + 0x108]
mov r8, qword [rax]
test r8, r8
je 0x14011ff13
mov rax, qword [rbp + 0xe8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x130]
cmovb r8, qword [rbp + 0x130]
sub r8, rdx
jmp 0x14011ff44
test cl, 4
jne 0x14011ff52
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
test rcx, rcx
je 0x14011ff52
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x118]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x78]
call fcn.140053f60
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x68]
call qword [0x1401a9800]
nop
lea rcx, [rsp + 0x78]
call fcn.1400524a0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x68], rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x60]
call fcn.140054ae0
mov rbx, rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x58]
call fcn.140047980
nop
mov rdx, rbx
lea rcx, [rsp + 0x58]
call qword [0x1401a9e90]
nop
lea rcx, [rbp + 0x68]
call fcn.140047920
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0xb0], rdi
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xac], edx
jmp 0x14011fded
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x1401201e6
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call fcn.1401706d2
lea rcx, [rbp + 0xb0]
call fcn.14006ed80
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.SetCurrentDirectory_fail__error_code:
lea rcx, [rbp + 0xc0]
call fcn.14006f5a0
mov rcx, rax
mov edx, ebx
call qword [0x1401a93e8]
mov rcx, rax
lea rdx, [0x140228ddc]
call fcn.14006f5a0
mov rcx, rax
lea rdx, str.CreatMainWindow
call fcn.14006f790
mov rcx, rax
lea rdx, [0x140228db8]
call fcn.14006f5a0
mov rcx, rax
mov edx, 0x6d
call qword [0x1401a93c0]
mov rcx, rax
lea rdx, [0x140228db4]
call fcn.14006f5a0
nop
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r13w
mov dword [rsp + 0x50], 0x20
mov rcx, qword [rbp + 0x138]
test cl, 2
jne 0x1401200fa
mov rax, qword [rbp + 0x108]
mov r8, qword [rax]
test r8, r8
je 0x1401200fa
mov rax, qword [rbp + 0xe8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x130]
cmovb r8, qword [rbp + 0x130]
sub r8, rdx
jmp 0x14012012b
test cl, 4
jne 0x140120139
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
test rcx, rcx
je 0x140120139
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x118]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x78]
call fcn.140053f60
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x68]
call qword [0x1401a9800]
nop
lea rcx, [rsp + 0x78]
call fcn.1400524a0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x68], rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x60]
call fcn.140054ae0
mov rbx, rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x58]
call fcn.140047980
nop
mov rdx, rbx
lea rcx, [rsp + 0x58]
call qword [0x1401a9e90]
nop
lea rcx, [rbp + 0x68]
call fcn.140047920
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0xb0], rdi
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xac], edx
jmp 0x14011fded
call fcn.14011f500
lea rdx, str.res_values_
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdi, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
test eax, eax
jne 0x1401203ea
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call fcn.1401706d2
lea rcx, [rbp + 0xb0]
call fcn.14006ed80
nop
lea rdx, str.append_failed
lea rcx, [rbp + 0xc0]
call fcn.14006f5a0
mov rcx, rax
lea rdx, [0x140228ddc]
call fcn.14006f5a0
mov rcx, rax
lea rdx, str.CreatMainWindow
call fcn.14006f790
mov rcx, rax
lea rdx, [0x140228db8]
call fcn.14006f5a0
mov rcx, rax
mov edx, 0x74
call qword [0x1401a93c0]
mov rcx, rax
lea rdx, [0x140228db4]
call fcn.14006f5a0
nop
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r13w
mov dword [rsp + 0x50], 0x80
mov rcx, qword [rbp + 0x138]
test cl, 2
jne 0x1401202e1
mov rax, qword [rbp + 0x108]
mov r8, qword [rax]
test r8, r8
je 0x1401202e1
mov rax, qword [rbp + 0xe8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x130]
cmovb r8, qword [rbp + 0x130]
sub r8, rdx
jmp 0x140120312
test cl, 4
jne 0x140120320
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
test rcx, rcx
je 0x140120320
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x118]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x78]
call fcn.140053f60
nop
mov esi, 0x40
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x68]
call qword [0x1401a9800]
nop
lea rcx, [rsp + 0x78]
call fcn.1400524a0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x68], rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x60]
call fcn.140054ae0
mov rbx, rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
lea r8d, [rsi - 0x35]
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x58]
call fcn.140047980
nop
mov rdx, rbx
lea rcx, [rsp + 0x58]
call qword [0x1401a9e90]
nop
lea rcx, [rbp + 0x68]
call fcn.140047920
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], rdi
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc8]
call fcn.14006f390
lea rcx, [rbp + 0xd0]
call qword [0x1401a93c8]
lea rcx, [rbp + 0x148]
call qword [0x1401a9368]
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rbp + 0x98], xmm0
mov word [rbp + 0x88], r13w
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x88]
call fcn.140053ee0
nop
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 8
cmovae rcx, qword [rbp + 0x88]
mov qword [rsp + 0x20], 4
lea r9, str.kits
mov r8, 0xffffffffffffffff
mov rdx, qword [rbp + 0x98]
call fcn.14005a680
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x88]
lea rcx, [rsp + 0x58]
call fcn.140053fd0
bts esi, 8
lea rcx, [rbp + 0x88]
call fcn.1400524a0
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x88], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp + 0x98], xmm1
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
lea rcx, [rsp + 0x58]
call fcn.1400524a0
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x60]
call qword [0x1401a9800]
cmp qword [rax + 0x18], 0x10
jb 0x1401204dc
mov rax, qword [rax]
mov rcx, rax
call qword [0x1401aa100]
lea rcx, [rbp - 0x60]
call fcn.140047920
call qword [0x1401a8eb0]
mov r8, qword [rax]
lea rdx, [rbp + 0x1d0]
mov rcx, rax
call qword [r8]
lea rcx, [rbp + 0x60]
call qword [0x1401a97d8]
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x60]
call qword [0x1401a9938]
nop
cmp qword [rax + 0x18], 8
jb 0x140120528
mov rax, qword [rax]
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rbp + 0x1c0], xmm0
mov word [rbp + 0x1b0], r13w
mov rdx, rax
lea rcx, [rbp + 0x1b0]
call fcn.140053ee0
nop
lea rcx, [rbp - 0x60]
call fcn.1400524a0
cmp r15d, 9
jne 0x140120580
call fcn.14015b0d0
call fcn.140164a70
test al, al
jne 0x140120580
lea rdx, str.zh_CN
lea rcx, [rbp + 0x1b0]
call fcn.140053ee0
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x1b0]
call fcn.14011f9c0
call qword [0x1401a8eb0]
lea rdx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 8
cmovae rdx, qword [rbp + 0x1b0]
mov r9, qword [rax]
mov r8b, 1
mov rcx, rax
call qword [r9 + reloc.OLEAUT32.dll_VariantClear]
mov rcx, r14
call qword [0x1401a8bf0]
lea rcx, [rbp + 0xb0]
call qword [0x1401a8bf8]
nop
lea r8, [0x14022a698]
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [0x1401a8828]
nop
mov rcx, rax
call qword [0x1401a82a0]
mov rcx, rax
call qword [0x1401a8be8]
nop
lea rcx, [rbp - 0x30]
call qword [0x1401a8208]
nop
lea rcx, [rbp + 0xb0]
call qword [0x1401a8208]
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], 0x80000000
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x40008
mov r9d, 0x808a0000
lea r8, str.HUAWEI_Account
xor edx, edx
mov rcx, r12
call qword [0x1401a88b0]
mov rbx, rax
test rax, rax
jne 0x140120840
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call fcn.1401706d2
lea rcx, [rbp + 0xb0]
call fcn.14006ed80
nop
lea rdx, str.Creat_window_failed
lea rcx, [rbp + 0xc0]
call fcn.14006f5a0
mov rcx, rax
lea rdx, [0x140228ddc]
call fcn.14006f5a0
mov rcx, rax
lea rdx, str.CreatMainWindow
call fcn.14006f790
mov rcx, rax
lea rdx, [0x140228db8]
call fcn.14006f5a0
mov rcx, rax
mov edx, DllRegisterServer
call qword [0x1401a93c0]
mov rcx, rax
lea rdx, [0x140228db4]
call fcn.14006f5a0
nop
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r13w
bts esi, 0xa
mov dword [rsp + 0x50], esi
mov rcx, qword [rbp + 0x138]
test cl, 2
jne 0x140120738
mov rax, qword [rbp + 0x108]
mov r8, qword [rax]
test r8, r8
je 0x140120738
mov rax, qword [rbp + 0xe8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x130]
cmovb r8, qword [rbp + 0x130]
sub r8, rdx
jmp 0x140120769
test cl, 4
jne 0x140120777
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
test rcx, rcx
je 0x140120777
mov rax, qword [rbp + 0xe0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x118]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x78]
call fcn.140053f60
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x68]
call qword [0x1401a9800]
nop
lea rcx, [rsp + 0x78]
call fcn.1400524a0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x68], rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x60]
call fcn.140054ae0
mov rbx, rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x58]
call fcn.140047980
nop
mov rdx, rbx
lea rcx, [rsp + 0x58]
call qword [0x1401a9e90]
nop
lea rcx, [rbp + 0x68]
call fcn.140047920
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], rdi
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc8]
call fcn.14006f390
lea rcx, [rbp + 0xd0]
call qword [0x1401a93c8]
lea rcx, [rbp + 0x148]
call qword [0x1401a9368]
jmp 0x140120866
mov edx, 0x65
mov rcx, r14
call qword [sym.imp.USER32.dll_LoadIconW]
mov r9, rax
mov edx, 0x170
mov r8d, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rcx, [rbp + 0x1b0]
call fcn.1400524a0
nop
lea rcx, [rbp + 0x60]
call qword [0x1401a97d0]
nop
lea rcx, [rbp + 0x88]
call fcn.1400524a0
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.14016ee40
mov rbx, qword [rsp + 0x540]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret