Function at 0x100cf9e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x264
mov dword [0x101558f8], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x101558fc], esi
push edi
test esi, esi
je 0x100cfa29
mov esi, dword [esi]
test esi, esi
je 0x100cfa29
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101558fc]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
push 2
mov dword [esp + 0x38], 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x34], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x24], ebx
xor edi, edi
mov dword [esp + 0x14], eax
push 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
call fcn.100703c6
push 0x22c
mov esi, eax
call fcn.100703c6
push 0x22c
push edi
push eax
mov dword [esi], eax
call fcn.100747a0
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
add esp, 0x14
mov dword [eax], 0x22c
push esi
call fcn.1001ee30
mov eax, dword [esp + 0x18]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
test eax, eax
je 0x100cfaad
lea ecx, [eax + 4]
mov eax, 1
lock xadd dword [ecx], eax
lea ecx, [esp + 0x38]
call fcn.100e7830
test al, al
je 0x100cfd1b
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 7
xor ebx, ebx
mov word [esp + 0x38], ax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov eax, dword [eax]
test eax, eax
je 0x100cfb0e
lea edx, [eax + 0x24]
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100cfaf0
sub eax, esi
lea ecx, [esp + 0x38]
sar eax, 1
push eax
push edx
call fcn.1001a860
mov esi, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x64], 7
mov word [esp + 0x50], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cfb30
sub ecx, edx
lea eax, [esp + 0x68]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.1001a860
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x38]
cmp eax, dword [esp + 0x48]
lea ecx, [esp + 0x50]
cmovb eax, dword [esp + 0x48]
cmp dword [esp + 0x4c], 8
push eax
cmovae edx, esi
cmp dword [esp + 0x68], 8
mov esi, dword [esp + 0x54]
cmovae ecx, esi
call fcn.100d4190
add esp, 4
test eax, eax
mov eax, dword [esp + 0x64]
sete byte [esp + 0x13]
cmp eax, 8
jb 0x100cfbbf
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x100cfbb5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cfd96
push ecx
push esi
call fcn.100703b3
add esp, 8
cmp byte [esp + 0x13], 0
je 0x100cfc03
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x100cfc03
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
cmp ebx, edi
je 0x100cfbe6
mov dword [edi], eax
add edi, 4
mov dword [esp + 0x28], edi
jmp 0x100cfc03
lea eax, [esp + 0x20]
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.1001f0c0
mov eax, dword [esp + 0x2c]
mov ebx, eax
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test esi, esi
je 0x100cfc1b
lea ecx, [esi + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esp + 0x34]
cmp ecx, 0xffffffff
je 0x100cfc7b
test edx, edx
je 0x100cfc7b
mov eax, dword [edx]
test eax, eax
je 0x100cfc7b
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x100cfc7b
test esi, esi
je 0x100cfad3
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100cfad3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x100cfad3
mov eax, dword [esi]
mov ecx, esi
push edx
call dword [eax]
jmp 0x100cfad3
test esi, esi
je 0x100cfcac
or ebx, 0xffffffff
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100cfcac
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100cfcac
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov ebx, dword [esp + 0x24]
xor esi, esi
sub edi, ebx
sar edi, 2
test edi, edi
je 0x100cfcdf
nop dword [eax + eax]
push dword [ebx + esi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x100cfcda
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
inc esi
cmp esi, edi
jb 0x100cfcc0
mov eax, dword [esp + 0x4c]
cmp eax, 8
jb 0x100cfd1b
mov edx, dword [esp + 0x38]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100cfd11
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cfd96
push ecx
push edx
call fcn.100703b3
add esp, 8
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x100cfd4e
or edi, 0xffffffff
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100cfd4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x100cfd4e
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax]
test ebx, ebx
je 0x100cfd7f
mov ecx, dword [esp + 0x14]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100cfd75
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cfd96
push ecx
push ebx
call fcn.100703b3
add esp, 8
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x100cfd8f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007e0fa
int3