Function at 0x10048529
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10048580
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x5c]
push 0x2cc4
push dword [ebp - 0x4c]
push 0
push dword [ebp - 0x24]
push 0x1135
push dword [ebp - 0x64]
push dword [ebp - 0x2c]
call fcn.10067d09
add esp, 0x20
jmp 0x100486fa
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x100486f0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x14], 0x29b6
mov dword [ebp - 0x28], 0x1000be08
cmp dword [ebp - 0x14], 0x2d8c
jle 0x100486a3
and dword [ebp - 4], 0
jmp 0x100485fe
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x379d
jge 0x100486a3
and dword [ebp - 8], 0
jmp 0x10048618
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x299c
jge 0x1004869e
and dword [ebp - 0x10], 0
jmp 0x1004862e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1ccd
jge 0x10048699
and dword [ebp - 0xc], 0
jmp 0x10048644
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x7b1e
jge 0x10048697
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sub eax, edx
mov ecx, dword [ebp - 0xc]
sar eax, cl
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x90]
call fcn.10010ffe
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
call fcn.1001fbf4
push eax
call fcn.100714f3
pop ecx
lea ecx, [ebp - 0x90]
call fcn.1001fbea
jmp 0x1004863d
jmp 0x10048627
jmp 0x10048611
jmp 0x100485f7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x14], 0x2900
jge 0x100486bb
push dword [ebp - 0x28]
call fcn.100714f3
pop ecx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
push dword [eax]
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
push dword [eax]
mov eax, dword [ebp - 0x60]
push dword [eax]
push 0
mov eax, dword [ebp - 0x68]
push dword [eax]
call fcn.100525ff
add esp, 0x18
jmp 0x100486fa
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esp, ebp
pop ebp
ret