Function at 0x464890
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cd2eb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2294
call fcn.004b2070
mov eax, dword [0x504c94]
xor eax, esp
mov dword [esp + 0x2290], eax
push ebx
push esi
push edi
mov eax, dword [0x504c94]
xor eax, esp
push eax
lea eax, [esp + 0x22a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
push str.psapi.dll
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x464c78
push str.SeDebugPrivilege
call fcn.004647c0
add esp, 4
push str.EnumProcesses
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov ecx, dword [esp + 0x1c]
push str.EnumProcessModules
push ecx
mov ebx, eax
call edi
mov edx, dword [esp + 0x1c]
push str.GetModuleFileNameExW
push edx
mov dword [esp + 0x40], eax
call edi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push eax
push 0x400
lea ecx, [esp + 0x9c]
push ecx
call ebx
mov ebx, dword [esp + 0x2c]
shr ebx, 2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], 0
test ebx, ebx
jle 0x464c69
lea edx, [esp + 0x94]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [esp + 0x34], edi
test edi, edi
je 0x464c53
lea edx, [esp + 0x2c]
push edx
push 0x10
lea eax, [esp + 0x5c]
push eax
push edi
call dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x28], eax
jmp 0x4649c4
mov edi, dword [esp + 0x34]
mov edx, dword [esp + eax*4 + 0x54]
push 0x104
lea ecx, [esp + 0x2098]
push ecx
push edx
push edi
call dword [esp + 0x4c]
test eax, eax
jne 0x4649ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x464c32
cmp dword [ebp + 0xc], 0
je 0x464a50
lea eax, [esp + 0x2094]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464a00
sub eax, edx
sar eax, 1
mov edi, eax
js 0x464a47
jmp 0x464a20
movzx eax, word [esp + edi*2 + 0x2094]
cmp ax, 0x5c
je 0x464a47
movzx eax, ax
push eax
call fcn.004afbf6
add esp, 4
sub edi, 1
mov word [esp + edi*2 + 0x2096], ax
jns 0x464a20
lea edi, [esp + edi*2 + 0x2096]
jmp 0x464a57
lea edi, [esp + 0x2094]
mov ebx, dword [esp + 0x40]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
push ebx
push str.Looking_for___s_:__s
push ecx
call fcn.00466a00
add esp, 0x10
call fcn.00464750
add esp, 4
push ebx
push edi
call fcn.004ab635
add esp, 8
test eax, eax
jne 0x464c32
push ecx
mov ebx, esp
mov dword [esp + 0x24], esp
mov dword [esp + 0x4c], ebx
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x464c9c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.____found__adding
mov dword [esp + 0x22b4], 0
test ecx, 0xffff0000
jne 0x464bd2
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a5121
mov esi, eax
test esi, esi
je 0x464ba8
mov eax, edi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x464ba8
push edi
push eax
push esi
call fcn.004216fe
mov edi, eax
add esp, 0xc
test edi, edi
je 0x464ba8
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x464b3b
push esi
mov ecx, ebx
call fcn.0042151d
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [esp + 0x1c], edx
cmp eax, 0xffffffff
jne 0x464b56
push edi
call fcn.004ab8ea
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x464b7f.1
movzx edx, byte [eax + 0x464ccc]
jmp dword [edx*4 + 0x464cbc]
test esi, esi
jl 0x464cb0
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x464cb0
mov edx, dword [esp + 0x24]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x22b4], 0xffffffff
call fcn.00464750
mov eax, dword [esi + 0xc]
add esp, 4
mov dword [esp + 0x18], 1
test eax, eax
jne 0x464bee
xor ecx, ecx
jmp 0x464bf6
push str.____found__adding
call fcn.004ab8ea
add esp, 4
push eax
push str.____found__adding
mov ecx, ebx
call fcn.00423f13
jmp 0x464bac
mov ecx, dword [esi + 0x14]
sub ecx, eax
sar ecx, 2
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x464c14
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [edi], ecx
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x464c32
cmp eax, edi
jbe 0x464c1d
call fcn.004aba61
mov eax, dword [esi]
mov edx, dword [esp + 0x14]
push edi
push eax
push edx
lea eax, [esp + 0x58]
push eax
mov eax, esi
call fcn.00470230
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 1
mov dword [esp + 0x28], eax
jl 0x4649c0
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
add dword [esp + 0x14], 4
inc eax
cmp eax, ebx
mov dword [esp + 0x30], eax
jl 0x46497a
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x22a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2290]
xor ecx, esp
call fcn.004aaf83
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00421000
call fcn.0049d763
call fcn.0049d79b
push 0x80070057
call fcn.00421000
mov edi, edi
xchg byte [ebx + 0x46], cl
add byte [esi - 1426045364], ah
dec esp
inc esi
add byte [ebx + 0x464c], ch
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3