Function at 0x93dc20
Capabilities:
Acquire debug privileges
Check os version
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xa9a19b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2694
call fcn.00a91950
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x2690], eax
push ebx
push esi
push edi
mov eax, dword [0xb196ec]
xor eax, esp
push eax
lea eax, [esp + 0x26a8]
mov dword fs:[0], eax
lea ecx, [esp + 0x6c]
call fcn.0097f770
xor edi, edi
push 0x90
lea eax, [esp + 0x111c]
mov dword [esp + 0x26b4], edi
push edi
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1120], edi
call fcn.00a7ffb0
add esp, 0xc
mov dword [esp + 0x14], edi
call fcn.00968110
push 0x103
lea ecx, [esp + 0x1999]
push edi
push ecx
mov dword [esp + 0x58], eax
mov byte [esp + 0x19a0], 0
call fcn.00a7ffb0
add esp, 0xc
push str.IsWow64Process
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
lea edx, [esp + 0x1114]
push edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x1118], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x93e71f
push 0x104
lea eax, [esp + 0x1998]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [esp + 0x1994], 0
je 0x93dd2a
lea ecx, [esp + 0x1994]
call fcn.00960910
mov eax, dword [esp + 0x1124]
cmp eax, 2
jne 0x93e4c6
mov ecx, str.PSAPI.DLL
call fcn.0094c620
mov ebx, eax
mov dword [esp + 0x40], ebx
cmp ebx, edi
je 0x93e71f
mov ecx, str.VDMDBG.DLL
call fcn.0094c620
push str.EnumProcesses
push ebx
mov dword [esp + 0x4c], eax
call esi
push str.EnumProcessModules
push ebx
mov edi, eax
call esi
push str.GetModuleFileNameExA
push ebx
mov dword [esp + 0x3c], eax
call esi
push str.GetModuleBaseNameA
push ebx
mov dword [esp + 0x30], eax
call esi
push str.GetProcessImageFileNameA
push ebx
call esi
mov dword [esp + 0x50], eax
test edi, edi
je 0x93e4a9
cmp dword [esp + 0x34], 0
je 0x93e4a9
cmp dword [esp + 0x28], 0
je 0x93e4a9
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ebx, ebx
mov eax, 0x400
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], eax
lea esp, [esp]
test ebx, ebx
je 0x93ddee
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x1c]
add eax, eax
mov dword [esp + 0x1c], eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x93df91
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x48]
push ecx
push edx
push ebx
call edi
test eax, eax
je 0x93dfb2
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x93ddd0
mov eax, dword [ebp + 8]
shr ecx, 2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ecx
test eax, eax
je 0x93de3d
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], 0
test ecx, ecx
jbe 0x93e47c
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x14], 0
jne 0x93e47c
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
jbe 0x93e460
mov eax, dword [ebp + 8]
test eax, eax
je 0x93de76
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
mov byte [esp + 0x1594], 0
mov eax, dword [edx]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x93e069
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov esi, eax
cmp esi, 5
jne 0x93e035
push 0x90
lea ecx, [esp + 0x11b4]
push 0
push ecx
call fcn.00a7ffb0
add esp, 0xc
lea edx, [esp + 0x11ac]
push edx
mov dword [esp + 0x11b0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 2
cmp dword [esp + 0x11bc], edi
jne 0x93e035
lea eax, [esp + 0x20]
push eax
push 0
push 0x28
mov dword [esp + 0x64], 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x93df3c
call ebx
cmp eax, 0x3f0
jne 0x93e035
lea ecx, [esp + 0x20]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x93e035
lea edx, [esp + 0x60]
push edx
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x74], edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x108]
push ecx
push 0x10
lea edx, [esp + 0x68]
push edx
push 0
push eax
call edi
test eax, eax
jne 0x93dfe3
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x93e035
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
call esi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x93e71f
push eax
call esi
jmp 0x93e71f
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ecx
call esi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x93e71f
push eax
call esi
jmp 0x93e71f
call ebx
cmp eax, 0x514
jne 0x93dff9
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x93e035
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 0
push 0x10
lea edx, [esp + 0x110]
push edx
mov ebx, eax
mov eax, dword [esp + 0x30]
push 0
push eax
call edi
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x93e069
call fcn.00968d70
test eax, eax
je 0x93e460
cmp esi, 5
jne 0x93e460
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x93e460
xor esi, esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x4c], esi
je 0x93e09a
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x93e09a
lea ecx, [esp + 0x38]
push ecx
push ebx
mov dword [esp + 0x40], esi
call eax
test eax, eax
je 0x93e09a
xor edx, edx
cmp dword [esp + 0x38], esi
sete dl
mov dword [esp + 0x24], edx
cmp dword [0xbd0514], 1
je 0x93e0ad
cmp dword [esp + 0x50], esi
jne 0x93e2f3
lea eax, [esp + 0x1c]
push eax
push 0x1000
lea ecx, [esp + 0x11c]
push ecx
push ebx
call dword [esp + 0x44]
test eax, eax
je 0x93e2e9
test dword [esp + 0x1c], 0xfffffffc
jbe 0x93e455
lea ebx, [ebx]
cmp dword [esp + 0x14], 0
jne 0x93e455
mov eax, dword [ebp + 8]
test eax, eax
je 0x93e0f8
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + esi*4 + 0x114]
push 0x400
lea eax, [esp + 0x1598]
push eax
push ecx
push ebx
call dword [esp + 0x38]
test eax, eax
jne 0x93e11f
mov byte [esp + 0x1594], al
jmp 0x93e15a
cmp byte [esp + 0x1594], 0
je 0x93e15a
push 4
lea edx, [esp + 0x1598]
push str.___
push edx
call fcn.00a891c8
add esp, 0xc
test eax, eax
jne 0x93e15a
lea eax, [esp + 0x1598]
push eax
lea ecx, [esp + 0x1598]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x1594]
push 0x7e
push edx
call fcn.00a7a2c0
add esp, 8
test eax, eax
je 0x93e1b1
push 0x800
lea eax, [esp + 0x1ea0]
push eax
lea ecx, [esp + 0x159c]
push ecx
mov byte [esp + 0x1ea8], 0
call dword [str.__0uBlocked]
dec eax
cmp eax, 0x3fe
ja 0x93e1b1
lea edx, [esp + 0x1e9c]
push edx
lea eax, [esp + 0x1598]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x1594], 0
je 0x93e2d4
push 4
mov eax, str.___
lea ecx, [esp + 0x1598]
call fcn.0094c380
add esp, 4
test eax, eax
jne 0x93e1ef
lea ecx, [esp + 0x1598]
push ecx
lea edx, [esp + 0x1598]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x1594], 0
je 0x93e2d4
lea eax, [esp + 0x1594]
push 0x5c
push eax
call fcn.00a7a2c0
add esp, 8
test eax, eax
je 0x93e2d4
cmp dword [esp + 0x4c], 0
je 0x93e260
cmp dword [esp + 0x24], 0
jne 0x93e260
cmp byte [esp + 0x1994], 0
je 0x93e260
lea eax, [esp + 0x1994]
lea ecx, [esp + 0x1594]
call fcn.0094c3e0
test eax, eax
jne 0x93e260
push str.SysWOW64_
lea ecx, [esp + 0x1598]
push str._system32_
push ecx
call fcn.0095e130
add esp, 0xc
test esi, esi
jne 0x93e288
cmp byte [esp + 0x1594], 0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
je 0x93e2d4
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x70]
push edx
push eax
lea edi, [esp + 0x15a0]
jmp 0x93e2c2
lea eax, [esp + 0x1594]
push eax
lea ecx, [esp + 0x1ea0]
push 0xae6f4c
push ecx
call fcn.00a78f30
add esp, 0xc
cmp byte [esp + 0x1e9c], 0
je 0x93e2d4
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x70]
push eax
push 0
lea edi, [esp + 0x1ea8]
call fcn.0093db30
add esp, 0xc
test eax, eax
je 0x93e2d4
inc dword [0xbd74f4]
mov ecx, dword [esp + 0x1c]
inc esi
shr ecx, 2
cmp esi, ecx
jb 0x93e0e0
jmp 0x93e455
cmp dword [esp + 0x50], esi
je 0x93e455
push 0x400
lea edx, [esp + 0x1598]
push edx
push ebx
call dword [esp + 0x5c]
cmp byte [esp + 0x1594], 0
je 0x93e455
lea ecx, [esp + 0x1594]
call fcn.00971e30
lea eax, [esp + 0x1594]
push 0x7e
push eax
call fcn.00a7a2c0
add esp, 8
test eax, eax
je 0x93e376
push 0x400
lea ecx, [esp + 0x1aa0]
push ecx
lea edx, [esp + 0x159c]
push edx
mov byte [esp + 0x1aa8], 0
call dword [str.__0uBlocked]
dec eax
cmp eax, 0x3fe
ja 0x93e376
lea eax, [esp + 0x1a9c]
push eax
lea ecx, [esp + 0x1598]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x1594], 0
je 0x93e455
push 4
mov eax, str.___
lea ecx, [esp + 0x1598]
call fcn.0094c380
add esp, 4
test eax, eax
jne 0x93e3b4
lea edx, [esp + 0x1598]
push edx
lea eax, [esp + 0x1598]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x1594], 0
je 0x93e455
lea ecx, [esp + 0x1594]
push 0x5c
push ecx
call fcn.00a7a2c0
add esp, 8
test eax, eax
je 0x93e455
cmp dword [esp + 0x4c], 0
je 0x93e421
cmp dword [esp + 0x24], 0
jne 0x93e421
cmp byte [esp + 0x1994], 0
je 0x93e421
lea eax, [esp + 0x1994]
lea ecx, [esp + 0x1594]
call fcn.0094c3e0
test eax, eax
jne 0x93e421
push str.SysWOW64_
lea edx, [esp + 0x1598]
push str._system32_
push edx
call fcn.0095e130
add esp, 0xc
cmp byte [esp + 0x1594], 0
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
je 0x93e455
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x70]
push edx
push eax
lea edi, [esp + 0x15a0]
call fcn.0093db30
add esp, 0xc
test eax, eax
je 0x93e455
inc dword [0xbd74f4]
test ebx, ebx
je 0x93e460
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x18], 4
mov ebx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x48]
jb 0x93de51
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x93e711
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esp + 0x40]
push edx
jmp 0x93e719
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call esi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x93e71f
push eax
call esi
jmp 0x93e71f
cmp eax, 1
jne 0x93e71f
mov ecx, str.Kernel32.DLL
call fcn.0094c620
mov ebx, eax
mov dword [esp + 0x40], ebx
test ebx, ebx
je 0x93e71f
push str.CreateToolhelp32Snapshot
push ebx
call esi
push str.Process32First
push ebx
mov dword [esp + 0x34], eax
call esi
push str.Process32Next
push ebx
mov edi, eax
call esi
push str.Module32First
push ebx
mov dword [esp + 0x40], eax
call esi
push str.Module32Next
push ebx
mov dword [esp + 0x30], eax
call esi
cmp dword [esp + 0x38], 0
mov dword [esp + 0x34], eax
je 0x93e718
test edi, edi
je 0x93e718
cmp dword [esp + 0x28], 0
je 0x93e718
test eax, eax
je 0x93e718
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x93e718
push 0
push 2
call eax
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x93e718
lea ecx, [esp + 0x1244]
push ecx
push eax
mov dword [esp + 0x124c], 0x128
call edi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x93e589
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
test eax, eax
je 0x93e706
jmp 0x93e5a3
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x14], 0
jne 0x93e706
test ecx, ecx
je 0x93e5b8
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 0x1268]
mov byte [esp + eax + 0x1594], cl
inc eax
test cl, cl
jne 0x93e5c0
cmp byte [esp + 0x1594], cl
je 0x93e627
lea ecx, [esp + 0x1594]
push 0x5c
push ecx
call fcn.00a7a2c0
add esp, 8
test eax, eax
je 0x93e627
cmp byte [esp + 0x1594], 0
je 0x93e627
mov ecx, dword [esp + 0x124c]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x70]
push eax
push ecx
lea edi, [esp + 0x15a0]
call fcn.0093db30
add esp, 0xc
test eax, eax
je 0x93e627
inc dword [0xbd74f4]
mov edx, dword [esp + 0x124c]
push edx
push 8
call dword [esp + 0x34]
mov esi, eax
cmp esi, 0xffffffff
je 0x93e6e2
lea eax, [esp + 0x136c]
push eax
push esi
mov dword [esp + 0x1374], 0x224
call dword [esp + 0x30]
test eax, eax
je 0x93e6db
mov ebx, dword [esp + 0x34]
cmp dword [esp + 0x14], 0
jne 0x93e6db
mov eax, dword [ebp + 8]
test eax, eax
je 0x93e674
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
xor eax, eax
jmp 0x93e680
mov cl, byte [esp + eax + 0x138c]
mov byte [esp + eax + 0x1594], cl
inc eax
test cl, cl
jne 0x93e680
cmp byte [esp + 0x1594], cl
je 0x93e6c1
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x70]
push eax
push 0
lea edi, [esp + 0x15a0]
call fcn.0093db30
add esp, 0xc
test eax, eax
je 0x93e6c1
inc dword [0xbd74f4]
lea ecx, [esp + 0x136c]
push ecx
push esi
mov dword [esp + 0x1374], 0x224
call ebx
test eax, eax
jne 0x93e660
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1244]
push edx
push eax
mov dword [esp + 0x124c], 0x128
call dword [esp + 0x40]
test eax, eax
jne 0x93e5a0
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x40]
push edx
jmp 0x93e719
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x6c]
call fcn.0097f8c0
mov esi, dword [0xbd74f4]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x26b0], 0xffffffff
call fcn.0097f840
mov eax, esi
mov ecx, dword [esp + 0x26a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2690]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret 4