Function at 0x45b950
Capabilities:
Acquire debug privileges
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56121a
mov eax, dword fs:[0]
push eax
mov eax, 0x4300
call fcn.00469ed0
mov eax, dword [0x5ba278]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0
push eax
call fcn.0040c1d0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x4260], esi
mov edi, dword [esi - 0xc]
mov byte [ebp - 4], 1
test edi, edi
js 0x45bdff
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x45b9d3
push edi
lea ecx, [ebp - 0x4260]
call fcn.00416430
mov esi, dword [ebp - 0x4260]
lea eax, [edi + 1]
push eax
push esi
call fcn.005260d2
add esp, 8
cmp edi, dword [esi - 8]
jg 0x45bdff
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
or ebx, 0xffffffff
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x4270], eax
cmp eax, 4
jl 0x45bda5
cmp eax, 0x104
jg 0x45bda5
lea eax, [ebp - 0x4254]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45ba7b
lea eax, [ebp - 0x4228]
mov dword [ebp - 0x422c], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x422c]
mov dword [ebp - 0x4220], 2
push eax
push 0
push dword [ebp - 0x4254]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x4254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4000
lea eax, [ebp - 0x421c]
mov dword [ebp - 0x4258], 0
push 0
push eax
call fcn.00513be0
add esp, 0xc
lea eax, [ebp - 0x4258]
push eax
push 0x1000
lea eax, [ebp - 0x421c]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x45bda5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0x4268], ecx
mov dword [ebp - 0x4254], ebx
cmp dword [ebp - 0x4258], ebx
jbe 0x45bd9b
nop dword [eax]
lea eax, [ebp - 0x421c]
lea eax, [eax + ebx*4]
mov dword [ebp - 0x425c], eax
mov eax, dword [eax]
cmp ecx, eax
je 0x45bd88
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x45bb5c
call fcn.00413510
test eax, eax
je 0x45be09
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x4250], eax
push 0x56e6d0
lea ecx, [ebp - 0x4250]
mov byte [ebp - 4], 2
call fcn.0040bce0
test al, al
jne 0x45bbe3
push edi
push 0x56e6d0
lea ecx, [ebp - 0x4250]
call fcn.004185c0
jmp 0x45bbe3
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00513be0
add esp, 0xc
mov dword [ebp - 0x4264], 0
lea eax, [ebp - 0x426c]
mov dword [ebp - 0x426c], 0
push eax
push 4
lea eax, [ebp - 0x4264]
push eax
push edi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
jne 0x45bba7
push 0x56e6d0
jmp 0x45bbd8
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x4264]
push edi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
jne 0x45bbca
push 0x56e6d0
jmp 0x45bbd8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x4250]
call fcn.00405050
mov eax, dword [ebp - 0x4250]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
je 0x45bd60
lea ecx, [ebp - 0x4250]
call fcn.0045bf90
push dword [ebp - 0x4270]
push dword [ebp - 0x4250]
push esi
call fcn.00525ea5
add esp, 0xc
test eax, eax
jne 0x45bd60
mov eax, dword [ebp - 0x425c]
push dword [eax]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x4274], ebx
test ebx, ebx
je 0x45bd5a
call fcn.00477e30
push 0
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx eax, al
sub eax, 1
jne 0x45bd4a
mov eax, dword [ebp - 0x4250]
lea ecx, [ebp - 0x424c]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x425c], eax
mov dword [ebp - 0x423c], 0
mov dword [ebp - 0x4238], 0xf
mov byte [ebp - 0x424c], 0
call fcn.0041a210
push 3
push 0x56e970
lea ecx, [ebp - 0x4234]
mov byte [ebp - 4], 4
mov dword [ebp - 0x4224], 0
mov dword [ebp - 0x4220], 0xf
mov byte [ebp - 0x4234], 0
call fcn.0041a210
mov byte [ebp - 4], 5
call fcn.00477e30
mov ebx, eax
lea ecx, [ebp - 0x430c]
push 0x3a0
lea eax, [ebp - 0x424c]
push eax
lea eax, [ebp - 0x4234]
push eax
call fcn.00405490
mov edi, eax
push str.KillRelatedProcess__kill:
push edi
mov byte [ebp - 4], 6
call fcn.004067f0
mov eax, dword [ebp - 0x425c]
mov ecx, 0x56e944
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.00403b20
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x430c]
call fcn.004085e0
lea ecx, [ebp - 0x4234]
call fcn.00405e50
lea ecx, [ebp - 0x424c]
call fcn.00405e50
mov ebx, dword [ebp - 0x4274]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x4254]
mov edx, dword [ebp - 0x4250]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bd82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x4268]
inc ebx
mov dword [ebp - 0x4254], ebx
cmp ebx, dword [ebp - 0x4258]
jb 0x45bae0
mov edi, 1
or ebx, 0xffffffff
jmp 0x45bda7
xor edi, edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45bdc2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45bde1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469a1d
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040bcc0
push 0x80004005
call fcn.0040bcc0
int3