Function at 0x4478e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1034
call fcn.0041c5d0
mov eax, dword [0x46b034]
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.0041d260
add esp, 0xc
lea eax, [esp + 0x38]
push 0x800
push 0
push eax
call fcn.0041d260
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.00427afd
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 0x447990
mov eax, dword [0x4624b0]
mov dword [edi], eax
lea eax, [esp + 0x10]
push eax
call fcn.0042005d
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.0042a123
movsd xmm2, qword [0x463dc0]
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
xorps xmm0, xmm0
test edx, edx
jne 0x4479ea
xorps xmm4, xmm4
jmp 0x447abd
mov ecx, dword [edx + 0x14]
add ecx, 0x76c
cmp ecx, 0x64
jge 0x4479fd
cmp ecx, 0x1e
jge 0x447a05
lea eax, [ecx - 0x65]
cmp eax, 0x62
ja 0x447a0d
add ecx, 0x76c
jmp 0x447a18
cmp ecx, 0x1e
jge 0x447a18
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 [0x463d50]
movzx esi, bl
imul ebx, esi, 0xe10
cmp byte [esp + 0xf], 0
mov dword [esp + 0x24], esi
jbe 0x447add
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movaps xmm3, xmm0
lea ecx, [esp + 0x838]
movaps xmm2, xmm4
mov dl, 1
call fcn.0040dffc
test al, al
jne 0x447dae
lea eax, [esp + 0x18]
push eax
call fcn.0042005d
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.0042a123
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
test edx, edx
jne 0x447b3d
movsd xmm2, qword [0x463dc0]
xorps xmm4, xmm4
jmp 0x447c19
mov ecx, dword [edx + 0x14]
add ecx, 0x76c
cmp ecx, 0x64
jge 0x447b50
cmp ecx, 0x1e
jge 0x447b58
lea eax, [ecx - 0x65]
cmp eax, 0x62
ja 0x447b60
add ecx, 0x76c
jmp 0x447b6b
cmp ecx, 0x1e
jge 0x447b6b
add ecx, 0x7d0
mov edi, dword [edx + 0x10]
lea eax, [ecx - 1]
inc edi
movsd xmm2, qword [0x463dc0]
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 [0x463d50]
cmp byte [esp + 0xf], 0
jbe 0x447c34
imul eax, esi, 0xe10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
jmp 0x447c37
xorps xmm0, xmm0
movaps xmm3, xmm0
lea ecx, [esp + 0x38]
movaps xmm2, xmm4
xor dl, dl
call fcn.0040dffc
test al, al
jne 0x447dae
lea eax, [esp + 0x18]
push eax
call fcn.0042005d
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.0042a123
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x447c94
movsd xmm2, qword [0x463dc0]
xorps xmm4, xmm4
jmp 0x447d6c
mov edx, dword [ecx + 0x14]
add edx, 0x76c
cmp edx, 0x64
jge 0x447ca7
cmp edx, 0x1e
jge 0x447caf
lea eax, [edx - 0x65]
cmp eax, 0x62
ja 0x447cb7
add edx, 0x76c
jmp 0x447cc2
cmp edx, 0x1e
jge 0x447cc2
add edx, 0x7d0
mov edi, dword [ecx + 0x10]
mov eax, 0x51eb851f
lea ecx, [edx - 1]
movsd xmm2, qword [0x463dc0]
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 [0x463d50]
cmp byte [esp + 0xf], 0
xorps xmm0, xmm0
jbe 0x447d82
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
movaps xmm3, xmm0
lea ecx, [esp + 0x28]
movaps xmm2, xmm4
xor dl, dl
call fcn.0040dffc
test al, al
jne 0x447dae
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1030]
xor ecx, esp
call fcn.0041b4ed
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.0041b4ed
mov esp, ebp
pop ebp
ret