Function at 0x447220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1034
call fcn.0041c220
mov eax, dword [0x46a030]
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
call fcn.0041cea0
add esp, 0xc
lea eax, [esp + 0x38]
push 0x800
push 0
push eax
call fcn.0041cea0
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.00427e9e
lea edi, [esp + 0x3c]
add esp, 0x14
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4472d0
mov eax, dword [0x4615d4]
mov dword [edi], eax
lea eax, [esp + 0x10]
push eax
call fcn.00421a3e
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.0042a4e3
movsd xmm2, qword [0x462f10]
mov edx, eax
add esp, 4
mov dword [esp + 0xc], edx
xorps xmm0, xmm0
test edx, edx
jne 0x44732a
xorps xmm4, xmm4
jmp 0x4473fd
mov ecx, dword [edx + 0x14]
add ecx, 0x76c
cmp ecx, 0x64
jge 0x44733d
cmp ecx, 0x1e
jge 0x447345
lea eax, [ecx - 0x65]
cmp eax, 0x62
ja 0x44734d
add ecx, 0x76c
jmp 0x447358
cmp ecx, 0x1e
jge 0x447358
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 + 0xc]
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 [0x462ea0]
movzx eax, bl
mov dword [esp + 0x24], eax
test bl, bl
je 0x44741a
imul eax, eax, 0xe10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movaps xmm3, xmm0
lea ecx, [esp + 0x838]
movaps xmm2, xmm4
mov dl, 1
call fcn.0040dfb9
test al, al
jne 0x4476ec
lea eax, [esp + 0x18]
push eax
call fcn.00421a3e
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.0042a4e3
mov edx, eax
add esp, 4
mov dword [esp + 0xc], edx
test edx, edx
jne 0x44747a
movsd xmm2, qword [0x462f10]
xorps xmm4, xmm4
jmp 0x447552
mov ecx, dword [edx + 0x14]
add ecx, 0x76c
cmp ecx, 0x64
jge 0x44748d
cmp ecx, 0x1e
jge 0x447495
lea eax, [ecx - 0x65]
cmp eax, 0x62
ja 0x44749d
add ecx, 0x76c
jmp 0x4474a8
cmp ecx, 0x1e
jge 0x4474a8
add ecx, 0x7d0
mov edi, dword [edx + 0x10]
lea eax, [ecx - 1]
inc edi
movsd xmm2, qword [0x462f10]
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 + 0xc]
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 [0x462ea0]
mov eax, dword [esp + 0x24]
imul esi, eax, 0xe10
mov dword [esp + 0xc], esi
test bl, bl
je 0x447572
movd xmm0, esi
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
jmp 0x447575
xorps xmm0, xmm0
movaps xmm3, xmm0
lea ecx, [esp + 0x38]
movaps xmm2, xmm4
xor dl, dl
call fcn.0040dfb9
test al, al
jne 0x4476ec
lea eax, [esp + 0x18]
push eax
call fcn.00421a3e
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.0042a4e3
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x4475d2
movsd xmm2, qword [0x462f10]
xorps xmm4, xmm4
jmp 0x4476ae
mov edx, dword [ecx + 0x14]
add edx, 0x76c
cmp edx, 0x64
jge 0x4475e5
cmp edx, 0x1e
jge 0x4475ed
lea eax, [edx - 0x65]
cmp eax, 0x62
ja 0x4475f5
add edx, 0x76c
jmp 0x447600
cmp edx, 0x1e
jge 0x447600
add edx, 0x7d0
mov edi, dword [ecx + 0x10]
mov eax, 0x51eb851f
lea ecx, [edx - 1]
movsd xmm2, qword [0x462f10]
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 esi, dword [esp + 0xc]
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 [0x462ea0]
xorps xmm0, xmm0
test bl, bl
je 0x4476c1
movd xmm0, esi
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movaps xmm3, xmm0
lea ecx, [esp + 0x28]
movaps xmm2, xmm4
xor dl, dl
call fcn.0040dfb9
test al, al
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1030]
xor ecx, esp
call fcn.0041b155
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.0041b155
mov esp, ebp
pop ebp
ret