Function at 0x406aa0
Capabilities:
Enumerate files on windows
Enumerate processes
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa914
call fcn.0061e980
mov eax, dword [0x6b7e64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x689bb0
push str.logon.
push 0x689bbc
push str._s_s_s
lea eax, [ebp - 0x140]
mov edi, ecx
push 0x64
push eax
call fcn.00401df0
add esp, 0x18
xor eax, eax
mov dword [ebp - 0xa90c], eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xffffffff
je 0x40707a
test esi, esi
je 0x40707a
lea eax, [ebp - 0xa7b8]
mov dword [ebp - 0xa7b8], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x406b68
nop word [eax + eax]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0xa794]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x406b5c
lea eax, [ebp - 0xa7b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x406b30
jmp 0x406b68
mov eax, dword [ebp - 0xa7b0]
mov dword [ebp - 0xa90c], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebp - 0xa90c]
test eax, eax
je 0x40707c
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xa90c], eax
test eax, eax
je 0x40707c
lea ecx, [ebp - 0xa910]
push ecx
push 0xe
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x406bd2
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push dword [ebp - 0xa90c]
call esi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061e015
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xa910]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x406c0d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push dword [ebp - 0xa910]
call esi
push dword [ebp - 0xa90c]
call esi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061e015
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xa910]
call esi
push dword [ebp - 0xa90c]
call esi
push 0xac
lea esi, [edi + 0xcc]
mov dword [0x6c59d8], 0
push 0
push esi
call fcn.00623f60
add esp, 0xc
lea eax, [ebp - 0xa908]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
mov dword [ebp - 0xa0], 0x6e614a
mov dword [ebp - 0x9c], eax
xorps xmm0, xmm0
mov word [ebp - 0x98], ax
mov dword [ebp - 0x92], eax
mov word [ebp - 0x8e], ax
mov dword [ebp - 0x88], eax
mov word [ebp - 0x84], ax
mov dword [ebp - 0x7e], eax
mov word [ebp - 0x7a], ax
mov dword [ebp - 0x74], eax
mov word [ebp - 0x70], ax
mov dword [ebp - 0x6a], eax
mov word [ebp - 0x66], ax
mov dword [ebp - 0x60], eax
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x56], eax
mov word [ebp - 0x52], ax
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x48], ax
mov dword [ebp - 0x42], eax
mov word [ebp - 0x3e], ax
mov dword [ebp - 0x38], eax
mov word [ebp - 0x34], ax
mov dword [ebp - 0x2e], eax
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x10], eax
mov word [ebp - 0xc], ax
movzx eax, word [ebp - 0xa8fe]
push eax
movzx eax, word [ebp - 0xa900]
push eax
movzx eax, word [ebp - 0xa908]
push eax
movzx eax, word [ebp - 0xa906]
mov dword [ebp - 0x96], 0x626546
mov dword [ebp - 0x8c], 0x72614d
mov dword [ebp - 0x82], 0x727041
lea eax, [eax + eax*4]
mov dword [ebp - 0x78], 0x79614d
lea eax, [ebp + eax*2 - 0xaa]
mov dword [ebp - 0x6e], 0x6e754a
push eax
movzx eax, word [ebp - 0xa902]
push eax
push str._.2d__s__.4d__.2d:_.2d
push 0x80
push esi
mov dword [ebp - 0x64], 0x6c754a
mov dword [ebp - 0x5a], 0x677541
mov dword [ebp - 0x50], 0x706553
mov dword [ebp - 0x46], 0x74634f
mov dword [ebp - 0x3c], 0x766f4e
mov dword [ebp - 0x32], 0x636544
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00401df0
movups xmm0, xmmword [str.C:ProgramDataMicrosoftWlansvcProfilesInterfaces]
mov eax, dword [0x68a058]
add esp, 0x20
mov dword [ebp - 0xa8], eax
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [0x68a038]
movups xmmword [ebp - 0xc8], xmm0
movups xmm0, xmmword [0x68a048]
movups xmmword [ebp - 0xb8], xmm0
mov al, byte [0x68a05c]
mov byte [ebp - 0xa4], al
lea eax, [ebp - 0x910]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x406dcc
mov al, byte [ebp - 0x910]
mov byte [ebp - 0xd8], al
lea eax, [ebp - 0xd8]
push eax
push 0x68a060
lea eax, [ebp - 0x3020]
push 0x2710
push eax
call fcn.00401df0
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [ebp - 0xa690]
add esp, 0x10
push eax
lea eax, [ebp - 0x3020]
push eax
call esi
mov ebx, eax
mov dword [ebp - 0xa90c], ebx
cmp ebx, 0xffffffff
je 0x406fc3
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [eax]
test byte [ebp - 0xa690], 0x10
je 0x406fa0
mov ecx, 0x68a068
lea eax, [ebp - 0xa664]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406e58
test dl, dl
je 0x406e54
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406e58
add eax, 2
add ecx, 2
test dl, dl
jne 0x406e38
xor eax, eax
jmp 0x406e5d
sbb eax, eax
or eax, 1
test eax, eax
je 0x406fa0
mov eax, 0x68a06c
lea ecx, [ebp - 0xa664]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x406e90
test dl, dl
je 0x406e8c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x406e90
add ecx, 2
add eax, 2
test dl, dl
jne 0x406e70
xor eax, eax
jmp 0x406e95
sbb eax, eax
or eax, 1
test eax, eax
je 0x406fa0
lea eax, [ebp - 0xa663]
push eax
lea eax, [ebp - 0x528]
push 0x3e8
push eax
call fcn.0062bf49
lea ecx, [ebp - 0x528]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ec1
sub ecx, edx
dec ecx
cmp ecx, 0x3e8
jae 0x407091
mov byte [ebp + ecx - 0x528], al
lea eax, [ebp - 0xa664]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x68a070
lea eax, [ebp - 0x5730]
push 0x2710
push eax
call fcn.00401df0
add esp, 0x14
lea eax, [ebp - 0x5730]
push eax
push 0x68a060
lea eax, [ebp - 0x3020]
push 0x2710
push eax
call fcn.00401df0
add esp, 0x10
lea eax, [ebp - 0xa8f8]
push eax
lea eax, [ebp - 0x3020]
push eax
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x406fb7
nop dword [eax]
test byte [ebp - 0xa8f8], 0x10
jne 0x406f85
lea eax, [ebp - 0xa8cc]
push eax
lea eax, [ebp - 0x5730]
push eax
push 0x68a070
lea eax, [ebp - 0x7e40]
push 0x2710
push eax
call fcn.00401df0
add esp, 0x14
lea eax, [ebp - 0x528]
mov ecx, edi
push eax
lea eax, [ebp - 0x7e40]
push eax
call fcn.00406120
lea eax, [ebp - 0xa8f8]
push eax
push esi
call ebx
test eax, eax
jne 0x406f40
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [ebp - 0xa690]
push eax
push dword [ebp - 0xa90c]
call ebx
test eax, eax
jne 0x406e20
push dword [ebp - 0xa90c]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov ecx, edi
call fcn.004070a0
mov ecx, edi
call fcn.00407370
mov ecx, dword [edi + 0x14c]
mov eax, ecx
sub eax, dword [edi + 0x150]
mov ebx, dword [edi + 0x154]
sub eax, ebx
mov esi, dword [edi + 0x158]
sub eax, esi
mov edx, dword [edi + 0x15c]
sub eax, edx
mov dword [edi + 0x160], eax
cmp ecx, 1
jbe 0x407080
push dword [edi + 0x174]
push dword [edi + 0x170]
push dword [edi + 0x16c]
push dword [edi + 0x168]
push dword [edi + 0x164]
push eax
push edx
push esi
push ebx
push dword [edi + 0x150]
lea eax, [ebp - 0xa550]
push ecx
push ecx
push str.Successfully_recovered__d_Wi_Fi_passwords.__n_nHere_is_the_report_summary_n__________________________________________nTotal_Wi_Fi_Passwords_Found:__d_nCritical_Wi_Fi_Profiles:__d_nVulnerable_Wi_Fi_Profiles:__d_nWarning_Wi_Fi_Profiles:__d_nGood_Wi_Fi_Profiles:__d_nUnknown_Wi_Fi_Profiles:__d_n_nWi_Fi_Profiles:_nOpen_d__WEP_d__WPA_d__WPA2_d__WPA3_d__n_n
push 0x2710
push eax
call fcn.00401df0
add esp, 0x3c
cmp dword [edi + 0x17c], 0
jne 0x407080
push 0x40
push str.XenArmor_Wi_Fi_Password_Recovery_Pro
lea eax, [ebp - 0xa550]
mov ecx, edi
push eax
call fcn.004dc5f6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061e015
mov esp, ebp
pop ebp
ret
call ebx
call ebx
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0061e015
mov esp, ebp
pop ebp
ret
call fcn.0061e47c
int3