Function at 0x482650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1034
call fcn.004285b0
mov eax, dword [0x4bd034]
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.00429240
add esp, 0xc
lea eax, [esp + 0x38]
push 0x800
push 0
push eax
call fcn.00429240
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.00438b8d
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 0x482700
mov eax, dword [0x4ab830]
mov dword [edi], eax
lea eax, [esp + 0x10]
push eax
call fcn.00433651
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.0043b03f
movsd xmm2, qword [0x4ad5e8]
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
xorps xmm0, xmm0
test edx, edx
jne 0x48275a
xorps xmm4, xmm4
jmp 0x48282d
mov ecx, dword [edx + 0x14]
add ecx, 0x76c
cmp ecx, 0x64
jge 0x48276d
cmp ecx, 0x1e
jge 0x482775
lea eax, [ecx - 0x65]
cmp eax, 0x62
ja 0x48277d
add ecx, 0x76c
jmp 0x482788
cmp ecx, 0x1e
jge 0x482788
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 [0x4ad580]
movzx esi, bl
imul ebx, esi, 0xe10
cmp byte [esp + 0xf], 0
mov dword [esp + 0x24], esi
jbe 0x48284d
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movaps xmm3, xmm0
lea ecx, [esp + 0x838]
movaps xmm2, xmm4
mov dl, 1
call fcn.0040fa02
test al, al
jne 0x482b1e
lea eax, [esp + 0x18]
push eax
call fcn.00433651
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.0043b03f
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
test edx, edx
jne 0x4828ad
movsd xmm2, qword [0x4ad5e8]
xorps xmm4, xmm4
jmp 0x482989
mov ecx, dword [edx + 0x14]
add ecx, 0x76c
cmp ecx, 0x64
jge 0x4828c0
cmp ecx, 0x1e
jge 0x4828c8
lea eax, [ecx - 0x65]
cmp eax, 0x62
ja 0x4828d0
add ecx, 0x76c
jmp 0x4828db
cmp ecx, 0x1e
jge 0x4828db
add ecx, 0x7d0
mov edi, dword [edx + 0x10]
lea eax, [ecx - 1]
inc edi
movsd xmm2, qword [0x4ad5e8]
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 [0x4ad580]
cmp byte [esp + 0xf], 0
jbe 0x4829a4
imul eax, esi, 0xe10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
jmp 0x4829a7
xorps xmm0, xmm0
movaps xmm3, xmm0
lea ecx, [esp + 0x38]
movaps xmm2, xmm4
xor dl, dl
call fcn.0040fa02
test al, al
jne 0x482b1e
lea eax, [esp + 0x18]
push eax
call fcn.00433651
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.0043b03f
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x482a04
movsd xmm2, qword [0x4ad5e8]
xorps xmm4, xmm4
jmp 0x482adc
mov edx, dword [ecx + 0x14]
add edx, 0x76c
cmp edx, 0x64
jge 0x482a17
cmp edx, 0x1e
jge 0x482a1f
lea eax, [edx - 0x65]
cmp eax, 0x62
ja 0x482a27
add edx, 0x76c
jmp 0x482a32
cmp edx, 0x1e
jge 0x482a32
add edx, 0x7d0
mov edi, dword [ecx + 0x10]
mov eax, 0x51eb851f
lea ecx, [edx - 1]
movsd xmm2, qword [0x4ad5e8]
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 [0x4ad580]
cmp byte [esp + 0xf], 0
xorps xmm0, xmm0
jbe 0x482af2
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movaps xmm3, xmm0
lea ecx, [esp + 0x28]
movaps xmm2, xmm4
xor dl, dl
call fcn.0040fa02
test al, al
jne 0x482b1e
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1030]
xor ecx, esp
call fcn.004272e5
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.004272e5
mov esp, ebp
pop ebp
ret