Function at 0x10024ca3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008168d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10024cf7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x10024cf2
push 0x1f49
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x1002501d
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0x4401d1b9
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x8c], 0x19716e28
mov dword [ebp - 0x14], 0xfffffffc
push 2
lea ecx, [ebp - 0x9c]
call fcn.1000e8cf
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x10024d3e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10024d5a
push dword [ebp - 0x18]
lea ecx, [ebp - 0x9c]
call fcn.1000e93c
mov dword [eax], 0xfffffff6
jmp 0x10024d37
mov dword [ebp - 0x20], 0xd76c
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
jge 0x10024d72
mov dword [ebp - 0x74], 1
jmp 0x10024d76
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x10], 0x3d5943e2
jne 0x10024d88
mov dword [ebp - 0x70], 1
jmp 0x10024d8c
and dword [ebp - 0x70], 0
imul eax, dword [ebp - 0x70], 0x4c6a
test eax, eax
jg 0x10024da3
mov dword [ebp - 0x90], 1
jmp 0x10024daa
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x10], 0x9229
jne 0x10024dbc
mov dword [ebp - 0x64], 1
jmp 0x10024dc0
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x44262821
je 0x10024dcd
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jne 0x10024de1
mov dword [ebp - 0x34], 1
jmp 0x10024de5
and dword [ebp - 0x34], 0
imul eax, dword [ebp - 0x34], 0xfffffffb
cmp eax, 0xffffffff
jge 0x10024df7
mov dword [ebp - 0x3c], 1
jmp 0x10024dfb
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x3c]
jl 0x10024e0c
mov dword [ebp - 0x6c], 1
jmp 0x10024e10
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0x6337
jle 0x10024e22
mov dword [ebp - 0x44], 1
jmp 0x10024e26
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
imul eax, dword [ebp - 0x1c], 0
cmp dword [ebp - 0x10], eax
jg 0x10024e47
cmp dword [ebp - 0x8c], 0
je 0x10024e47
mov dword [ebp - 0x60], 1
jmp 0x10024e4b
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 2
jge 0x10024e5a
mov dword [ebp - 0x4c], 1
jmp 0x10024e5e
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xa81d68c2
jae 0x10024e70
mov dword [ebp - 0x68], 1
jmp 0x10024e74
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x68]
jle 0x10024e88
cmp dword [ebp - 0x10], 0
jne 0x10024e88
and dword [ebp - 0x54], 0
jmp 0x10024e8f
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x54]
neg eax
cmp eax, 0x3222c7e1
jg 0x10024ea7
mov dword [ebp - 0x28], 1
jmp 0x10024eab
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 0
jmp 0x10024ec1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xa
jne 0x1002500e
mov dword [ebp - 0x2c], 0xfffd
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x20], 2
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x24], eax
jle 0x10024f20
mov dword [ebp - 0x5c], 1
jmp 0x10024f24
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x5c], eax
jl 0x10024f35
mov dword [ebp - 0x78], 1
jmp 0x10024f39
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x78]
cmp eax, 0xb92a
jne 0x10024f50
mov dword [ebp - 0x80], 1
jmp 0x10024f54
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x88], eax
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0xac], ecx
mov dword [ebp - 0x1c], 0xfffffff8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], eax
jle 0x10024f92
xor eax, eax
je 0x10024f92
mov dword [ebp - 0x30], 1
jmp 0x10024f96
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x30], eax
jne 0x10024fa7
mov dword [ebp - 0x38], 1
jmp 0x10024fab
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xca51c18c
je 0x10024fbd
mov dword [ebp - 0x40], 1
jmp 0x10024fc1
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x40], eax
jg 0x10024fd2
mov dword [ebp - 0x48], 1
jmp 0x10024fd6
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jne 0x10024ff3
mov dword [ebp - 0x58], 1
jmp 0x10024ff7
and dword [ebp - 0x58], 0
push 1
lea ecx, [ebp - 0x9c]
call fcn.1000e93c
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
jmp 0x10024eba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.1000e937
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret