Function at 0x401450
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46cb26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x394
push ebx
push ebp
push esi
push edi
push str.Retrieving_ASPI_Information_n
call fcn.00404c90
mov ebx, dword [esp + 0x3b8]
mov ecx, 0x8bb
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x328]
push eax
call fcn.00403630
add esp, 8
lea ecx, [esp + 0x220]
mov ebp, eax
push 0x104
push ecx
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x11c]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x48835c
call fcn.00404c90
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48834c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebx + 4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.00401260
add esp, 0xc
test al, al
jne 0x401547
mov dword [ebx], 0
jmp 0x401795
cmp ebp, 6
mov dword [ebx], 3
je 0x401826
cmp ebp, 7
je 0x401826
cmp ebp, 8
je 0x401826
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.iosubsys_apix.vxd
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [ebx + 0x2ec]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401260
add esp, 8
test al, al
jne 0x4015e1
mov dword [ebx], 2
jmp 0x401671
lea esi, [ebx + 0x1a8]
push esi
call fcn.00445da3
add esp, 4
cmp eax, 1
je 0x40162e
lea edi, [ebx + 0x490]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x401623
test al, al
je 0x40161f
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x401623
add esi, 2
add edi, 2
test al, al
jne 0x4015fb
xor eax, eax
jmp 0x401628
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401671
jmp 0x40166b
lea edi, [ebx + 0x594]
lea esi, [ebx + 0x2ac]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x401662
test al, al
je 0x40165e
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x401662
add esi, 2
add edi, 2
test al, al
jne 0x40163a
xor eax, eax
jmp 0x401667
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401671
mov dword [ebx], 1
lea ebp, [ebx + 0x1a8]
push ebp
call fcn.00445cc1
fcomp qword [0x4737d0]
add esp, 4
fnstsw ax
test ah, 1
je 0x401791
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.winaspi.dll
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebx + 0x5d4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401260
add esp, 8
test al, al
jne 0x40170a
cmp dword [ebx], 1
je 0x40170a
mov dword [ebx], 2
push ebp
call fcn.00445da3
add esp, 4
cmp eax, 1
je 0x401791
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._aspienum.vxd
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [ebx + 0x8bc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401260
add esp, 8
test al, al
jne 0x4017da
cmp dword [ebx], 1
je 0x401791
mov dword [ebx], 2
mov ebp, dword [esp + 0x10]
push 0x488314
call fcn.00404c90
mov esi, 1
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.00401b90
lea eax, [ebx + 0xba8]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00401260
add esp, 0x14
test al, al
jne 0x401a88
mov dword [ebx + 0xba4], 0
jmp 0x401b76
lea edi, [ebx + 0xa60]
lea esi, [ebx + 0x778]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x40180e
test al, al
je 0x40180a
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x40180e
add esi, 2
add edi, 2
test al, al
jne 0x4017e6
xor eax, eax
jmp 0x401813
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401791
mov dword [ebx], 1
jmp 0x401791
lea edx, [ebx + 0x228]
lea ecx, [esp + 0x10]
push edx
call fcn.00462e5b
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0
call fcn.004632ef
push str.AHEAD
lea ecx, [esp + 0x14]
call fcn.0045c4f3
cmp eax, 0xffffffff
jne 0x401a69
push str.NERO
lea ecx, [esp + 0x14]
call fcn.0045c4f3
cmp eax, 0xffffffff
jne 0x401a69
or ecx, eax
lea edi, [esp + 0x220]
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._system32drivers_aspi32.sys
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebx + 0x2ec]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401260
add esp, 8
test al, al
jne 0x4018ed
mov dword [ebx], 2
jmp 0x401930
lea edi, [ebx + 0x490]
lea esi, [ebx + 0x1a8]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x401921
test al, al
je 0x40191d
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x401921
add esi, 2
add edi, 2
test al, al
jne 0x4018f9
xor eax, eax
jmp 0x401926
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401930
mov dword [ebx], 1
lea edi, [esp + 0x220]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._systemwinaspi.dll
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebx + 0x5d4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401260
add esp, 8
test al, al
jne 0x4019a9
cmp dword [ebx], 1
je 0x4019a9
mov dword [ebx], 2
lea edi, [esp + 0x220]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._systemwowpost.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebx + 0x8bc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401260
add esp, 8
test al, al
jne 0x401a24
cmp dword [ebx], 1
je 0x401a6f
mov dword [ebx], 2
jmp 0x401a6f
lea edi, [ebx + 0xa60]
lea esi, [ebx + 0x778]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x401a58
test al, al
je 0x401a54
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x401a58
add esi, 2
add edi, 2
test al, al
jne 0x401a30
xor eax, eax
jmp 0x401a5d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401a6f
mov dword [ebx], 1
jmp 0x401a6f
mov dword [ebx], 3
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0xffffffff
call fcn.00462ded
jmp 0x401795
mov edi, 3
cmp ebp, 6
mov dword [ebx + 0xba4], edi
je 0x401b0e
cmp ebp, 7
je 0x401b0e
cmp ebp, 8
je 0x401b0e
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add ebx, 0xe90
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov edi, str.iosubsys_neroapix.vxd
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00401260
add esp, 8
jmp 0x401b76
lea ecx, [ebx + 0xdcc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00462e5b
lea ecx, [esp + 0x14]
mov dword [esp + 0x3ac], esi
call fcn.004632ef
push str.AHEAD
lea ecx, [esp + 0x18]
call fcn.0045c4f3
cmp eax, 0xffffffff
jne 0x401b5c
push str.NERO
lea ecx, [esp + 0x18]
call fcn.0045c4f3
cmp eax, 0xffffffff
jne 0x401b5c
mov dword [ebx + 0xba4], esi
jmp 0x401b62
mov dword [ebx + 0xba4], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x3ac], 0xffffffff
call fcn.00462ded
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a0
ret