Function at 0x493de8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x493df0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x494228
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4644b8]
call fcn.004645b8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4941f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.00464658
mov cl, 1
mov edx, 0x494240
mov eax, dword [ebp - 8]
call fcn.004646bc
call fcn.0040a928
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xc]
call fcn.0040b5f0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [0x4975b0]
mov eax, dword [eax]
mov ecx, 0x494260
mov edx, dword [ebp - 0xc]
call fcn.0048b244
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
call fcn.00404a04
mov eax, 0x105
call fcn.0040275c
mov ebx, eax
push 0x105
push ebx
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404b5c
lea eax, [ebp - 0x40]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404e7c
mov eax, dword [ebp - 0x40]
call fcn.00404e1c
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00404b5c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c24
mov ecx, eax
sub ecx, 3
mov edx, 4
mov eax, dword [ebp - 0x14]
call fcn.00404e7c
lea eax, [ebp - 0x48]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x494274
call fcn.00404f60
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404e7c
mov eax, dword [ebp - 0x48]
call fcn.00404e1c
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00404b5c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x10]
call fcn.00404c2c
lea eax, [ebp - 0x14]
mov ecx, 0x494280
mov edx, dword [ebp - 0x10]
call fcn.00404c70
lea eax, [ebp - 0x18]
mov ecx, 0x494294
mov edx, dword [ebp - 0x10]
call fcn.00404c70
lea eax, [ebp - 0x10]
mov edx, 0x4942ac
call fcn.00404c2c
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049470c
fstp qword [ebp - 0x20]
wait
xor ecx, ecx
mov edx, 0x4942c0
mov eax, dword [ebp - 4]
call fcn.0049470c
fstp qword [ebp - 0x28]
wait
mov edx, 0x4942d4
mov eax, dword [ebp - 8]
call fcn.004649ec
test al, al
jne 0x493fec
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0x4c]
call fcn.0040b5f0
mov eax, dword [ebp - 0x4c]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x50]
call fcn.0040b5f0
mov edx, dword [ebp - 0x50]
pop eax
call fcn.00404d68
je 0x493fec
mov ecx, dword [ebp - 0xc]
mov edx, 0x4942d4
mov eax, dword [ebp - 8]
call fcn.00464858
push dword [ebp - 0x24]
push dword [ebp - 0x28]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004947bc
call fcn.0040a928
add esp, 0xfffffff8
fstp qword [esp]
wait
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004947bc
jmp 0x49404c
mov edx, 0x4942d4
mov eax, dword [ebp - 8]
call fcn.004649ec
test al, al
jne 0x49404c
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0049470c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xc]
call fcn.0040b5f0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [0x4975b0]
mov eax, dword [eax]
mov ecx, 0x494260
mov edx, dword [ebp - 0xc]
call fcn.0048b244
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0xc]
call fcn.00404a04
mov ecx, dword [ebp - 0xc]
mov edx, 0x4942d4
mov eax, dword [ebp - 8]
call fcn.00464858
xor eax, eax
push ebp
push 0x4941ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, 0x4942d4
mov eax, dword [ebp - 8]
call fcn.00464884
lea eax, [ebp - 0x58]
push eax
mov eax, dword [0x4975b0]
mov eax, dword [eax]
mov ecx, 0x494260
mov edx, dword [ebp - 0xc]
call fcn.0048b0c0
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0xc]
call fcn.00404a04
xor eax, eax
push ebp
push 0x4940c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040be0c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x5c]
call fcn.0040b5f0
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0xc]
call fcn.00404a04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4940de
mov eax, dword [ebp - 0xc]
call fcn.0040be0c
fstp qword [ebp - 0x64]
wait
call fcn.0040a928
fsub qword [ebp - 0x64]
call fcn.00402c64
mov edx, dword [ebp - 4]
mov dword [edx + 0x3ac], eax
xor ecx, ecx
mov edx, 0x4942c0
mov eax, dword [ebp - 4]
call fcn.0049470c
fstp qword [ebp - 0x30]
wait
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049470c
fstp qword [ebp - 0x38]
wait
fld qword [ebp - 0x30]
fcomp qword [ebp - 0x38]
fnstsw ax
sahf
jne 0x49413c
mov eax, dword [ebp - 4]
mov dword [eax + 0x3ac], 0x1f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3ac], 0x1e
jle 0x4941a1
xor ecx, ecx
mov edx, 0x4942c0
mov eax, dword [ebp - 4]
call fcn.0049470c
fstp qword [ebp - 0x30]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004947bc
push 0x30
push 0x4942f4
push 0x4942fc
mov eax, dword [ebp - 4]
call fcn.00446b90
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [ebp - 4]
mov byte [eax + 0x3a9], 1
mov eax, dword [0x4975b0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xe8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4941db
mov eax, dword [ebp - 8]
call fcn.00464628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494200
mov eax, dword [ebp - 8]
call fcn.00403b7c
ret