Function at 0x447310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f7d9
mov eax, dword fs:[0]
push eax
mov eax, 0x205c
call fcn.0041c280
mov eax, dword [0x46a030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2055], cl
push 0x1000
lea eax, [ebp - 0x2020]
push 0
push eax
call fcn.0041cf00
push 0x1000
lea eax, [ebp - 0x1020]
push 0
push eax
call fcn.0041cf00
add esp, 0x18
lea eax, [ebp - 0x2020]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x800
lea eax, [ebp - 0x1020]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x1020]
mov word [ebp - 0x14], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00427efe
lea edi, [ebp - 0x20]
add esp, 0x14
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4473d0
mov eax, dword [0x4615d8]
lea ecx, [ebp - 0x1020]
mov dword [edi], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2038], 0
mov dword [ebp - 0x2028], 0
mov dword [ebp - 0x2024], 0
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447410
sub ecx, edx
lea eax, [ebp - 0x1020]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2038]
call fcn.00401d97
mov dword [ebp - 4], 0
mov ecx, SysReAllocString
mov esi, dword [ebp - 0x2024]
mov eax, esi
mov ebx, dword [ebp - 0x2028]
sub eax, ebx
mov dword [ebp - 0x205c], esi
cmp eax, 1
jb 0x44747e
lea eax, [ebx + 1]
cmp esi, 8
mov dword [ebp - 0x2028], eax
lea eax, [ebp - 0x2038]
cmovae eax, dword [ebp - 0x2038]
mov dword [eax + ebx*2], 0x5c
jmp 0x4475c4
mov eax, ecx
sub eax, ebx
cmp eax, 1
jb 0x4478ea
lea edi, [ebx + 1]
or edi, 7
cmp edi, ecx
jbe 0x4474a0
mov eax, SysReAllocString
mov edi, ecx
add eax, eax
jmp 0x4474d6
mov edx, esi
mov eax, ecx
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x4474b7
mov eax, SysReAllocString
mov edi, ecx
add eax, eax
jmp 0x4474d6
lea eax, [edx + esi]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4478e5
add eax, eax
cmp eax, 0x1000
jb 0x4474fd
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4478e5
push ecx
call fcn.0041b1f5
add esp, 4
test eax, eax
je 0x4478f9
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x447510
test eax, eax
je 0x44750e
push eax
call fcn.0041b1f5
add esp, 4
mov esi, eax
jmp 0x447510
xor esi, esi
lea eax, [ebx + 1]
mov dword [ebp - 0x2024], edi
mov dword [ebp - 0x2028], eax
lea eax, [ebx + ebx]
inc ebx
lea edi, [eax + esi]
mov dword [ebp - 0x2060], edi
push eax
lea ecx, [esi + ebx*2]
mov ebx, dword [ebp - 0x205c]
mov dword [ebp - 0x2054], ecx
cmp ebx, 8
jb 0x44759b
mov edi, dword [ebp - 0x2038]
push edi
push esi
call fcn.0041c980
mov eax, dword [ebp - 0x2060]
lea ebx, [ebx*2 + 2]
mov ecx, 0x5c
add esp, 0xc
mov word [eax], cx
xor ecx, ecx
mov eax, dword [ebp - 0x2054]
mov word [eax], cx
cmp ebx, 0x1000
jb 0x44758f
mov ecx, dword [edi - 4]
add ebx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4478f9
mov edi, ecx
push ebx
push edi
call fcn.0041b1c4
add esp, 8
jmp 0x4475be
lea eax, [ebp - 0x2038]
push eax
push esi
call fcn.0041c980
mov eax, 0x5c
add esp, 0xc
mov word [edi], ax
xor ecx, ecx
mov eax, dword [ebp - 0x2054]
mov word [eax], cx
mov dword [ebp - 0x2038], esi
push 0x59
lea eax, [ebp - 0x2050]
mov ecx, 0x46e100
push eax
call fcn.00407917
mov ebx, eax
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 8
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x2054], edx
jb 0x4475ee
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x2024]
mov eax, ecx
mov edi, dword [ebp - 0x2028]
sub eax, edi
mov dword [ebp - 0x2064], edi
mov dword [ebp - 0x2060], ecx
cmp edx, eax
ja 0x44764b
cmp ecx, 8
lea eax, [edi + edx]
lea esi, [ebp - 0x2038]
mov dword [ebp - 0x2028], eax
cmovae esi, dword [ebp - 0x2038]
lea eax, [edx + edx]
push eax
push ebx
lea ecx, [esi + edi*2]
push ecx
call fcn.0041c980
mov eax, dword [ebp - 0x2054]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4477d8
mov esi, SysReAllocString
mov eax, esi
sub eax, edi
cmp eax, edx
jb 0x4478ef
lea eax, [edx + edi]
mov edi, eax
mov dword [ebp - 0x205c], eax
or edi, 7
cmp edi, esi
jbe 0x447679
mov eax, SysReAllocString
mov edi, esi
add eax, eax
jmp 0x4476af
mov eax, ecx
shr eax, 1
sub esi, eax
cmp ecx, esi
jbe 0x447691
mov eax, SysReAllocString
mov edi, SysReAllocString
add eax, eax
jmp 0x4476af
add eax, ecx
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4478e5
add eax, eax
cmp eax, 0x1000
jb 0x4476dc
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4478e5
push ecx
call fcn.0041b1f5
add esp, 4
test eax, eax
je 0x4478f4
mov edx, dword [ebp - 0x2054]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4476f5
test eax, eax
je 0x4476f3
push eax
call fcn.0041b1f5
mov edx, dword [ebp - 0x2054]
add esp, 4
mov esi, eax
jmp 0x4476f5
xor esi, esi
mov eax, dword [ebp - 0x205c]
mov dword [ebp - 0x2028], eax
mov eax, dword [ebp - 0x2064]
mov dword [ebp - 0x2024], edi
lea edi, [eax + eax]
add eax, edx
cmp dword [ebp - 0x2060], 8
lea ecx, [esi + edi]
mov dword [ebp - 0x2068], ecx
lea ecx, [edx + edx]
mov dword [ebp - 0x2064], edi
lea eax, [esi + eax*2]
mov dword [ebp - 0x2054], ecx
mov dword [ebp - 0x205c], eax
jb 0x4477a6
push dword [ebp - 0x2064]
mov edi, dword [ebp - 0x2038]
push edi
push esi
call fcn.0041c980
push dword [ebp - 0x2054]
push ebx
push dword [ebp - 0x2068]
call fcn.0041c980
mov eax, dword [ebp - 0x205c]
xor ecx, ecx
add esp, 0x18
mov word [eax], cx
mov ecx, dword [ebp - 0x2060]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x44779a
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4478f4
mov edi, edx
push ecx
push edi
call fcn.0041b1c4
add esp, 8
jmp 0x4477d2
push edi
lea eax, [ebp - 0x2038]
push eax
push esi
call fcn.0041c980
push dword [ebp - 0x2054]
lea eax, [esi + edi]
push ebx
push eax
call fcn.0041c980
mov eax, dword [ebp - 0x205c]
add esp, 0x18
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x2038], esi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x203c]
cmp ecx, 8
jb 0x44781c
mov edx, dword [ebp - 0x2050]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x447812
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4478f4
push ecx
push edx
call fcn.0041b1c4
add esp, 8
mov bl, byte [ebp - 0x2055]
lea ecx, [ebp - 0x20]
push 0
mov dl, bl
call fcn.0040e228
add esp, 4
test al, al
jne 0x447889
push 0
mov dl, bl
lea ecx, [ebp - 0x1020]
call fcn.0040e228
add esp, 4
test al, al
jne 0x447889
cmp dword [ebp - 0x2024], 8
lea ecx, [ebp - 0x2038]
push 1
cmovae ecx, dword [ebp - 0x2038]
mov dl, bl
call fcn.0040e228
add esp, 4
test al, al
jne 0x447889
push 1
mov dl, bl
lea ecx, [ebp - 0x2020]
call fcn.0040e228
add esp, 4
test al, al
jne 0x447889
mov bl, 1
jmp 0x44788b
xor bl, bl
mov ecx, dword [ebp - 0x2024]
cmp ecx, 8
jb 0x4478c7
mov edx, dword [ebp - 0x2038]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4478bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4478f9
push ecx
push edx
call fcn.0041b1c4
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b1b6
mov esp, ebp
pop ebp
ret
call fcn.00402372
call fcn.0040221c
call fcn.0040221c
call fcn.0042036f
call fcn.0042036f
int3