Function at 0x10023330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042240
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [ebx + 0x18]
mov eax, str.f30ELAoRjJhXadp2E5b7Q
lea esi, [ebp - 0x138]
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], ebx
mov byte [ebp - 0x138], bl
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0x18c]
push ecx
mov byte [ebp - 4], 1
call fcn.10002580
add esp, 8
mov esi, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x124], esi
jb 0x100233c3
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x18c]
mov edi, 0xf
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x128], ebx
mov byte [ebp - 0x138], bl
cmp dword [ebp - 0x178], esi
jae 0x100233ee
lea eax, [ebp - 0x18c]
mov ecx, dword [ebp - 0x17c]
push ecx
push eax
lea edx, [ebp + 8]
push edx
call fcn.10007540
cmp eax, 0xffffffff
je 0x1002366b
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x1002366b
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x198], ebx
mov byte [ebp - 0x1a8], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10023440
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x11c]
lea esi, [ebp - 0x1a8]
call fcn.10002d20
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov ecx, esi
push ecx
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.1001f9b0
mov edi, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
add esp, 4
shr esi, 0x1f
add esi, edx
mov edx, dword [ebp - 0x128]
push esi
push edx
push edi
call fcn.10027210
add esp, 0xc
mov dword [ebp - 0x15c], 0xf
mov dword [ebp - 0x160], ebx
mov byte [ebp - 0x170], bl
mov byte [ebp - 4], 6
cmp esi, ebx
jbe 0x1002358c
mov ebx, edi
mov edi, esi
jmp 0x100234e0
lea eax, [ebp - 0x1c4]
push str._LISGRAHP__
push eax
call fcn.10016630
push eax
mov eax, 0x1004d950
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 7
call fcn.10007b50
add esp, 0xc
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x170]
mov byte [ebp - 4], 8
call fcn.100084a0
mov esi, 0x10
cmp dword [ebp - 0x140], esi
jb 0x1002353b
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 6
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x154], 0
cmp dword [ebp - 0x1b0], esi
jb 0x10023572
mov edx, dword [ebp - 0x1c4]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
add ebx, 0x1c
dec edi
jne 0x100234e0
mov eax, dword [ebp - 0x170]
xor ebx, ebx
cmp dword [ebp - 0x15c], esi
jae 0x10023592
lea eax, [ebp - 0x170]
mov ecx, eax
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], ebx
mov byte [ebp - 0x154], bl
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x100235b0
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x154]
call fcn.10002d20
mov eax, esi
mov byte [ebp - 4], 9
call fcn.1001ad30
mov byte [ebp - 4], 6
cmp dword [ebp - 0x140], 0x10
jb 0x100235ee
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
mov eax, 0x1004df8f
lea esi, [ebp + 8]
call fcn.10002d20
cmp dword [ebp - 0x15c], 0x10
jb 0x10023616
mov ecx, dword [ebp - 0x170]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x15c], 0xf
mov dword [ebp - 0x160], ebx
mov byte [ebp - 0x170], bl
cmp esi, ebx
je 0x1002364d
mov edi, dword [ebp - 0x128]
mov eax, esi
call fcn.10009080
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x194], 0x10
jb 0x10023666
mov edx, dword [ebp - 0x1a8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0x10
cmp dword [ebp - 0x178], esi
jb 0x10023683
mov eax, dword [ebp - 0x18c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x178], 0xf
mov dword [ebp - 0x17c], ebx
mov byte [ebp - 0x18c], bl
cmp dword [ebp + 0x1c], esi
jb 0x100236ab
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret