Function at 0x402920
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425d61
push eax
mov dword fs:[0], esp
sub esp, 0x314
lea eax, [esp + 0xc]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push edi
push 0x104
mov ebx, ecx
push eax
call ebp
or ecx, 0xffffffff
lea edi, [esp + 0x1c]
xor eax, eax
lea edx, [esp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.System32Drivers_
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 edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x427670
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 edx, [esp + 0x120]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.inf_
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]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x120]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ePass.inf
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 eax, dword [ebx + 0x84]
mov ecx, edx
and ecx, 3
test al, 0xc0
rep movsb byte es:[edi], byte [esi]
jne 0x402ae6
test al, 0x20
je 0x402d69
lea eax, [esp + 0x1c]
push 0x180
push eax
call fcn.0040c9c8
add esp, 8
cmp eax, 0xffffffff
jne 0x402bef
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call ebp
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x20]
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.System32DriversiToken.sys
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 + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040c9c8
add esp, 8
cmp eax, 0xffffffff
je 0x402d69
jmp 0x402be5
lea ecx, [esp + 0x1c]
push 0x180
push ecx
call fcn.0040c9c8
add esp, 8
cmp eax, 0xffffffff
je 0x402b1b
lea edx, [esp + 0x120]
push 0x180
push edx
call fcn.0040c9c8
add esp, 8
cmp eax, 0xffffffff
jne 0x402bef
lea eax, [esp + 0x1c]
push 0x104
push eax
call ebp
or ecx, 0xffffffff
lea edi, [esp + 0x1c]
xor eax, eax
lea edx, [esp + 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x180
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x20]
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.System32DriversiToken.sys
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 edx, [esp + 0x124]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.infiToken.inf
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 + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040c9c8
add esp, 8
cmp eax, 0xffffffff
je 0x402d69
lea ecx, [esp + 0x120]
push 0x180
push ecx
call fcn.0040c9c8
add esp, 8
cmp eax, 0xffffffff
je 0x402d69
mov dword [ebx + 0x94], 1
mov ebp, dword [esp + 0x338]
test ebp, ebp
je 0x402d62
mov eax, dword [0x430458]
mov dword [esp + 0x14], eax
mov dword [esp + 0x32c], 0
mov dword [esp + 0x10], eax
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x224]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x32c], 1
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x224]
push ecx
push edx
call fcn.004048f0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x330], 2
call fcn.0041a925
lea ecx, [esp + 0x18]
mov byte [esp + 0x32c], 1
call fcn.0041a7ec
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 8]
test eax, eax
je 0x402cfc
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x402d20
mov ebx, dword [ebx + 0x8c]
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0xbe0]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041eec5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
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
jmp 0x402d38
mov ebx, dword [ebx + 0x8c]
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea edx, [ecx*8 + 0xbde]
lea ecx, [esp + 0x10]
push edx
call fcn.0041eec5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov byte [esp + 0x32c], 0
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0041a7ec
lea ecx, [esp + 0x14]
mov dword [esp + 0x32c], 0xffffffff
call fcn.0041a7ec
mov eax, 1
jmp 0x402d6b
xor eax, eax
mov ecx, dword [esp + 0x324]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x320
ret 8