Function at 0x1002cd60
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f29b6
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x1e0], eax
push ebx
push esi
push edi
mov eax, dword [0x10139d00]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0xe9]
push ebx
push eax
mov edi, ecx
mov byte [esp + 0xf0], bl
call fcn.100d4cc0
mov ecx, dword [0x101e2364]
mov eax, dword [0x101e2360]
mov edx, ecx
sub edx, eax
sar edx, 5
add esp, 0xc
test edx, edx
jbe 0x1002ce1e
mov dword [esp + 0x34], ecx
cmp eax, ecx
jbe 0x1002cdef
call fcn.100d13c5
mov ecx, dword [0x101e2364]
mov eax, dword [0x101e2360]
mov esi, dword [0x101e2354]
mov ebx, eax
cmp eax, ecx
jbe 0x1002ce00
call fcn.100d13c5
mov eax, dword [esp + 0x34]
mov ecx, dword [0x101e2354]
push eax
push esi
push ebx
push ecx
lea ebx, [esp + 0x48]
mov esi, 0x101e2354
call fcn.1002ff00
xor ebx, ebx
cmp edi, ebx
je 0x1002cf93
lea edx, [esp + 0x34]
push edx
mov ecx, 0x10128b0a
call fcn.1002f350
lea eax, [esp + 0x64]
mov dword [esp + 0x200], ebx
push 3
mov dword [esp + 0x64], eax
push edi
lea eax, [esp + 0x68]
call fcn.10001dc0
mov byte [esp + 0x200], 1
mov edx, dword [esp + 0x60]
cmp edx, ebx
jne 0x1002ce64
xor eax, eax
jmp 0x1002ce79
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002ce70
sub eax, esi
mov edi, eax
push edx
lea eax, [esp + 0x38]
call fcn.10030c80
mov byte [esp + 0x200], bl
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x64]
cmp eax, ecx
je 0x1002cea1
push eax
call fcn.100d1800
add esp, 4
mov eax, dword [esp + 0x34]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov esi, esp
call fcn.1002ffa0
add eax, 0x10
mov dword [esi], eax
lea esi, [esp + 0x40]
call fcn.10030d70
add esp, 8
mov edi, eax
mov byte [esp + 0x200], 2
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1002cee8
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.10002570
mov edx, dword [edi + 4]
mov dword [esp + 0x30], edx
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov byte [esp + 0x200], 3
call fcn.1002fa20
cmp dword [esp + 0x2c], 0x10
jb 0x1002cf2d
mov eax, dword [esp + 0x18]
push eax
call fcn.100d072d
add esp, 4
xor eax, eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x18], al
mov byte [esp + 0x200], al
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002cf66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x200], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002cf91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov eax, 0x1012d634
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
jmp 0x1002cfb0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002cfb0
sub eax, edx
push eax
push 0x1012d634
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 1
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 4
call fcn.1002fa20
mov esi, 0x10
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], esi
jb 0x1002d00c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100d072d
add esp, 4
xor ebx, ebx
mov eax, 0x1012d638
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d026
sub eax, edx
push eax
push 0x1012d638
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 1
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 5
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], esi
jb 0x1002d07d
mov edx, dword [esp + 0x18]
push edx
call fcn.100d072d
add esp, 4
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [esp + 0xe4]
push eax
push 1
xor ebx, ebx
push ebx
push 0x23
push ebx
call esi
test eax, eax
jl 0x1002d110
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d0b3
sub eax, edx
push eax
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 1
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 6
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d10e
mov edx, dword [esp + 0x18]
push edx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea eax, [esp + 0xe8]
push ebx
push eax
call fcn.100d4cc0
add esp, 0xc
lea ecx, [esp + 0xe4]
push ecx
push 1
push ebx
push 0x1c
push ebx
call esi
test eax, eax
jl 0x1002d1b1
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d154
sub eax, edx
push eax
lea edx, [esp + 0xe8]
push edx
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 1
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 7
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d1af
mov eax, dword [esp + 0x18]
push eax
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea ecx, [esp + 0xe8]
push ebx
push ecx
call fcn.100d4cc0
add esp, 0xc
lea edx, [esp + 0xe4]
push edx
push 1
push ebx
push 0x18
push ebx
call esi
test eax, eax
jl 0x1002d252
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d1f5
sub eax, edx
push eax
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 1
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 8
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d250
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea edx, [esp + 0xe8]
push ebx
push edx
call fcn.100d4cc0
add esp, 0xc
lea eax, [esp + 0xe4]
push eax
push 1
push ebx
push 0x19
push ebx
call esi
test eax, eax
jl 0x1002d2f3
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d296
sub eax, edx
push eax
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 1
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 9
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d2f1
mov edx, dword [esp + 0x18]
push edx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea eax, [esp + 0xe8]
push ebx
push eax
call fcn.100d4cc0
add esp, 0xc
lea ecx, [esp + 0xe4]
push ecx
push 1
push ebx
push 5
push ebx
call esi
test eax, eax
jl 0x1002d394
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d337
sub eax, edx
push eax
lea edx, [esp + 0xe8]
push edx
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 1
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 0xa
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d392
mov eax, dword [esp + 0x18]
push eax
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea ecx, [esp + 0xe8]
push ebx
push ecx
call fcn.100d4cc0
add esp, 0xc
lea edx, [esp + 0xe4]
push edx
push 1
push ebx
push ebx
push ebx
call esi
test eax, eax
jl 0x1002d434
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d3d7
sub eax, edx
push eax
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 2
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 0xb
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d432
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea edx, [esp + 0xe8]
push ebx
push edx
call fcn.100d4cc0
add esp, 0xc
lea eax, [esp + 0xe4]
push eax
push 1
push ebx
push 0xd
push ebx
call esi
test eax, eax
jl 0x1002d4d5
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d478
sub eax, edx
push eax
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 2
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 0xc
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d4d3
mov edx, dword [esp + 0x18]
push edx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea eax, [esp + 0xe8]
push ebx
push eax
call fcn.100d4cc0
add esp, 0xc
lea ecx, [esp + 0xe4]
push ecx
push 1
push ebx
push 0xe
push ebx
call esi
test eax, eax
jl 0x1002d57d
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d520
sub eax, edx
push eax
lea edx, [esp + 0xe8]
push edx
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 2
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 0xd
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d57b
mov eax, dword [esp + 0x18]
push eax
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea ecx, [esp + 0xe8]
push ebx
push ecx
call fcn.100d4cc0
add esp, 0xc
lea edx, [esp + 0xe4]
push edx
push 1
push ebx
push 0x35
push ebx
call esi
test eax, eax
jl 0x1002d61e
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d5c1
sub eax, edx
push eax
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 2
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 0xe
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d61c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea edx, [esp + 0xe8]
push ebx
push edx
call fcn.100d4cc0
add esp, 0xc
lea eax, [esp + 0xe4]
push eax
push 1
push ebx
push 0x36
push ebx
call esi
test eax, eax
jl 0x1002d6bf
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d662
sub eax, edx
push eax
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 2
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 0xf
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d6bd
mov edx, dword [esp + 0x18]
push edx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea eax, [esp + 0xe8]
push ebx
push eax
call fcn.100d4cc0
add esp, 0xc
lea ecx, [esp + 0xe4]
push ecx
push 1
push ebx
push 0x37
push ebx
call esi
test eax, eax
jl 0x1002d760
lea eax, [esp + 0xe4]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d703
sub eax, edx
push eax
lea edx, [esp + 0xe8]
push edx
lea ecx, [esp + 0x1c]
call fcn.10002570
mov dword [esp + 0x30], 2
lea ebx, [esp + 0x14]
mov edi, 0x101e2354
mov dword [esp + 0x200], 0x10
call fcn.1002fa20
mov dword [esp + 0x200], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1002d75e
mov eax, dword [esp + 0x18]
push eax
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea ecx, [esp + 0xe8]
push ebx
push ecx
call fcn.100d4cc0
add esp, 0xc
lea edx, [esp + 0xe4]
push edx
push 1
push ebx
push 0x28
push ebx
call esi
test eax, eax
jl 0x1002d7f4
lea eax, [esp + 0xe4]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002d7a4
sub eax, edx
push eax
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x48]
call fcn.10002570
mov dword [esp + 0x5c], 1
lea ebx, [esp + 0x40]
mov edi, 0x101e2354
mov dword [esp + 0x200], 0x11
call fcn.1002fa20
cmp dword [esp + 0x58], 0x10
jb 0x1002d7f4
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100d072d
add esp, 4
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.100d0738
mov esp, ebp
pop ebp
ret