Function at 0x100d2690
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x264
mov dword [0x101599a8], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x101599ac], esi
push edi
test esi, esi
je 0x100d26d9
mov esi, dword [esi]
test esi, esi
je 0x100d26d9
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101599ac]
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.10073081
push 0x22c
mov esi, eax
call fcn.10073081
push 0x22c
push edi
push eax
mov dword [esi], eax
call fcn.10077450
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 0x100d275d
lea ecx, [eax + 4]
mov eax, 1
lock xadd dword [ecx], eax
lea ecx, [esp + 0x38]
call fcn.100ea760
test al, al
je 0x100d29cb
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 0x100d27be
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 0x100d27a0
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 0x100d27e0
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.100d6e50
add esp, 4
test eax, eax
mov eax, dword [esp + 0x64]
sete byte [esp + 0x13]
cmp eax, 8
jb 0x100d286f
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x100d2865
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2a46
push ecx
push esi
call fcn.1007306e
add esp, 8
cmp byte [esp + 0x13], 0
je 0x100d28b3
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x100d28b3
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
cmp ebx, edi
je 0x100d2896
mov dword [edi], eax
add edi, 4
mov dword [esp + 0x28], edi
jmp 0x100d28b3
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 0x100d28cb
lea ecx, [esi + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [esp + 0x34]
cmp ecx, 0xffffffff
je 0x100d292b
test edx, edx
je 0x100d292b
mov eax, dword [edx]
test eax, eax
je 0x100d292b
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x100d292b
test esi, esi
je 0x100d2783
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100d2783
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 0x100d2783
mov eax, dword [esi]
mov ecx, esi
push edx
call dword [eax]
jmp 0x100d2783
test esi, esi
je 0x100d295c
or ebx, 0xffffffff
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100d295c
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 0x100d295c
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 0x100d298f
nop dword [eax + eax]
push dword [ebx + esi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x100d298a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
inc esi
cmp esi, edi
jb 0x100d2970
mov eax, dword [esp + 0x4c]
cmp eax, 8
jb 0x100d29cb
mov edx, dword [esp + 0x38]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100d29c1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2a46
push ecx
push edx
call fcn.1007306e
add esp, 8
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x100d29fe
or edi, 0xffffffff
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100d29fe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x100d29fe
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax]
test ebx, ebx
je 0x100d2a2f
mov ecx, dword [esp + 0x14]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100d2a25
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d2a46
push ecx
push ebx
call fcn.1007306e
add esp, 8
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x100d2a3f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10080da8
int3