Function at 0x414370
Capabilities:
Acquire debug privileges
Enumerate process modules

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8880
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x268
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x274], esi
lea ecx, [ebp - 0x44]
push 0
push 0x6292df
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00403030
lea eax, [ebp - 0x274]
mov dword [ebp - 4], 0
push eax
push 0xf01ff
mov dword [ebp - 0x274], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x414453
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 2
push eax
push 0
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x224
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.005d05b0
add esp, 0xc
mov dword [ebp - 0x270], 0x224
push edi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x274], edi
cmp edi, 0xffffffff
jne 0x4144e5
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x6292df
mov byte [esi], 0
call fcn.00403030
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x414623
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4144d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414643
push edx
push ecx
call fcn.005b8996
add esp, 8
jmp 0x414623
lea eax, [ebp - 0x270]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x4145fd
lea eax, [ebp - 0x250]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
lea edx, [eax + 1]
mov byte [ebp - 0x2c], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414516
sub eax, edx
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.00403030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push 4
push 0x62e6d8
push 0
call fcn.00410870
add esp, 0xc
test eax, eax
jne 0x4145ab
lea eax, [ebp - 0x270]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32Next]
mov byte [ebp - 4], 0
mov edi, eax
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x41459e
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414594
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414643
push edx
push ecx
call fcn.005b8996
add esp, 8
test edi, edi
mov edi, dword [ebp - 0x274]
jmp 0x4144f5
lea ecx, [ebp - 0x150]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4145b4
sub ecx, edx
lea eax, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00403030
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4145fd
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4145f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414648
push edx
push ecx
call fcn.005b8996
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x44]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005d36fe
call fcn.005d36fe
int3