Function at 0x100321f0
Capabilities:
Acquire debug privileges
Link many functions at runtime

Disassembly:
mov eax, 0x1858
call fcn.10126240
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x1854], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1864]
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp + 4]
mov dword [ebp], ebx
mov dword [edi], eax
push 0x207
mov dword [edi + 4], eax
lea eax, [esp + 0x125d]
push ebx
push eax
mov byte [esp + 0x1264], bl
call fcn.10116880
push 0x207
lea ecx, [esp + 0x1061]
push ebx
push ecx
mov byte [esp + 0x1068], bl
call fcn.10116880
mov eax, dword [0x1019ce98]
add esp, 0x18
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x1003227d
mov ecx, str.PSAPI.DLL
call fcn.10032000
mov dword [0x1019ce98], eax
cmp eax, ebx
je 0x10032694
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x1019ce84], ebx
jne 0x1003229d
push str.EnumProcesses
push eax
call esi
mov dword [0x1019ce84], eax
mov eax, dword [0x1019ce98]
cmp dword [0x1019ce88], ebx
jne 0x100322b7
push str.EnumProcessModules
push eax
call esi
mov dword [0x1019ce88], eax
mov eax, dword [0x1019ce98]
cmp dword [0x1019ce8c], ebx
jne 0x100322d1
push str.GetModuleBaseNameA
push eax
call esi
mov dword [0x1019ce8c], eax
mov eax, dword [0x1019ce98]
cmp dword [0x1019ce90], ebx
jne 0x100322eb
push str.GetModuleFileNameExA
push eax
call esi
mov dword [0x1019ce90], eax
mov eax, dword [0x1019ce98]
cmp dword [0x1019ce94], ebx
jne 0x10032300
push str.GetProcessImageFileNameA
push eax
call esi
mov dword [0x1019ce94], eax
cmp dword [0x1019ce84], ebx
je 0x1003267c
cmp dword [0x1019ce8c], ebx
je 0x1003267c
cmp dword [0x1019ce88], ebx
je 0x1003267c
cmp dword [0x1019ce90], ebx
je 0x1003267c
xor ebx, ebx
mov ecx, str.SeDebugPrivilege
call fcn.10048c40
lea edx, [esp + 0x2c]
push edx
push 0x1000
lea eax, [esp + 0x58]
push eax
call dword [0x1019ce84]
mov eax, dword [esp + 0x2c]
shr eax, 2
cmp eax, ebx
mov dword [esp + 0x30], eax
jle 0x10032694
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + ecx*4 + 0x50]
push edx
push 0x20410
mov byte [esp + 0x1058], bl
mov byte [esp + 0x1260], bl
call fcn.1005f650
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
cmp esi, ebx
je 0x10032667
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x30], 0x103
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x28], 0x103
jne 0x10032667
lea ecx, [esp + 0x4c]
push ecx
push 4
lea edx, [esp + 0x2c]
push edx
push esi
call dword [0x1019ce88]
test eax, eax
je 0x100324ca
mov ecx, dword [esp + 0x24]
push 0x208
lea eax, [esp + 0x125c]
push eax
push ecx
push esi
call dword [0x1019ce8c]
mov eax, dword [esp + 0x24]
push 0x208
lea edx, [esp + 0x1054]
push edx
push eax
push esi
call dword [0x1019ce90]
cmp byte [esp + 0x1050], bl
je 0x1003258d
push 4
mov eax, str.___
lea ecx, [esp + 0x1054]
call fcn.100318e0
add esp, 4
test eax, eax
jne 0x10032442
lea ecx, [esp + 0x1054]
push ecx
lea edx, [esp + 0x1054]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
lea eax, [esp + 0x1054]
push eax
call sym.EncDec.dll_IsItEnvStringType
lea ecx, [esp + 0x1050]
push 0x7e
push ecx
call fcn.1010d780
add esp, 8
test eax, eax
je 0x1003258d
push 0x3ff
lea edx, [esp + 0x1465]
push ebx
push edx
call fcn.10116880
add esp, 0xc
push 0x400
lea eax, [esp + 0x1464]
push eax
lea ecx, [esp + 0x1058]
push ecx
mov byte [esp + 0x146c], bl
call dword [0x1017eafc]
dec eax
cmp eax, 0x102
ja 0x1003258d
lea edx, [esp + 0x1460]
push edx
lea eax, [esp + 0x1054]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1003258d
mov eax, dword [0x1019ce94]
cmp eax, ebx
je 0x1003258d
push 0x208
lea ecx, [esp + 0x1054]
push ecx
push esi
call eax
cmp byte [esp + 0x1050], bl
je 0x1003258d
lea edx, [esp + 0x1050]
push edx
call sym.EncDec.dll_ConvertDeviceName
lea eax, [esp + 0x1050]
push 0x7e
push eax
call fcn.1010d780
add esp, 8
test eax, eax
je 0x1003256d
push 0x3ff
lea ecx, [esp + 0x1465]
push ebx
push ecx
call fcn.10116880
add esp, 0xc
push 0x400
lea edx, [esp + 0x1464]
push edx
lea eax, [esp + 0x1058]
push eax
mov byte [esp + 0x146c], bl
call dword [0x1017eafc]
dec eax
cmp eax, 0x206
ja 0x1003256d
lea ecx, [esp + 0x1460]
push ecx
lea edx, [esp + 0x1054]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x1050], bl
je 0x1003258d
lea eax, [esp + 0x1258]
push eax
lea ecx, [esp + 0x1054]
call fcn.10045a10
add esp, 4
cmp byte [esp + 0x1258], bl
je 0x10032659
lea ecx, [esp + 0x1258]
push 0x5c
push ecx
call fcn.1010e930
add esp, 8
mov eax, str.explorer.exe
lea ecx, [esp + 0x1258]
call fcn.10031890
test eax, eax
jne 0x10032659
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x1003264b
cmp dword [ebp], ebx
jne 0x10032623
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x50]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [ebp], ecx
mov dword [edi], edx
mov dword [edi + 4], eax
jmp 0x1003264b
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x1003264b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + edx*4 + 0x50]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov dword [edi], ecx
mov dword [edi + 4], edx
lea eax, [esp + 0x20]
push eax
call fcn.100673f0
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x10032667
lea ecx, [esp + 0x20]
push ecx
call fcn.100673f0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jl 0x10032364
jmp 0x10032694
mov dword [0x1019ce84], ebx
mov dword [0x1019ce8c], ebx
mov dword [0x1019ce88], ebx
mov dword [0x1019ce90], ebx
mov ecx, dword [esp + 0x1864]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.1010d699
add esp, 0x1858
ret 4