Function at 0x43949e
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b32a1
mov eax, dword fs:[0]
push eax
mov eax, 0x1474
call fcn.0046c7e0
mov eax, dword [0x514554]
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 dword [ebp - 0x1478], edx
mov dword [ebp - 0x1454], ecx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x1474], eax
mov esi, edi
lea eax, [ebp - 0x1470]
mov ebx, 0x200
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x439514
mov ebx, dword [ebp - 0x1470]
shr ebx, 2
inc ebx
cmp dword [0x519f74], 0xc
je 0x43955d
push str.IDS_ACTION_INITIALIZING
lea ecx, [ebp - 0x144c]
mov byte [ebp - 0x144d], 1
call fcn.00402829
lea eax, [ebp - 0x144d]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x144c]
push eax
call fcn.0040c8aa
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x144c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x144c], eax
cmp eax, 0xffffffff
jne 0x4395cd
push str.CreateToolhelp32Snapshot_failed_in_IsProcessOrModuleInUse
lea ecx, [ebp - 0x144c]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x144c]
mov dword [ebp - 4], 1
pop ecx
call fcn.00417741
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x144c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x144c], eax
cmp eax, 0xffffffff
jne 0x4395cd
xor eax, eax
jmp 0x43986c
lea ecx, [ebp - 0x1448]
mov dword [ebp - 0x1448], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x43985e
push 0x4d0aa0
push dword [ebp - 0x1454]
call fcn.00485194
neg eax
mov dword [ebp - 0x146c], edi
pop ecx
sbb eax, eax
neg eax
pop ecx
mov dword [ebp - 0x147c], eax
cmp dword [ebp + 8], 0
mov ecx, dword [ebp - 0x1440]
mov dword [ebp - 0x145c], ecx
je 0x439697
push str.OneDrive.exe_RdClient.Windows.exe_devenv.exe_Teams.exe_AwWindowsIpc.exe_PowerMgr.exe_RepUx.exe_vpnui.exe_Thunderbolt.exe
lea ecx, [ebp - 0x1464]
call fcn.00402829
push edi
lea eax, [ebp - 0x1424]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1464]
call fcn.0040982e
cmp eax, 0xffffffff
jne 0x43967e
lea eax, [ebp - 0x1424]
push str.ServiceHub
push eax
call fcn.00485194
pop ecx
pop ecx
test eax, eax
jne 0x43967e
mov edx, dword [ebp - 0x145c]
mov ecx, dword [ebp - 0x1454]
call fcn.00439906
mov esi, eax
jmp 0x439680
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1464]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4397be
test eax, eax
jne 0x4396a6
push dword [ebp - 0x1454]
jmp 0x4397a9
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x1460], 0x104
push edi
push eax
call fcn.00484ac0
add esp, 0xc
push dword [ebp - 0x145c]
push edi
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push str.Kernel32.dll
mov dword [ebp - 0x1468], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43979a
push str.QueryFullProcessImageNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1458], eax
test eax, eax
je 0x43974e
lea ecx, [ebp - 0x1460]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push edi
push dword [ebp - 0x1468]
mov ecx, eax
call dword [0x4ba7e8]
mov eax, dword [ebp - 0x1458]
call eax
test eax, eax
je 0x439748
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1454]
call fcn.0048d762
neg eax
pop ecx
sbb esi, esi
pop ecx
inc esi
mov eax, dword [ebp - 0x1458]
test esi, esi
jne 0x4397c2
test eax, eax
jne 0x4397d0
mov eax, dword [ebp - 0x1468]
test eax, eax
je 0x43979e
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edi
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x43979e
push 0x104
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1454]
jmp 0x4397b0
mov eax, edi
jmp 0x43974e
mov eax, dword [ebp - 0x1474]
test eax, eax
je 0x4397d0
push eax
lea eax, [ebp - 0x1424]
push eax
call fcn.0048d762
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
test esi, esi
je 0x4397d0
mov ecx, dword [ebp - 0x1478]
mov eax, dword [ebp - 0x145c]
mov dword [ecx], eax
cmp dword [0x519f74], 0xc
je 0x439837
mov eax, dword [ebp - 0x146c]
inc eax
movd xmm0, ebx
mov dword [ebp - 0x146c], eax
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4ff0e0]
mov eax, ebx
shr eax, 0x1f
mulsd xmm1, qword [0x4ff0c0]
addsd xmm0, qword [eax*8 + 0x4ff0e0]
divsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 0x1460], eax
cmp eax, 0x64
jge 0x439837
lea eax, [ebp - 0x1460]
push eax
call fcn.0040c945
lea eax, [ebp - 0x1448]
push eax
push dword [ebp - 0x144c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x43985c
mov eax, dword [ebp - 0x147c]
test esi, esi
je 0x439611
mov edi, esi
push dword [ebp - 0x144c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
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.0046c05a
leave
ret