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

Disassembly:
push 0xffffffffffffffff
push 0x100f3560
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10139d00]
xor eax, esp
push eax
lea eax, [esp + 0x1e8]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0xe1]
push ebx
push eax
mov esi, ecx
mov edi, edx
mov byte [esp + 0xe8], bl
call fcn.100d4cc0
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
add esi, 8
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add esp, 0xc
add ecx, edx
je 0x100331c1
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], eax
cmp dword [esi + 0xc], eax
jbe 0x1003319d
call fcn.100d13c5
mov ebx, dword [esi + 0xc]
mov ebp, dword [esi]
cmp ebx, dword [esi + 0x10]
jbe 0x100331ac
call fcn.100d13c5
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
push edx
push ebp
push ebx
push eax
lea ebx, [esp + 0x28]
call fcn.10030010
xor ebx, ebx
or ebp, 0xffffffff
cmp edi, ebx
je 0x1003328e
push ebx
push 0x10128b0a
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
call fcn.10002570
lea eax, [esp + 0x40]
mov dword [esp + 0x1f0], ebx
push 3
mov dword [esp + 0x40], eax
push edi
lea eax, [esp + 0x44]
call fcn.10001dc0
mov byte [esp + 0x1f0], 1
mov edx, dword [esp + 0x3c]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10033223
sub eax, edi
push eax
push edx
lea ecx, [esp + 0xc8]
call fcn.10002570
mov byte [esp + 0x1f0], bl
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x10033256
push eax
call fcn.100d1800
add esp, 4
lea edx, [esp + 0xc0]
push edx
mov ebx, esi
call fcn.1002f6d0
mov edi, 0x10
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], edi
jb 0x1003328a
mov eax, dword [esp + 0xc4]
push eax
call fcn.100d072d
add esp, 4
xor ebx, ebx
jmp 0x10033293
mov edi, 0x10
push 3
push 0x1012d634
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
call fcn.10002570
lea ecx, [esp + 0xc0]
push ecx
mov ebx, esi
mov dword [esp + 0x1f4], 2
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], edi
jb 0x100332f9
mov edx, dword [esp + 0xc4]
push edx
call fcn.100d072d
add esp, 4
xor eax, eax
push 3
push 0x1012d638
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe0], 0xf
mov dword [esp + 0xdc], eax
mov byte [esp + 0xcc], al
call fcn.10002570
lea eax, [esp + 0xc0]
push eax
mov ebx, esi
mov dword [esp + 0x1f4], 3
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], edi
jb 0x10033361
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.100d072d
add esp, 4
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea edx, [esp + 0xdc]
push edx
push 1
xor ebx, ebx
push ebx
push 0x23
push ebx
call edi
test eax, eax
jl 0x100333ff
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100333a4
sub eax, edx
push eax
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xc8]
call fcn.10002570
lea ecx, [esp + 0xc0]
push ecx
mov ebx, esi
mov dword [esp + 0x1f4], 4
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x100333fd
mov edx, dword [esp + 0xc4]
push edx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea eax, [esp + 0xe0]
push ebx
push eax
call fcn.100d4cc0
add esp, 0xc
lea ecx, [esp + 0xdc]
push ecx
push 1
push ebx
push 0x1c
push ebx
call edi
test eax, eax
jl 0x100334ab
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10033450
sub eax, edx
push eax
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0xc8]
call fcn.10002570
lea eax, [esp + 0xc0]
push eax
mov ebx, esi
mov dword [esp + 0x1f4], 5
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x100334a9
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea edx, [esp + 0xe0]
push ebx
push edx
call fcn.100d4cc0
add esp, 0xc
lea eax, [esp + 0xdc]
push eax
push 1
push ebx
push 0x18
push ebx
call edi
test eax, eax
jl 0x1003355b
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10033500
sub eax, edx
push eax
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0xc8]
call fcn.10002570
lea edx, [esp + 0xc0]
push edx
mov ebx, esi
mov dword [esp + 0x1f4], 6
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x10033559
mov eax, dword [esp + 0xc4]
push eax
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea ecx, [esp + 0xe0]
push ebx
push ecx
call fcn.100d4cc0
add esp, 0xc
lea edx, [esp + 0xdc]
push edx
push 1
push ebx
push 0x19
push ebx
call edi
test eax, eax
jl 0x10033603
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100335a8
sub eax, edx
push eax
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xc8]
call fcn.10002570
lea ecx, [esp + 0xc0]
push ecx
mov ebx, esi
mov dword [esp + 0x1f4], 7
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x10033601
mov edx, dword [esp + 0xc4]
push edx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea eax, [esp + 0xe0]
push ebx
push eax
call fcn.100d4cc0
add esp, 0xc
lea ecx, [esp + 0xdc]
push ecx
push 1
push ebx
push 5
push ebx
call edi
test eax, eax
jl 0x100336ab
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10033650
sub eax, edx
push eax
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0xc8]
call fcn.10002570
lea eax, [esp + 0xc0]
push eax
mov ebx, esi
mov dword [esp + 0x1f4], 8
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x100336a9
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea edx, [esp + 0xe0]
push ebx
push edx
call fcn.100d4cc0
add esp, 0xc
lea eax, [esp + 0xdc]
push eax
push 1
push ebx
push ebx
push ebx
call edi
test eax, eax
jl 0x10033752
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100336f7
sub eax, edx
push eax
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0xc8]
call fcn.10002570
lea edx, [esp + 0xc0]
push edx
mov ebx, esi
mov dword [esp + 0x1f4], 9
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x10033750
mov eax, dword [esp + 0xc4]
push eax
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea ecx, [esp + 0xe0]
push ebx
push ecx
call fcn.100d4cc0
add esp, 0xc
lea edx, [esp + 0xdc]
push edx
push 1
push ebx
push 0xd
push ebx
call edi
test eax, eax
jl 0x100337fb
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100337a0
sub eax, edx
push eax
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xc8]
call fcn.10002570
lea ecx, [esp + 0xc0]
push ecx
mov ebx, esi
mov dword [esp + 0x1f4], 0xa
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x100337f9
mov edx, dword [esp + 0xc4]
push edx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea eax, [esp + 0xe0]
push ebx
push eax
call fcn.100d4cc0
add esp, 0xc
lea ecx, [esp + 0xdc]
push ecx
push 1
push ebx
push 0xe
push ebx
call edi
test eax, eax
jl 0x100338a3
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10033848
sub eax, edx
push eax
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0xc8]
call fcn.10002570
lea eax, [esp + 0xc0]
push eax
mov ebx, esi
mov dword [esp + 0x1f4], 0xb
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x100338a1
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea edx, [esp + 0xe0]
push ebx
push edx
call fcn.100d4cc0
add esp, 0xc
lea eax, [esp + 0xdc]
push eax
push 1
push ebx
push 0x35
push ebx
call edi
test eax, eax
jl 0x1003394b
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100338f0
sub eax, edx
push eax
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0xc8]
call fcn.10002570
lea edx, [esp + 0xc0]
push edx
mov ebx, esi
mov dword [esp + 0x1f4], 0xc
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x10033949
mov eax, dword [esp + 0xc4]
push eax
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea ecx, [esp + 0xe0]
push ebx
push ecx
call fcn.100d4cc0
add esp, 0xc
lea edx, [esp + 0xdc]
push edx
push 1
push ebx
push 0x36
push ebx
call edi
test eax, eax
jl 0x100339f3
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10033998
sub eax, edx
push eax
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xc8]
call fcn.10002570
lea ecx, [esp + 0xc0]
push ecx
mov ebx, esi
mov dword [esp + 0x1f4], 0xd
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x100339f1
mov edx, dword [esp + 0xc4]
push edx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea eax, [esp + 0xe0]
push ebx
push eax
call fcn.100d4cc0
add esp, 0xc
lea ecx, [esp + 0xdc]
push ecx
push 1
push ebx
push 0x37
push ebx
call edi
test eax, eax
jl 0x10033a9b
lea eax, [esp + 0xdc]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10033a40
sub eax, edx
push eax
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0xc8]
call fcn.10002570
lea eax, [esp + 0xc0]
push eax
mov ebx, esi
mov dword [esp + 0x1f4], 0xe
call fcn.1002f6d0
mov dword [esp + 0x1f0], ebp
cmp dword [esp + 0xd8], 0x10
jb 0x10033a99
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.100d072d
add esp, 4
xor ebx, ebx
push 0x104
lea edx, [esp + 0xe0]
push ebx
push edx
call fcn.100d4cc0
add esp, 0xc
lea eax, [esp + 0xdc]
push eax
push 1
push ebx
push 0x28
push ebx
call edi
test eax, eax
jl 0x10033b22
mov edi, 0xf
lea eax, [esp + 0xdc]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10033ae0
sub eax, edx
push eax
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x28]
call fcn.10002570
lea edx, [esp + 0x20]
push edx
mov ebx, esi
mov dword [esp + 0x1f4], edi
call fcn.1002f6d0
cmp dword [esp + 0x38], 0x10
jb 0x10033b22
mov eax, dword [esp + 0x24]
push eax
call fcn.100d072d
add esp, 4
mov ecx, dword [esp + 0x1e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.100d0738
add esp, 0x1e0
ret