Function at 0x75b11498
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x75bc8d18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x8c], 0x10
mov dword [ebp - 0x70], ebx
cmp esi, ebx
je 0x75b114dc
cmp esi, 1
je 0x75b114dc
cmp esi, 6
je 0x75b114dc
cmp esi, 7
jne 0x75b11561
push 1
lea ecx, [ebp - 0x98]
call fcn.759b3e6f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
jne 0x75b1154f
push 0x48
pop eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x5c]
push eax
mov dword [ebp - 0x68], ecx
call fcn.759b405e
pop ecx
test eax, eax
je 0x75b11535
lea ecx, [ebp - 0x68]
call fcn.759b41fe
lea ecx, [ebp - 0x98]
call fcn.759b4003
jmp 0x75b11a55
push 1
push dword [ebp - 0x68]
call fcn.75b319d3
pop ecx
pop ecx
lea ecx, [ebp - 0x68]
test al, al
je 0x75b11520
call fcn.759b41fe
jmp 0x75b11556
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x98]
call fcn.759b4003
cmp esi, 4
je 0x75b1156b
cmp esi, 5
jne 0x75b115db
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x64], 0x48
mov dword [ebp - 0x68], eax
call fcn.75acb254
cmp eax, ebx
jne 0x75b115b4
cmp dword [0x75bc8ca8], ebx
je 0x75b115a7
push ebx
push ebx
mov eax, 0x759b7ff8
push eax
push eax
push eax
push eax
push eax
push eax
push 0x75b11ad8
push ebx
push ebx
push 0xa
call fcn.759c26bf
add esp, 0x30
lea ecx, [ebp - 0x68]
call fcn.759b41fe
jmp 0x75b11a55
push dword [ebp - 0x68]
push eax
call fcn.759b4259
pop ecx
pop ecx
test eax, eax
jne 0x75b115a7
push 1
push dword [ebp - 0x68]
call fcn.75b319d3
pop ecx
pop ecx
lea ecx, [ebp - 0x68]
test al, al
je 0x75b115aa
call fcn.759b41fe
cmp dword [0x75bcc8ec], 2
jne 0x75b11704
call fcn.759d1390
mov dword [ebp - 0x6c], eax
cmp esi, 4
je 0x75b1166f
cmp esi, 5
je 0x75b1166f
push 1
lea ecx, [ebp - 0x98]
call fcn.759b3e6f
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
movzx ecx, byte [edi + 0x8c]
add eax, 0xb0
mov dword [ebp - 0x84], eax
mov eax, esi
imul eax, eax, 0xc
push ebx
push ecx
push ebx
lea esi, [eax + edi]
lea eax, [esi + 8]
push eax
push esi
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push dword [edi + 0x78]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x84]
push dword [ebp - 0x6c]
call dword [eax]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x70], eax
call fcn.759b4003
mov eax, dword [ebp - 0x6c]
jmp 0x75b119a1
call fcn.75acb254
mov dword [ebp - 0x84], eax
cmp eax, ebx
je 0x75b116fc
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
cmp eax, ebx
je 0x75b116f4
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
push dword [ebp - 0x84]
movzx ecx, byte [edi + 0x8c]
add eax, 0xb0
mov dword [ebp - 0x90], eax
mov eax, esi
imul eax, eax, 0xc
push ecx
push ebx
lea esi, [eax + edi]
lea eax, [esi + 8]
push eax
push esi
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push dword [edi + 0x78]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x90]
push dword [ebp - 0x6c]
call dword [eax]
push ebx
push ebx
mov dword [ebp - 0x70], eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
cmp eax, ebx
jne 0x75b11667
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x6c]
jmp 0x75b11a4b
mov eax, esi
imul eax, eax, 0xc
lea esi, [eax + edi]
lea eax, [esi + 8]
mov dword [ebp - 0x88], eax
mov dword [eax], ebx
mov dword [esi + 4], ebx
call dword [0x75bc81f4]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x75b11746
movzx ecx, word [eax]
cmp cx, bx
je 0x75b11739
inc eax
inc eax
cmp word [eax], bx
jne 0x75b11732
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, bx
jne 0x75b11732
mov dword [ebp - 0x7c], eax
or dword [ebp - 0x74], 0xffffffff
or dword [ebp - 0x6c], 0xffffffff
lea eax, [ebp - 0x74]
push eax
push ebx
push 2
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x75], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x75b11791
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x75b11795
lea eax, [ebp - 0x74]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
jmp 0x75b11795
mov byte [ebp - 0x75], 1
cmp dword [ebp - 0x74], 0xffffffff
je 0x75b117d9
lea eax, [ebp - 0x6c]
push eax
push 2
push 2
push ebx
push 0x2c
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x75b117b7
or dword [ebp - 0x6c], 0xffffffff
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x6c]
call fcn.75b30d72
pop ecx
pop ecx
test al, al
jne 0x75b117d9
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x6c], 0xffffffff
cmp dword [ebp - 0x6c], 0xffffffff
jne 0x75b117fc
cmp dword [ebp - 0x74], 0xffffffff
je 0x75b117ee
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x80]
call dword [0x75bc8be8]
jmp 0x75b11a55
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
push dword [ebp - 0x6c]
test eax, eax
jne 0x75b11822
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp - 0x74], 0xffffffff
je 0x75b117ee
push dword [ebp - 0x74]
call esi
jmp 0x75b117ee
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x80]
or dword [ebp - 0x6c], 0xffffffff
sar eax, 1
inc eax
mov dword [ebp - 0x9c], eax
call fcn.75a218b0
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x75b11931
cmp dword [0x75bc8ca8], ebx
je 0x75b11871
push ebx
push ebx
mov eax, 0x759c2dec
push eax
push eax
push eax
push eax
push eax
push eax
push 0x75b11ab0
push ebx
push ebx
push 0xa
call fcn.759de326
add esp, 0x30
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], 0x10
mov eax, dword [eax]
add eax, 0x3c
mov dword [ebp - 0x94], eax
movzx eax, byte [edi + 0x9c]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x84]
mov dword [ebp - 0x90], ebx
push dword [ebp - 0x9c]
push dword [ebp - 0x80]
push dword [edi + 0x78]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x94]
push dword [ebp - 0x7c]
call dword [eax]
test eax, eax
jne 0x75b11931
cmp dword [ebp - 0x70], ebx
je 0x75b11931
push dword [ebp - 0x90]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esi], eax
cmp eax, ebx
je 0x75b11902
push dword [ebp - 0x70]
call dword [0x75bc8304]
test eax, eax
jne 0x75b1190e
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x70], ebx
cmp dword [ebp - 0x8c], 0x10
je 0x75b11923
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
push dword [ebp - 0x80]
call dword [0x75bc8be8]
movzx eax, byte [ebp - 0x75]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
push dword [ebp - 0x74]
test eax, eax
jne 0x75b1198f
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi]
call edi
mov eax, dword [ebp - 0x88]
mov dword [eax], ebx
mov eax, dword [ebp - 0x70]
mov dword [esi], ebx
cmp eax, ebx
je 0x75b1197a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x70], ebx
cmp dword [0x75bcc8ec], 2
je 0x75b116f4
mov eax, dword [ebp - 0x7c]
jmp 0x75b11a4b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x74], 0xffffffff
cmp dword [ebp - 0x7c], ebx
je 0x75b119a7
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x70], ebx
je 0x75b11a36
mov eax, dword [edi + 0x88]
mov ecx, dword [eax]
lea edx, [esi + 4]
push edx
push 0x759ce9b8
push dword [ebp - 0x70]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x75b11a36
cmp byte [edi + 0x9c], bl
je 0x75b11a1a
mov eax, dword [ebp - 0x70]
mov esi, dword [eax]
push dword [edi + 0x78]
add esi, 0x98
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [ebp - 0x70]
call dword [esi]
test eax, eax
je 0x75b11a1a
cmp dword [0x75bc8ca8], ebx
je 0x75b11a55
push ebx
push ebx
mov eax, 0x759b7ff8
push eax
push eax
push eax
push eax
push eax
push eax
push 0x75b11a68
push ebx
push ebx
push 0xa
call fcn.759c26bf
add esp, 0x30
jmp 0x75b11a55
mov eax, dword [ebp - 0x88]
push dword [eax]
mov ecx, dword [edi + 0x78]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.75a88ca3
movzx eax, al
jmp 0x75b11a57
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x88]
mov dword [eax], ebx
mov eax, dword [ebp - 0x70]
mov dword [esi], ebx
cmp eax, ebx
je 0x75b11a55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.759b1748
leave
ret 8