Function at 0x439531
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0981
mov eax, dword fs:[0]
push eax
mov eax, 0x1474
call fcn.00469ef0
mov eax, dword [0x510554]
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 - 0x1474], edx
mov dword [ebp - 0x1454], ecx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x1470], eax
mov esi, edi
lea eax, [ebp - 0x1468]
mov ebx, 0x200
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x4395a7
mov ebx, dword [ebp - 0x1468]
shr ebx, 2
push str.IDS_ACTION_INITIALIZING
lea ecx, [ebp - 0x144c]
mov byte [ebp - 0x144d], 1
inc ebx
call fcn.00402829
lea eax, [ebp - 0x144d]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x144c]
push eax
call fcn.0040cd54
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 0x439657
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.00414da1
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 0x439657
xor eax, eax
jmp 0x4398d7
lea ecx, [ebp - 0x1448]
mov dword [ebp - 0x1448], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4398c9
push 0x4cdd40
push dword [ebp - 0x1454]
call fcn.00482884
neg eax
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
sbb eax, eax
mov dword [ebp - 0x1464], edi
neg eax
shr ebx, 0x1f
pop ecx
pop ecx
mov dword [ebp - 0x1478], eax
addsd xmm0, qword [ebx*8 + 0x4fb720]
movsd qword [ebp - 0x1480], xmm0
cmp dword [ebp + 8], 0
mov ebx, dword [ebp - 0x1440]
mov dword [ebp - 0x1458], ebx
je 0x439739
push str.OneDrive.exe_RdClient.Windows.exe_devenv.exe_Teams.exe_AwWindowsIpc.exe_PowerMgr.exe_RepUx.exe_vpnui.exe_Thunderbolt.exe
lea ecx, [ebp - 0x145c]
call fcn.00402829
push edi
lea eax, [ebp - 0x1424]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x145c]
call fcn.00409bee
cmp eax, 0xffffffff
jne 0x439720
lea eax, [ebp - 0x1424]
push str.ServiceHub
push eax
call fcn.00482884
pop ecx
pop ecx
test eax, eax
jne 0x439720
mov ecx, dword [ebp - 0x1454]
mov edx, ebx
call fcn.00439971
mov esi, eax
jmp 0x439722
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x145c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x439844
test eax, eax
jne 0x439748
push dword [ebp - 0x1454]
jmp 0x43982f
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x146c], 0x104
push edi
push eax
call fcn.004821b0
add esp, 0xc
push ebx
push edi
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push str.Kernel32.dll
mov dword [ebp - 0x1460], eax
mov ebx, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4397db
push str.QueryFullProcessImageNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4397db
lea eax, [ebp - 0x146c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push dword [ebp - 0x1460]
call dword [0x4b77e4]
call ebx
test eax, eax
je 0x4397db
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1454]
call fcn.0048ae62
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
test esi, esi
jne 0x439848
test ebx, ebx
jne 0x439856
mov eax, dword [ebp - 0x1460]
test eax, eax
je 0x439824
mov ebx, 0x104
lea ecx, [ebp - 0x218]
push ebx
push ecx
push edi
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x439824
push ebx
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 0x439836
mov eax, dword [ebp - 0x1470]
test eax, eax
je 0x439856
push eax
lea eax, [ebp - 0x1424]
push eax
call fcn.0048ae62
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
test esi, esi
je 0x439856
mov ecx, dword [ebp - 0x1474]
mov eax, dword [ebp - 0x1458]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1464]
inc eax
mov dword [ebp - 0x1464], eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4fb720]
mulsd xmm0, qword [0x4fb700]
divsd xmm0, qword [ebp - 0x1480]
cvttsd2si eax, xmm0
mov dword [ebp - 0x1458], eax
cmp eax, 0x64
jge 0x4398a2
lea eax, [ebp - 0x1458]
push eax
call fcn.0040cdef
lea eax, [ebp - 0x1448]
push eax
push dword [ebp - 0x144c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x4398c7
mov eax, dword [ebp - 0x1478]
test esi, esi
je 0x4396b7
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.0046976a
leave
ret