Function at 0x484260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1034
call fcn.00428570
mov eax, dword [0x4be034]
xor eax, esp
mov dword [esp + 0x1030], eax
push ebx
push esi
push edi
push 0x800
lea eax, [esp + 0x83c]
mov bl, cl
push 0
push eax
mov byte [esp + 0x1b], bl
call fcn.00429200
add esp, 0xc
lea eax, [esp + 0x38]
push 0x800
push 0
push eax
call fcn.00429200
add esp, 0xc
lea eax, [esp + 0x838]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x800
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
push 0
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], 0
push eax
lea eax, [esp + 0x48]
mov word [esp + 0x44], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x3c], xmm0
call fcn.0043a673
lea edi, [esp + 0x3c]
add esp, 0x14
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x484310
mov eax, dword [0x4ac9b0]
mov dword [edi], eax
lea eax, [esp + 0x10]
push eax
call fcn.004336ca
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push eax
call fcn.0043cc73
movsd xmm2, qword [0x4ae768]
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
xorps xmm0, xmm0
test edx, edx
jne 0x48436a
xorps xmm4, xmm4
jmp 0x48443d
mov ecx, dword [edx + 0x14]
add ecx, 0x76c
cmp ecx, 0x64
jge 0x48437d
cmp ecx, 0x1e
jge 0x484385
lea eax, [ecx - 0x65]
cmp eax, 0x62
ja 0x48438d
add ecx, 0x76c
jmp 0x484398
cmp ecx, 0x1e
jge 0x484398
add ecx, 0x7d0
mov edi, dword [edx + 0x10]
lea eax, [ecx - 1]
inc edi
cmp edi, 2
cmovle ecx, eax
mov eax, 0x51eb851f
imul ecx, ecx, 0x8ead
imul ecx
mov eax, 0xf8a
mov ecx, 0x132
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, 2
cmovle ecx, eax
imul eax, edi, 0x132
add ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
add esi, edx
mov ecx, edx
mov edx, dword [esp + 0x20]
shr ecx, 0x1f
add ecx, esi
mov eax, dword [edx + 0xc]
movd xmm0, dword [edx]
add eax, 0xfff568ea
add eax, ecx
mov ecx, dword [edx + 8]
shl ecx, 4
sub ecx, dword [edx + 8]
cvtdq2pd xmm0, xmm0
movd xmm4, eax
mov eax, dword [edx + 4]
cvtdq2pd xmm4, xmm4
lea eax, [eax + ecx*4]
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 2
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm0
xorps xmm0, xmm0
divsd xmm1, xmm2
addsd xmm4, xmm1
addsd xmm4, qword [0x4ae700]
movzx esi, bl
imul ebx, esi, 0xe10
cmp byte [esp + 0xf], 0
mov dword [esp + 0x24], esi
jbe 0x48445d
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movaps xmm3, xmm0
lea ecx, [esp + 0x838]
movaps xmm2, xmm4
mov dl, 1
call fcn.0040f9d2
test al, al
jne 0x48472e
lea eax, [esp + 0x18]
push eax
call fcn.004336ca
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ecx
push eax
call fcn.0043cc73
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
test edx, edx
jne 0x4844bd
movsd xmm2, qword [0x4ae768]
xorps xmm4, xmm4
jmp 0x484599
mov ecx, dword [edx + 0x14]
add ecx, 0x76c
cmp ecx, 0x64
jge 0x4844d0
cmp ecx, 0x1e
jge 0x4844d8
lea eax, [ecx - 0x65]
cmp eax, 0x62
ja 0x4844e0
add ecx, 0x76c
jmp 0x4844eb
cmp ecx, 0x1e
jge 0x4844eb
add ecx, 0x7d0
mov edi, dword [edx + 0x10]
lea eax, [ecx - 1]
inc edi
movsd xmm2, qword [0x4ae768]
cmp edi, 2
cmovle ecx, eax
mov eax, 0x51eb851f
imul ecx, ecx, 0x8ead
imul ecx
mov eax, 0xf8a
mov ecx, 0x132
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, 2
cmovle ecx, eax
imul eax, edi, 0x132
add ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
add esi, edx
mov ecx, edx
mov edx, dword [esp + 0x20]
shr ecx, 0x1f
add ecx, esi
mov esi, dword [esp + 0x24]
mov eax, dword [edx + 0xc]
movd xmm0, dword [edx]
add eax, 0xfff568ea
add eax, ecx
mov ecx, dword [edx + 8]
shl ecx, 4
sub ecx, dword [edx + 8]
cvtdq2pd xmm0, xmm0
movd xmm4, eax
mov eax, dword [edx + 4]
cvtdq2pd xmm4, xmm4
lea eax, [eax + ecx*4]
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 2
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm0
divsd xmm1, xmm2
addsd xmm4, xmm1
addsd xmm4, qword [0x4ae700]
cmp byte [esp + 0xf], 0
jbe 0x4845b4
imul eax, esi, 0xe10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
jmp 0x4845b7
xorps xmm0, xmm0
movaps xmm3, xmm0
lea ecx, [esp + 0x38]
movaps xmm2, xmm4
xor dl, dl
call fcn.0040f9d2
test al, al
jne 0x48472e
lea eax, [esp + 0x18]
push eax
call fcn.004336ca
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ecx
push eax
call fcn.0043cc73
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x484614
movsd xmm2, qword [0x4ae768]
xorps xmm4, xmm4
jmp 0x4846ec
mov edx, dword [ecx + 0x14]
add edx, 0x76c
cmp edx, 0x64
jge 0x484627
cmp edx, 0x1e
jge 0x48462f
lea eax, [edx - 0x65]
cmp eax, 0x62
ja 0x484637
add edx, 0x76c
jmp 0x484642
cmp edx, 0x1e
jge 0x484642
add edx, 0x7d0
mov edi, dword [ecx + 0x10]
mov eax, 0x51eb851f
lea ecx, [edx - 1]
movsd xmm2, qword [0x4ae768]
inc edi
cmp edi, 2
cmovle edx, ecx
imul ecx, edx, 0x8ead
imul ecx
mov eax, 0xf8a
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, 2
mov edx, 0x132
cmovle edx, eax
imul ecx, edi, 0x132
mov eax, 0x66666667
add edx, ecx
imul edx
sar edx, 2
add esi, edx
mov ecx, edx
mov edx, dword [esp + 0x24]
shr ecx, 0x1f
add ecx, esi
mov eax, dword [edx + 0xc]
movd xmm0, dword [edx]
add eax, 0xfff568ea
add eax, ecx
mov ecx, dword [edx + 8]
shl ecx, 4
sub ecx, dword [edx + 8]
cvtdq2pd xmm0, xmm0
movd xmm4, eax
mov eax, dword [edx + 4]
cvtdq2pd xmm4, xmm4
lea eax, [eax + ecx*4]
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 2
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm0
divsd xmm1, xmm2
addsd xmm4, xmm1
addsd xmm4, qword [0x4ae700]
cmp byte [esp + 0xf], 0
xorps xmm0, xmm0
jbe 0x484702
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movaps xmm3, xmm0
lea ecx, [esp + 0x28]
movaps xmm2, xmm4
xor dl, dl
call fcn.0040f9d2
test al, al
jne 0x48472e
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1030]
xor ecx, esp
call fcn.004272a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x103c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004272a5
mov esp, ebp
pop ebp
ret