Function at 0x443440
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b838c
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x630490]
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 ebx, ecx
mov dword [ebp - 0x8e4], ebx
push dword [ebp - 0x8e4]
mov dword [ebx + 0xc], 0
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.00443d30
mov eax, dword [ebx]
push 0x228
mov dword [ebx + 4], eax
lea eax, [ebp - 0x8d4]
push 0
push eax
mov dword [ebp - 0x8d8], 0
call fcn.0057b710
add esp, 0x14
mov dword [ebp - 0x240], 0xf
mov dword [ebp - 0x244], 0
mov byte [ebp - 0x254], 0
mov dword [ebp - 0x228], 0xf
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x23c], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x6a4]
mov dword [ebp - 4], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x443588
lea eax, [ebp - 0x264]
mov dword [ebp - 0x268], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x268]
mov dword [ebp - 0x25c], 2
push eax
push 0
push dword [ebp - 0x6a4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call edi
push dword [ebp - 0x6a4]
mov esi, eax
neg esi
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
jne 0x44358f
mov dword [ebx + 0xc], 1
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x8e0], esi
cmp esi, 0xffffffff
jne 0x4435b0
call edi
mov dword [ebx + 0xc], eax
jmp 0x443c23
lea eax, [ebp - 0x6a0]
mov dword [ebp - 0x8d8], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
lea eax, [ebp - 0x8d8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x443a45
mov edi, edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0057b710
mov eax, dword [ebp - 0x8d0]
lea edx, [ebp - 0x8b4]
add esp, 0xc
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x270]
call fcn.004255c0
mov esi, eax
lea eax, [ebp - 0x254]
cmp eax, esi
je 0x4436ad
cmp dword [ebp - 0x240], 0x10
jb 0x443642
push dword [ebp - 0x254]
call fcn.0044f461
add esp, 4
mov dword [ebp - 0x240], 0xf
mov dword [ebp - 0x244], 0
mov byte [ebp - 0x254], 0
cmp dword [esi + 0x14], 0x10
jae 0x44367c
mov eax, dword [esi + 0x10]
inc eax
je 0x44368a
push eax
lea eax, [ebp - 0x254]
push esi
push eax
call fcn.00577540
add esp, 0xc
jmp 0x44368a
mov eax, dword [esi]
mov dword [ebp - 0x254], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x244], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x240], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x25c], 0x10
jb 0x4436c4
push dword [ebp - 0x270]
call fcn.0044f461
add esp, 4
mov ecx, dword [ebx + 0x14]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0x10]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x443738
mov ecx, dword [ebx + 0x14]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0x10]
xor edi, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x443a2a
xor esi, esi
mov edi, edi
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x254]
add edx, esi
call fcn.004257b0
test al, al
jne 0x443738
mov ecx, dword [ebx + 0x14]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0x10]
inc edi
imul ecx
add esi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x443700
jmp 0x443a2a
push dword [ebp - 0x8d0]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x443848
lea eax, [ebp - 0x274]
push eax
push 4
lea eax, [ebp - 0x6a4]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push 0x208
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x6a4]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x270]
call fcn.004255c0
mov esi, eax
lea eax, [ebp - 0x23c]
cmp eax, esi
je 0x443828
cmp dword [ebp - 0x228], 0x10
jb 0x4437bd
push dword [ebp - 0x23c]
call fcn.0044f461
add esp, 4
mov dword [ebp - 0x228], 0xf
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x23c], 0
cmp dword [esi + 0x14], 0x10
jae 0x4437f7
mov eax, dword [esi + 0x10]
inc eax
je 0x443805
push eax
lea eax, [ebp - 0x23c]
push esi
push eax
call fcn.00577540
add esp, 0xc
jmp 0x443805
mov eax, dword [esi]
mov dword [ebp - 0x23c], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x228], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x25c], 0x10
jb 0x44383f
push dword [ebp - 0x270]
call fcn.0044f461
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44385a
push 1
push 0x605a18
lea ecx, [ebp - 0x23c]
call fcn.00404be0
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x258]
cmp eax, ecx
jae 0x443950
mov edi, dword [ebx]
cmp edi, eax
ja 0x443950
mov edx, dword [ebx + 8]
mov esi, eax
sub esi, edi
cmp ecx, edx
jne 0x4438d7
mov eax, edx
sub eax, ecx
sar eax, 6
cmp eax, 1
jae 0x4438d7
sub ecx, edi
mov eax, 0x3ffffff
sar ecx, 6
sub eax, ecx
cmp eax, 1
jb 0x443b30
inc ecx
sub edx, edi
sar edx, 6
mov eax, 0x3ffffff
mov dword [ebp - 0x8dc], ecx
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp eax, edx
jae 0x4438c0
xor edx, edx
jmp 0x4438c2
add edx, ecx
cmp edx, dword [ebp - 0x8dc]
mov ecx, ebx
cmovb edx, dword [ebp - 0x8dc]
push edx
call fcn.00443c50
mov edi, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
mov dword [ebp - 0x8dc], edi
mov dword [ebp - 0x8e8], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x443a22
mov eax, dword [esi]
lea ecx, [edi + 4]
mov dword [edi], eax
lea eax, [esi + 4]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047b0
push 0xffffffffffffffff
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 2
push 0
lea eax, [esi + 0x1c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047b0
mov byte [ebp - 4], 3
lea eax, [esi + 0x34]
lea ecx, [edi + 0x34]
jmp 0x443a1c
mov edx, dword [ebx + 8]
cmp ecx, edx
jne 0x4439a4
mov eax, edx
sub eax, ecx
sar eax, 6
cmp eax, 1
jae 0x4439a4
mov esi, dword [ebx]
mov eax, 0x3ffffff
sub ecx, esi
sar ecx, 6
sub eax, ecx
cmp eax, 1
jb 0x443b30
sub edx, esi
lea edi, [ecx + 1]
sar edx, 6
mov eax, 0x3ffffff
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp eax, edx
jae 0x443995
xor edx, edx
jmp 0x443997
add edx, ecx
cmp edx, edi
mov ecx, ebx
cmovb edx, edi
push edx
call fcn.00443c50
mov esi, dword [ebx + 4]
mov dword [ebp - 0x8e8], esi
mov dword [ebp - 0x8dc], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x443a22
mov eax, dword [ebp - 0x258]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x254]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047b0
push 0xffffffffffffffff
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 5
push 0
lea eax, [ebp - 0x23c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047b0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x224]
lea ecx, [esi + 0x34]
push eax
call fcn.0042d420
mov byte [ebp - 4], 0
add dword [ebx + 4], 0x40
lea eax, [ebp - 0x8d8]
push eax
push dword [ebp - 0x8e0]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4435e0
mov esi, dword [ebx]
mov dword [ebp - 0x6a4], esi
cmp esi, dword [ebx + 4]
je 0x443c10
lea ebx, [esi + 0x38]
lea esp, [esp]
push dword [esi]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x6a0], 0x428
lea eax, [ebp - 0x6a0]
mov dword [ebp - 0x8dc], edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x443bee
cmp dword [esi], 0
je 0x443bee
mov esi, edi
lea ecx, [ecx]
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x270]
call fcn.004255c0
mov edi, eax
mov byte [ebp - 4], 7
mov eax, dword [ebx]
cmp edi, eax
jae 0x443b3a
mov edx, dword [ebx - 4]
lea ecx, [ebx - 4]
cmp edx, edi
ja 0x443b3a
sub edi, edx
mov eax, 0x2aaaaaab
imul edi
mov eax, dword [ebx]
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp eax, dword [ebx + 4]
jne 0x443ae7
push ecx
call fcn.00415380
mov eax, dword [ebx - 4]
lea ecx, [edi + edi*2]
lea edi, [eax + ecx*8]
mov ecx, dword [ebx]
mov dword [ebp - 0x8dc], ecx
test ecx, ecx
je 0x443bab
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
cmp dword [edi + 0x14], 0x10
jae 0x443b84
mov eax, dword [edi + 0x10]
inc eax
je 0x443b8e
push eax
push edi
push ecx
call fcn.00577540
mov ecx, dword [ebp - 0x8dc]
add esp, 0xc
jmp 0x443b8e
push 0x606388
call fcn.0059958d
cmp eax, dword [ebx + 4]
jne 0x443b48
push ecx
lea ecx, [ebx - 4]
call fcn.00415380
mov ecx, dword [ebx]
mov dword [ebp - 0x8dc], ecx
test ecx, ecx
je 0x443bab
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
cmp dword [edi + 0x14], 0x10
jae 0x443b84
mov eax, dword [edi + 0x10]
inc eax
je 0x443b8e
push eax
push edi
push ecx
call fcn.00577540
mov ecx, dword [ebp - 0x8dc]
add esp, 0xc
jmp 0x443b8e
mov eax, dword [edi]
mov dword [ecx], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x14], eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
add dword [ebx], 0x18
mov byte [ebp - 4], 0
cmp dword [ebp - 0x25c], 0x10
jb 0x443bc9
push dword [ebp - 0x270]
call fcn.0044f461
add esp, 4
lea eax, [ebp - 0x6a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x443aa0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x6a4]
jmp 0x443bf5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x8e4]
add esi, 0x40
add ebx, 0x40
mov dword [ebp - 0x6a4], esi
cmp esi, dword [eax + 4]
jne 0x443a60
push 0
call fcn.004433a0
push dword [ebp - 0x8e0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x258]
call fcn.0042c4a0
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.00577343
mov esp, ebp
pop ebp
ret