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

Disassembly:
push ebp
lea ebp, [esp - 0x1424]
mov eax, 0x1424
call fcn.10126240
push 0xfffffffffffffffe
push 0x1016e098
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x102c
call fcn.10126240
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1420], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x142c]
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp + 0x1430]
mov dword [ebp - 0x34], edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov byte [ebp + 0xe08], bl
push 0x207
push ebx
lea ecx, [ebp + 0xe09]
push ecx
call fcn.10116880
mov byte [ebp + 0x1218], bl
push 0x207
push ebx
lea edx, [ebp + 0x1219]
push edx
call fcn.10116880
mov dword [ebp - 0x20], ebx
mov byte [ebp + 0x1114], bl
push 0x103
push ebx
lea eax, [ebp + 0x1115]
push eax
call fcn.10116880
mov esi, 0x104
mov dword [ebp - 0x28], esi
mov byte [ebp + 0x1010], bl
push 0x103
push ebx
lea ecx, [ebp + 0x1011]
push ecx
call fcn.10116880
add esp, 0x30
mov dword [ebp - 0x3c], esi
lea ecx, [ebp - 0x3c]
lea edx, [ebp + 0x1010]
call fcn.10037780
test eax, eax
je 0x100612e9
mov edx, dword [ebp - 0x3c]
mov byte [ebp + edx + 0x1010], bl
cmp edi, ebx
je 0x100612ef
mov dword [edi], ebx
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10061834
cmp byte [eax], bl
je 0x10061834
mov eax, dword [0x101a216c]
cmp eax, ebx
jne 0x10061322
mov ecx, str.PSAPI.DLL
call fcn.10032000
mov dword [0x101a216c], eax
cmp eax, ebx
je 0x10061834
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x101a2158], ebx
jne 0x10061342
push str.EnumProcesses
push eax
call esi
mov dword [0x101a2158], eax
mov eax, dword [0x101a216c]
cmp dword [0x101a215c], ebx
jne 0x1006135c
push str.EnumProcessModules
push eax
call esi
mov dword [0x101a215c], eax
mov eax, dword [0x101a216c]
cmp dword [0x101a2160], ebx
jne 0x10061376
push str.GetModuleBaseNameA
push eax
call esi
mov dword [0x101a2160], eax
mov eax, dword [0x101a216c]
cmp dword [0x101a2164], ebx
jne 0x10061390
push str.GetModuleFileNameExA
push eax
call esi
mov dword [0x101a2164], eax
mov eax, dword [0x101a216c]
cmp dword [0x101a2168], ebx
jne 0x100613aa
push str.GetProcessImageFileNameA
push eax
call esi
mov dword [0x101a2168], eax
mov eax, dword [0x101a216c]
cmp dword [0x101a2158], ebx
je 0x1006180f
cmp dword [0x101a2160], ebx
je 0x1006180f
cmp dword [0x101a215c], ebx
je 0x1006180f
cmp dword [0x101a2164], ebx
je 0x1006180f
xor ebx, ebx
mov ecx, str.SeDebugPrivilege
call fcn.10048c40
lea eax, [ebp - 0x40]
push eax
push 0x1000
lea ecx, [ebp - 0x1044]
push ecx
call dword [0x101a2158]
mov edi, dword [ebp - 0x40]
shr edi, 2
mov eax, dword [ebp - 0x20]
cmp eax, edi
jge 0x10061857
xor ebx, ebx
mov byte [ebp + 0x1218], bl
mov byte [ebp + 0xe08], bl
mov edx, dword [ebp + eax*4 - 0x1044]
push edx
push 0x20410
call fcn.1005f650
add esp, 8
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x100616e4
lea eax, [ebp - 0x44]
push eax
push 4
lea ecx, [ebp - 0x38]
push ecx
push esi
call dword [0x101a215c]
test eax, eax
je 0x10061535
push 0x208
lea edx, [ebp + 0xe08]
push edx
mov eax, dword [ebp - 0x38]
push eax
push esi
call dword [0x101a2160]
push 0x208
lea ecx, [ebp + 0x1218]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push esi
call dword [0x101a2164]
cmp byte [ebp + 0x1218], bl
je 0x100615f1
push 4
push str.___
lea eax, [ebp + 0x1218]
push eax
call fcn.1011c70c
add esp, 0xc
test eax, eax
jne 0x100614be
lea ecx, [ebp + 0x121c]
push ecx
lea edx, [ebp + 0x1218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
lea eax, [ebp + 0x1218]
push eax
call sym.EncDec.dll_IsItEnvStringType
push 0x7e
lea ecx, [ebp + 0x1218]
push ecx
call fcn.1010d780
add esp, 8
test eax, eax
je 0x100615f1
mov byte [ebp], bl
push 0x3ff
push ebx
lea edx, [ebp + 1]
push edx
call fcn.10116880
add esp, 0xc
mov byte [ebp], bl
push 0x400
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x1218]
push ecx
call dword [0x1017eafc]
dec eax
cmp eax, 0x206
ja 0x100615f1
lea edx, [ebp]
push edx
lea eax, [ebp + 0x1218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x100615f1
mov eax, dword [0x101a2168]
cmp eax, ebx
je 0x100615f1
push 0x208
lea ecx, [ebp + 0x1218]
push ecx
push esi
call eax
cmp byte [ebp + 0x1218], bl
je 0x100615f1
lea edx, [ebp + 0x1218]
push edx
call sym.EncDec.dll_ConvertDeviceName
push 0x7e
lea eax, [ebp + 0x1218]
push eax
call fcn.1010d780
add esp, 8
test eax, eax
je 0x100615d4
mov byte [ebp + 0x400], bl
push 0x3ff
push ebx
lea ecx, [ebp + 0x401]
push ecx
call fcn.10116880
add esp, 0xc
mov byte [ebp + 0x400], bl
push 0x400
lea edx, [ebp + 0x400]
push edx
lea eax, [ebp + 0x1218]
push eax
call dword [0x1017eafc]
dec eax
cmp eax, 0x206
ja 0x100615d4
lea ecx, [ebp + 0x400]
push ecx
lea edx, [ebp + 0x1218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp + 0x1218], bl
je 0x100615f1
lea eax, [ebp + 0xe08]
push eax
lea ecx, [ebp + 0x1218]
call fcn.10045a10
add esp, 4
mov dword [ebp - 0x30], ebx
mov byte [ebp + 0x800], bl
push 0x3ff
push ebx
lea ecx, [ebp + 0x801]
push ecx
call fcn.10116880
push 1
push 0x2c
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp + 0x800]
mov ecx, dword [ebp - 0x2c]
call fcn.10045850
add esp, 0x18
cmp dword [ebp - 0x30], 0xffffffff
je 0x100616d4
push 0x5c
lea eax, [ebp + 0x800]
push eax
call fcn.1010d780
add esp, 8
test eax, eax
jne 0x10061736
cmp byte [ebp + 0xe08], bl
je 0x10061718
cmp eax, ebx
jne 0x100616fa
lea eax, [ebp + 0x800]
lea ecx, [ebp + 0xe08]
call fcn.10031890
cmp eax, ebx
jne 0x10061718
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x10061688
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp + edx*4 - 0x1044]
mov dword [eax], ecx
mov byte [ebp + 0x1114], bl
mov dword [ebp - 0x28], 0x104
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp + 0x1114]
push eax
push esi
call sym.EncDec.dll_GetProcessUserFromHandle
lea eax, [ebp + 0x1010]
lea ecx, [ebp + 0x1114]
call fcn.10031890
test eax, eax
jne 0x10061718
cmp esi, ebx
je 0x100616cd
lea ecx, [ebp - 0x1c]
push ecx
call fcn.100673f0
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], 1
cmp esi, ebx
je 0x100616e4
lea edx, [ebp - 0x1c]
push edx
call fcn.100673f0
mov dword [ebp - 0x1c], ebx
mov eax, 1
cmp dword [ebp - 0x24], eax
je 0x10061857
add dword [ebp - 0x20], eax
jmp 0x10061402
lea ecx, [ebp + 0x800]
push ecx
lea ecx, [ebp + 0xe08]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
jne 0x10061675
push 1
push 0x2c
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp + 0x800]
mov ecx, dword [ebp - 0x2c]
call fcn.10045850
add esp, 0xc
jmp 0x10061625
cmp byte [ebp + 0x1218], bl
je 0x10061718
mov byte [ebp + 0xc00], bl
push 0x207
push ebx
lea edx, [ebp + 0xc01]
push edx
call fcn.10116880
add esp, 0xc
lea eax, [ebp + 0x1218]
push eax
lea ecx, [ebp + 0xc00]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp + 0xc00]
push edx
call fcn.10042c70
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp + 0x1218]
call fcn.10047020
add esp, 8
cmp eax, 0xffffffff
jne 0x100617b1
lea ecx, [ebp + 0x800]
push ecx
lea ecx, [ebp + 0xc00]
call fcn.10047020
add esp, 4
cmp eax, 0xffffffff
je 0x10061718
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x100617c4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp + edx*4 - 0x1044]
mov dword [eax], ecx
mov byte [ebp + 0x1114], bl
mov dword [ebp - 0x28], 0x104
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp + 0x1114]
push eax
push esi
call sym.EncDec.dll_GetProcessUserFromHandle
lea ecx, [ebp + 0x1010]
push ecx
lea edx, [ebp + 0x1114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10061718
cmp esi, ebx
je 0x100616cd
lea eax, [ebp - 0x1c]
push eax
jmp 0x100616c3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x101a216c], ebx
mov dword [0x101a2158], ebx
mov dword [0x101a2160], ebx
mov dword [0x101a215c], ebx
mov dword [0x101a2164], ebx
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x10061861
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1420]
xor ecx, ebp
call fcn.1010d699
add ebp, 0x1424
mov esp, ebp
pop ebp
ret 8