Function at 0x1003c6e0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.100e0760
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003c82c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.NtDll.dll
call ebx
push 0x10249ef8
mov dword [esi + 0x48], eax
call ebx
push 0x1024c528
mov dword [esi + 0x4c], eax
call ebx
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x50], eax
test ecx, ecx
pop ebx
je 0x1003c87e
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x1003c87e
test eax, eax
je 0x1003c87e
push str.NtQuerySystemInformation
push ecx
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x48]
push str.NtQueryInformationProcess
push eax
call edi
mov ecx, dword [esi + 0x48]
push str.NtWow64QueryInformationProcess64
push ecx
mov dword [esi + 0x34], eax
call edi
mov edx, dword [esi + 0x48]
push str.NtReadVirtualMemory
push edx
mov dword [esi + 0x38], eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x48]
push str.NtWow64ReadVirtualMemory64
push eax
call edi
mov ecx, dword [esi + 0x50]
push str.EnumProcesses
push ecx
mov dword [esi + 0x44], eax
call edi
mov edx, dword [esi + 0x50]
push str.GetModuleFileNameExA
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x50]
push str.GetModuleFileNameExW
push eax
call edi
mov dword [esi + 0x2c], eax
call fcn.100e07b0
test eax, eax
je 0x1003c7bf
mov ecx, dword [esi + 0x4c]
push str.ProcessIdToSessionId
push ecx
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1003c800
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1003c800
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1003c800
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1003c800
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1003c800
mov dword [esi + 0x54], 1
call fcn.100e07b0
test eax, eax
je 0x1003c800
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x1003c800
mov dword [esi + 0x54], 0
mov edx, dword [esi + 0x4c]
push str.IsWow64Process
push edx
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x50]
push str.GetProcessImageFileNameW
push eax
call edi
mov ecx, dword [esi + 0x4c]
push str.QueryFullProcessImageNameW
push ecx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
jmp 0x1003c87e
push 0x10249ef8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x4c], eax
je 0x1003c87e
push str.CreateToolhelp32Snapshot
push eax
call edi
mov edx, dword [esi + 0x4c]
push str.Process32First
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x4c]
push str.Process32Next
push eax
call edi
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x20], eax
test ecx, ecx
je 0x1003c87e
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x1003c87e
test eax, eax
je 0x1003c87e
mov dword [esi + 0x58], 1
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1003c89e
push str.GetLongPathNameA
push eax
call edi
mov ecx, dword [esi + 0x4c]
push str.GetLongPathNameW
push ecx
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x1003c8b3
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x1003c8b3
mov ecx, esi
call fcn.1003c8c0
pop edi
pop esi
ret