Function at 0x1002ad10
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9f30
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4a8
mov eax, dword [0x1013306c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x47c], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x478], 0
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x474]
mov dword [ebp - 0x478], 1
push eax
push ecx
push ecx
push 0x101005c0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ecx, dword [ebp - 0x47c]
xor edi, edi
mov esi, dword [esi + 0x80]
mov dword [ebp - 0x480], eax
mov eax, 0x92492493
mov ecx, dword [ecx + 0x84]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x1002adf0
mov eax, dword [ebx + 0xc]
nop
cmp eax, dword [esi]
je 0x1002af08
inc edi
add esi, 0x1c
cmp edi, ecx
jb 0x1002ade0
mov ecx, dword [ebp - 0x47c]
call fcn.100202e0
mov eax, dword [ebp - 0x47c]
xor edi, edi
mov ecx, dword [eax + 0x84]
mov esi, dword [eax + 0x80]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x1002ae40
mov eax, dword [ebx + 0xc]
nop dword [eax]
cmp eax, dword [esi]
je 0x1002af08
inc edi
add esi, 0x1c
cmp edi, ecx
jb 0x1002ae30
push 6
push str.Common
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
call fcn.10004c40
mov dword [ebp - 0x478], 3
push 0x1011fab8
lea ecx, [ebp - 0x498]
mov byte [ebp - 4], 2
call fcn.1000f5b0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x430], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, 7
mov dword [ebp - 0x478], eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x484]
cmp edx, 0x10
jb 0x1002af26
mov ecx, dword [ebp - 0x498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002af1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b59d
jmp 0x1002af1c
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x498]
call fcn.10004880
jmp 0x1002ae6d
push edx
push ecx
call fcn.100713c7
add esp, 8
cmp dword [ebp - 0x42c], 0x10
lea esi, [ebp - 0x440]
lea edx, [ebp - 0x440]
mov dword [ebp - 0x488], 0
cmovae esi, dword [ebp - 0x440]
lea ecx, [ebp - 0x470]
add esi, dword [ebp - 0x430]
cmp dword [ebp - 0x42c], 0x10
mov dword [ebp - 0x484], 0xf
cmovae edx, dword [ebp - 0x440]
xor eax, eax
mov word [ebp - 0x470], ax
mov eax, esi
sub eax, edx
mov byte [ebp - 0x498], 0
push eax
mov dword [ebp - 0x47c], edx
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 7
call fcn.1000f2b0
push dword [ebp - 0x4a0]
lea ecx, [ebp - 0x470]
push esi
push dword [ebp - 0x47c]
call fcn.10051bc0
cmp dword [ebp - 0x480], 0
mov byte [ebp - 4], 5
jl 0x1002b1d6
mov edx, dword [ebp - 0x474]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002afd6
mov edi, dword [ebp - 0x49c]
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10004ac0
lea eax, [ebx + 0x10]
mov edx, str.ASUSArmourySDK_
push eax
lea ecx, [ebp - 0x4b8]
call fcn.1004ef90
add esp, 4
push 1
push 0x1011e2a8
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10009790
mov dword [ebp - 0x488], 0
xor ecx, ecx
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x478], 0xf
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x498], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x488], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x470]
cmp dword [ebp - 0x45c], 8
lea ecx, [ebp - 0x498]
push dword [ebp - 0x460]
cmovae eax, dword [ebp - 0x470]
push eax
call fcn.10009790
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, 0x1f
movups xmmword [ebp - 0x458], xmm1
mov dword [ebp - 0x478], eax
movq qword [ebp - 0x448], xmm0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x458]
cmp dword [ebp - 0x444], 8
push dword [ebp - 0x448]
movd eax, xmm1
cmovae ecx, eax
push ecx
mov ecx, edi
call fcn.10009790
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x444]
cmp edx, 8
jb 0x1002b12e
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b124
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b5a2
push edx
push ecx
call fcn.100713c7
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x484]
cmp edx, 8
jb 0x1002b172
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b168
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b5a7
push edx
push ecx
call fcn.100713c7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4a4]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
cmp edx, 8
jb 0x1002b39b
mov ecx, dword [ebp - 0x4b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b391
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b5ac
jmp 0x1002b391
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.100cdcc0
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x208
push 0
push eax
call fcn.100cdcc0
mov eax, dword [0x10137b08]
add esp, 0xc
test eax, eax
je 0x1002b275
push 0x103
lea ecx, [ebp - 0x220]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002b227
sub ecx, edx
sar ecx, 1
cmp byte [ebp + ecx*2 - 0x220], 0x5c
je 0x1002b24b
dec ecx
cmp byte [ebp + ecx*2 - 0x220], 0x5c
jne 0x1002b240
inc ecx
lea eax, [ebp - 0x220]
push ecx
push eax
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.100dd586
add esp, 0x10
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov dword [ebp - 0x448], 0
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002b2a0
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x458]
call fcn.10004ac0
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x4b8]
call fcn.1000f170
mov edi, dword [ebp - 0x49c]
mov esi, eax
add esp, 4
cmp edi, esi
je 0x1002b317
mov ecx, edi
call fcn.10004680
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x4a4]
cmp edx, 8
jb 0x1002b357
mov ecx, dword [ebp - 0x4b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b34d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b5b1
push edx
push ecx
call fcn.100713c7
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x444]
cmp edx, 8
jb 0x1002b39b
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b391
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b5b6
push edx
push ecx
call fcn.100713c7
add esp, 8
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1002b3a5
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.100580a0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x1002b3be
mov eax, dword [eax]
push eax
call fcn.10058280
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4a4]
cmp edx, 0x10
jb 0x1002b402
mov ecx, dword [ebp - 0x4b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b3f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b5bb
ret
add dword [eax], eax
invalid
push edx
push ecx
call fcn.100713c7
add esp, 8
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1002b40c
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.100580a0
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov esi, esp
mov ecx, eax
mov dword [ebp - 0x480], esi
push 0x23
push str._UserDefaultFilePath__Open_folder:
push 0
call fcn.10007fa0
or dword [ebp - 0x478], 0x20
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.10017ef0
mov edx, dword [ebp - 0x4a4]
add esp, 0x18
cmp edx, 0x10
jb 0x1002b4b0
mov ecx, dword [ebp - 0x4b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b4a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b5c0
push edx
push ecx
call fcn.100713c7
add esp, 8
mov edx, dword [ebp - 0x45c]
cmp edx, 8
jb 0x1002b4f0
mov ecx, dword [ebp - 0x470]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b4e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b5c5
push edx
push ecx
call fcn.100713c7
add esp, 8
mov edx, dword [ebp - 0x42c]
cmp edx, 0x10
jb 0x1002b52a
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b520
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b5ca
push edx
push ecx
call fcn.100713c7
add esp, 8
mov edx, dword [ebx + 0x24]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
cmp edx, 8
jb 0x1002b57b
mov ecx, dword [ebx + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b571
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b5cf
push edx
push ecx
call fcn.100713c7
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10070d87
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20
call fcn.100d4798
call fcn.100d4798
call fcn.100d4798
call fcn.100d4798
call fcn.100d4798
call fcn.100d4798
call fcn.100d4798
call fcn.100d4798
call fcn.100d4798
call fcn.100d4798
call fcn.100d4798
int3