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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b074c
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x627490]
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.0043de10
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.00574900
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 0x43d668
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 0x43d66f
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 0x43d690
call edi
mov dword [ebx + 0xc], eax
jmp 0x43dd03
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 0x43db25
mov edi, edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00574900
mov eax, dword [ebp - 0x8d0]
lea edx, [ebp - 0x8b4]
add esp, 0xc
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x270]
call fcn.00421320
mov esi, eax
lea eax, [ebp - 0x254]
cmp eax, esi
je 0x43d78d
cmp dword [ebp - 0x240], 0x10
jb 0x43d722
push dword [ebp - 0x254]
call fcn.00448708
add esp, 4
mov dword [ebp - 0x240], 0xf
mov dword [ebp - 0x244], 0
mov byte [ebp - 0x254], 0
cmp dword [esi + 0x14], 0x10
jae 0x43d75c
mov eax, dword [esi + 0x10]
inc eax
je 0x43d76a
push eax
lea eax, [ebp - 0x254]
push esi
push eax
call fcn.005707f0
add esp, 0xc
jmp 0x43d76a
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 0x43d7a4
push dword [ebp - 0x270]
call fcn.00448708
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 0x43d818
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 0x43db0a
xor esi, esi
mov edi, edi
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x254]
add edx, esi
call fcn.00421510
test al, al
jne 0x43d818
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 0x43d7e0
jmp 0x43db0a
push dword [ebp - 0x8d0]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x43d928
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.00421320
mov esi, eax
lea eax, [ebp - 0x23c]
cmp eax, esi
je 0x43d908
cmp dword [ebp - 0x228], 0x10
jb 0x43d89d
push dword [ebp - 0x23c]
call fcn.00448708
add esp, 4
mov dword [ebp - 0x228], 0xf
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x23c], 0
cmp dword [esi + 0x14], 0x10
jae 0x43d8d7
mov eax, dword [esi + 0x10]
inc eax
je 0x43d8e5
push eax
lea eax, [ebp - 0x23c]
push esi
push eax
call fcn.005707f0
add esp, 0xc
jmp 0x43d8e5
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 0x43d91f
push dword [ebp - 0x270]
call fcn.00448708
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43d93a
push 1
push 0x5fd65c
lea ecx, [ebp - 0x23c]
call fcn.00404ba0
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x258]
cmp eax, ecx
jae 0x43da30
mov edi, dword [ebx]
cmp edi, eax
ja 0x43da30
mov edx, dword [ebx + 8]
mov esi, eax
sub esi, edi
cmp ecx, edx
jne 0x43d9b7
mov eax, edx
sub eax, ecx
sar eax, 6
cmp eax, 1
jae 0x43d9b7
sub ecx, edi
mov eax, 0x3ffffff
sar ecx, 6
sub eax, ecx
cmp eax, 1
jb 0x43dc10
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 0x43d9a0
xor edx, edx
jmp 0x43d9a2
add edx, ecx
cmp edx, dword [ebp - 0x8dc]
mov ecx, ebx
cmovb edx, dword [ebp - 0x8dc]
push edx
call fcn.0043dd30
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 0x43db02
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.00404770
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.00404770
mov byte [ebp - 4], 3
lea eax, [esi + 0x34]
lea ecx, [edi + 0x34]
jmp 0x43dafc
mov edx, dword [ebx + 8]
cmp ecx, edx
jne 0x43da84
mov eax, edx
sub eax, ecx
sar eax, 6
cmp eax, 1
jae 0x43da84
mov esi, dword [ebx]
mov eax, 0x3ffffff
sub ecx, esi
sar ecx, 6
sub eax, ecx
cmp eax, 1
jb 0x43dc10
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 0x43da75
xor edx, edx
jmp 0x43da77
add edx, ecx
cmp edx, edi
mov ecx, ebx
cmovb edx, edi
push edx
call fcn.0043dd30
mov esi, dword [ebx + 4]
mov dword [ebp - 0x8e8], esi
mov dword [ebp - 0x8dc], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x43db02
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.00404770
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.00404770
mov byte [ebp - 4], 6
lea eax, [ebp - 0x224]
lea ecx, [esi + 0x34]
push eax
call fcn.00429180
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 0x43d6c0
mov esi, dword [ebx]
mov dword [ebp - 0x6a4], esi
cmp esi, dword [ebx + 4]
je 0x43dcf0
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 0x43dcce
cmp dword [esi], 0
je 0x43dcce
mov esi, edi
lea ecx, [ecx]
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x270]
call fcn.00421320
mov edi, eax
mov byte [ebp - 4], 7
mov eax, dword [ebx]
cmp edi, eax
jae 0x43dc1a
mov edx, dword [ebx - 4]
lea ecx, [ebx - 4]
cmp edx, edi
ja 0x43dc1a
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 0x43dbc7
push ecx
call fcn.004150c0
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 0x43dc8b
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
cmp dword [edi + 0x14], 0x10
jae 0x43dc64
mov eax, dword [edi + 0x10]
inc eax
je 0x43dc6e
push eax
push edi
push ecx
call fcn.005707f0
mov ecx, dword [ebp - 0x8dc]
add esp, 0xc
jmp 0x43dc6e
push 0x5fdfcc
call fcn.005924dc
cmp eax, dword [ebx + 4]
jne 0x43dc28
push ecx
lea ecx, [ebx - 4]
call fcn.004150c0
mov ecx, dword [ebx]
mov dword [ebp - 0x8dc], ecx
test ecx, ecx
je 0x43dc8b
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
cmp dword [edi + 0x14], 0x10
jae 0x43dc64
mov eax, dword [edi + 0x10]
inc eax
je 0x43dc6e
push eax
push edi
push ecx
call fcn.005707f0
mov ecx, dword [ebp - 0x8dc]
add esp, 0xc
jmp 0x43dc6e
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 0x43dca9
push dword [ebp - 0x270]
call fcn.00448708
add esp, 4
lea eax, [ebp - 0x6a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x43db80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x6a4]
jmp 0x43dcd5
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 0x43db40
push 0
call fcn.0043d480
push dword [ebp - 0x8e0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x258]
call fcn.00428200
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.005705f2
mov esp, ebp
pop ebp
ret