Function at 0x2687a48e
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x268edf5c
call fcn.268eb4dc
sub esp, 0xa7c
push ebx
push esi
push edi
xor ebx, ebx
push 0x268f1584
lea esi, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.268e2ff3
xor edi, edi
inc edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x134], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x2687a4de
mov esi, dword [ebp + 0xc]
mov dword [esi], ebx
jmp 0x2687a60f
cmp dword [ebp + 0x10], 0xffffffff
jne 0x2687a4ed
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0x124], 2
jne 0x2687a64a
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x2687a643
push dword [ebp + 0x10]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp + 0x10], eax
jne 0x2687a54d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x138e5
push eax
call dword [ecx + 0x3c]
mov ebx, 0x268f3f58
call fcn.268e6bb2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x2687a666
push str.EnumProcessModules
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
push str.GetModuleFileNameExW
push dword [ebp - 0x18]
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x20], eax
je 0x2687a631
cmp eax, ebx
je 0x2687a631
lea eax, [ebp - 0x1c]
push eax
push 0x320
lea eax, [ebp - 0xa88]
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
test eax, eax
je 0x2687a5f2
mov ecx, dword [ebp - 0x1c]
shr ecx, 2
mov eax, 0xc8
cmp ecx, eax
mov ebx, ecx
jb 0x2687a5a9
mov ebx, eax
cmp ebx, edi
mov esi, edi
jle 0x2687a5f2
push 0x20a
lea eax, [ebp - 0x340]
push eax
push dword [ebp + esi*4 - 0xa88]
push dword [ebp + 0x10]
call dword [ebp - 0x20]
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.268e33a7
lea eax, [ebx - 1]
cmp esi, eax
je 0x2687a5ed
push 0x268f163c
lea eax, [ebp - 0x10]
push eax
call fcn.268e33a7
inc esi
cmp esi, ebx
jl 0x2687a5af
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
call fcn.26869bdf
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.268e3036
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp + 0xc]
mov dword [esi], ebx
jmp 0x2687a60f
cmp dword [ebp - 0x124], edi
jne 0x2687a604
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x18], ebx
jne 0x2687a66e
mov esi, dword [ebp + 0xc]
and dword [esi], 0
jmp 0x2687a60f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x26912dec
push ebx
call esi
push str.Module32First
push ebx
mov dword [ebp + 8], eax
call esi
push str.Module32Next
push ebx
mov dword [ebp - 0x1c], eax
call esi
xor esi, esi
cmp dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
je 0x2687a78e
cmp eax, esi
je 0x2687a78e
cmp dword [ebp + 8], esi
je 0x2687a78e
push dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x768], esi
mov ecx, 0x109
lea edi, [ebp - 0x764]
push 8
rep stosd dword es:[edi], eax
call dword [ebp + 8]
mov edi, eax
cmp edi, 0xffffffff
jne 0x2687a6fb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp + 0xc]
mov dword [edi], esi
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.268e3036
mov eax, edi
jmp 0x2687a620
lea eax, [ebp - 0x768]
push eax
push edi
mov dword [ebp - 0x768], 0x428
call dword [ebp - 0x1c]
test eax, eax
je 0x2687a77f
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x974]
push eax
push esi
lea ecx, [ebp - 0x548]
call fcn.268634ae
lea eax, [ebp - 0x340]
push str..EXE
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x14
test eax, eax
je 0x2687a770
cmp ebx, esi
jne 0x2687a75e
push 0x268f163c
lea eax, [ebp - 0x10]
push eax
call fcn.268e33a7
jmp 0x2687a760
xor ebx, ebx
lea eax, [ebp - 0x548]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.268e33a7
lea eax, [ebp - 0x768]
push eax
push edi
call dword [ebp - 0x20]
test eax, eax
jne 0x2687a717
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
inc edi
jmp 0x2687a5fb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [ebp + 0xc]
mov dword [ebx], esi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.268e3036
mov eax, ebx
jmp 0x2687a620