Function at 0x450090
Capabilities:
Enumerate processes
Resolve function by parsing pe exports
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x4ce767
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x478
mov edx, dword [0x4e8208]
mov eax, dword [str.CheckProcess__]
push ebp
mov ebp, ecx
mov ecx, dword [0x4e8204]
mov dword [esp + 0x44], edx
push esi
mov dword [esp + 0x40], eax
mov ax, word [0x4e820c]
mov dword [esp + 0x44], ecx
mov cl, byte [0x4e820e]
lea edx, [esp + 0x60]
push edi
push edx
mov word [esp + 0x54], ax
mov byte [esp + 0x56], cl
mov byte [esp + 0x12], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0xe0]
lea ecx, [esp + 0x64]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 0x128
call fcn.00467824
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x18], esi
jne 0x450155
push 0x4e81ec
lea edx, [ebp + 0x55]
push 0xfff
push edx
call fcn.00466ca7
mov edx, dword [0x4d2de8]
mov eax, dword [ebp]
add esp, 0xc
lea ecx, [esp + 0x44]
push 0x465
push ecx
push edx
mov ecx, ebp
call dword [eax + 0x10]
mov eax, 0x12
jmp 0x450bf3
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0xf0]
mov dword [esi], 0x128
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x10a4]
test ecx, ecx
stosb byte es:[edi], al
jle 0x450181
xor eax, eax
lea edi, [esp + 0x2f4]
rep stosd dword es:[edi], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x4501dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4e7a40
lea eax, [ebp + 0x55]
push 0xfff
push eax
call fcn.00466ca7
mov ecx, dword [0x4d2de4]
mov edx, dword [ebp]
add esp, 0x10
lea eax, [esp + 0x44]
push 0x478
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x10]
push esi
call fcn.00463c78
add esp, 4
mov eax, 0x23
jmp 0x450bf3
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
call sub.KERNEL32.dll_Process32First
mov ebx, dword [edi + 8]
lea esi, [edi + 0x24]
push 0x5c
push esi
call fcn.00466c80
add esp, 8
test eax, eax
push 0x201
jne 0x450211
lea eax, [esp + 0xf8]
push esi
push eax
jmp 0x45021b
inc eax
lea ecx, [esp + 0xf8]
push eax
push ecx
call fcn.00466df0
mov eax, dword [ebp + 0x10a4]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x450366
lea edx, [esp + 0x2f8]
lea edi, [ebp + 0x14bc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
lea eax, [edi - 0x404]
lea ecx, [esp + 0xf4]
push eax
push ecx
call fcn.00473dd0
add esp, 8
test eax, eax
jne 0x45033e
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, 2
mov dword [edx], 1
jne 0x45033e
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4502d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xf8]
push ebx
push eax
push 0x4e81cc
lea ecx, [ebp + 0x55]
push 0xfff
push ecx
call fcn.00466ca7
mov ecx, dword [0x4d2de4]
mov edx, dword [ebp]
add esp, 0x18
lea eax, [esp + 0x48]
push 0x497
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x10]
jmp 0x450324
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x45031d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0xf8]
push ebx
push edx
push 0x4e81ac
lea eax, [ebp + 0x55]
push 0xfff
push eax
call fcn.00466ca7
mov ecx, dword [0x4d2de4]
mov edx, dword [ebp]
add esp, 0x18
lea eax, [esp + 0x48]
push 0x49f
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x68]
push 0
push edx
push 2
push esi
mov ecx, ebp
call fcn.00450c50
mov edi, dword [esp + 0x20]
mov byte [esp + 0x12], 1
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10a4]
inc esi
add edx, 4
add edi, 0x40c
cmp esi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
jl 0x450248
mov edi, dword [esp + 0x1c]
mov al, byte [ebp + 0x1070]
test al, al
jne 0x4503b8
mov eax, dword [str.AgentAdmin.exe]
lea ecx, [esp + 0xf4]
push eax
push ecx
call fcn.00473dd0
add esp, 8
test eax, eax
je 0x4503a5
mov edx, dword [str.explorer.exe]
lea eax, [esp + 0xf4]
push edx
push eax
call fcn.00473dd0
add esp, 8
test eax, eax
jne 0x4503b8
mov byte [ebp + 0x1070], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x1b7b0], eax
mov ecx, dword [esp + 0x14]
push edi
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4505ae
mov eax, dword [esp + 0x1c]
push 0x5c
mov esi, dword [eax + 8]
lea edi, [eax + 0x24]
push edi
call fcn.00466c80
add esp, 8
test eax, eax
push 0x201
jne 0x4503f4
lea edx, [esp + 0xf8]
push edi
push edx
jmp 0x4503fe
inc eax
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.00466df0
mov al, byte [ebp + 0x1070]
add esp, 0xc
test al, al
jne 0x450458
mov ecx, dword [str.AgentAdmin.exe]
lea edx, [esp + 0xf4]
push ecx
push edx
call fcn.00473dd0
add esp, 8
test eax, eax
je 0x450445
mov eax, dword [str.explorer.exe]
lea ecx, [esp + 0xf4]
push eax
push ecx
call fcn.00473dd0
add esp, 8
test eax, eax
jne 0x450458
mov byte [ebp + 0x1070], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x1b7b0], eax
mov eax, dword [ebp + 0x10a4]
xor ebx, ebx
test eax, eax
jle 0x450597
lea edx, [esp + 0x2f8]
lea edi, [ebp + 0x14bc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
lea eax, [edi - 0x404]
lea ecx, [esp + 0xf4]
push eax
push ecx
call fcn.00473dd0
add esp, 8
test eax, eax
jne 0x450573
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, 2
mov dword [edx], 1
jne 0x450573
push esi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x450506
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xf8]
push esi
push eax
push 0x4e81cc
lea ecx, [ebp + 0x55]
push 0xfff
push ecx
call fcn.00466ca7
mov ecx, dword [0x4d2de4]
mov edx, dword [ebp]
add esp, 0x18
lea eax, [esp + 0x48]
push 0x4d7
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x10]
jmp 0x450559
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x450552
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0xf8]
push esi
push edx
push 0x4e81ac
lea eax, [ebp + 0x55]
push 0xfff
push eax
call fcn.00466ca7
mov ecx, dword [0x4d2de4]
mov edx, dword [ebp]
add esp, 0x18
lea eax, [esp + 0x48]
push 0x4df
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x68]
push 0
push edx
push 2
push ebx
mov ecx, ebp
call fcn.00450c50
mov edi, dword [esp + 0x20]
mov byte [esp + 0x12], 1
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10a4]
inc ebx
add edx, 4
add edi, 0x40c
cmp ebx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
jl 0x45047d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4503cb
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
push eax
call fcn.00463c78
mov ecx, dword [0x4fa4bc]
add esp, 4
mov eax, ecx
and eax, 0x10000
je 0x4505df
mov dl, byte [ebp + 0x1070]
test dl, dl
jne 0x450600
test ecx, ecx
jle 0x450b7d
test eax, eax
jne 0x450b7d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x2bf20
jb 0x450b7d
mov eax, dword [ebp + 0x10a4]
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x450b7d
lea ecx, [esp + 0x2f8]
lea edx, [ebp + 0x12b9]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x203]
cmp eax, 1
jne 0x450af2
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0
jne 0x4508d1
mov dl, byte [esp + 0x13]
or ecx, 0xffffffff
mov byte [esp + 0x58], dl
mov edx, dword [esp + 0x14]
mov edi, edx
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x5c], esi
push ecx
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.0040dc30
mov edi, dword [ebp + 0x10ac]
lea ebx, [ebp + 0x10a8]
lea eax, [esp + 0x58]
mov ecx, ebx
push eax
mov dword [esp + 0x494], esi
call fcn.00457c40
mov ecx, dword [ebx + 4]
mov dword [esp + 0x24], eax
cmp eax, ecx
je 0x4506bd
add eax, 0xc
lea ecx, [esp + 0x58]
push eax
call fcn.0040d380
test eax, eax
jl 0x4506bd
lea eax, [esp + 0x24]
jmp 0x4506ce
mov eax, dword [ebx + 4]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x8c]
mov edx, dword [eax]
mov eax, dword [esp + 0x5c]
cmp edx, edi
mov dword [esp + 0x490], 0xffffffff
sete byte [esp + 0x13]
cmp eax, esi
je 0x450707
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4506fe
cmp al, 0xff
je 0x4506fe
dec al
mov byte [ecx], al
jmp 0x450707
push ecx
call fcn.00463c78
add esp, 4
mov al, byte [esp + 0x13]
mov dword [esp + 0x5c], esi
test al, al
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
je 0x450b45
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x90]
xor esi, esi
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0x9c], 1
call fcn.00467f1a
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xac], eax
mov al, byte [esp + 0x17]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0xb0], ecx
mov byte [esp + 0x7c], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x90], 0
push ecx
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
call fcn.0040dc30
mov cl, byte [esp + 0x78]
push esi
mov byte [esp + 0xb8], cl
lea ecx, [esp + 0xb8]
mov dword [esp + 0x494], 1
call fcn.00403b70
mov edx, dword [0x4d174c]
lea eax, [esp + 0x78]
push edx
push esi
push eax
lea ecx, [esp + 0xc0]
call fcn.004040a0
mov ecx, 8
lea esi, [esp + 0x90]
lea edi, [esp + 0xc4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xb4]
lea edx, [esp + 0xec]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x498], 2
call fcn.00456e40
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x45085e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x450855
cmp al, 0xff
je 0x450855
dec al
mov byte [ecx], al
jmp 0x45085e
push ecx
call fcn.00463c78
add esp, 4
mov eax, dword [esp + 0x7c]
xor esi, esi
cmp eax, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0x490], 0xffffffff
je 0x4508ba
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4508b1
cmp al, 0xff
je 0x4508b1
dec al
mov byte [ecx], al
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
jmp 0x450b45
push ecx
call fcn.00463c78
add esp, 4
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
jmp 0x450b45
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x14]
mov byte [esp + 0x28], al
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x2c]
push ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.00404fd0
test al, al
je 0x45092b
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov ecx, ebx
push ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00404fb0
xor esi, esi
mov ebx, dword [ebp + 0x10ac]
lea edi, [ebp + 0x10a8]
lea eax, [esp + 0x28]
mov ecx, edi
push eax
mov dword [esp + 0x494], 3
call fcn.00457c40
mov ecx, dword [edi + 4]
mov dword [esp + 0x24], eax
cmp eax, ecx
je 0x450983
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
cmp eax, esi
jne 0x450968
mov eax, 0x4d1750
push ecx
mov ecx, dword [esp + 0x34]
push eax
push ecx
push esi
lea ecx, [esp + 0x38]
call fcn.0040d6d0
cmp eax, esi
jl 0x450983
lea eax, [esp + 0x24]
jmp 0x450994
mov edi, dword [edi + 4]
lea eax, [esp + 0x88]
mov dword [esp + 0x88], edi
mov edx, dword [eax]
mov eax, dword [esp + 0x2c]
cmp edx, ebx
mov dword [esp + 0x490], 0xffffffff
setne bl
cmp eax, esi
je 0x4509cb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4509c2
cmp al, 0xff
je 0x4509c2
dec al
mov byte [ecx], al
jmp 0x4509cb
push ecx
call fcn.00463c78
add esp, 4
test bl, bl
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
je 0x450b45
mov eax, dword [esp + 0x1c]
xor esi, esi
lea edx, [esp + 0x68]
push esi
push edx
push 3
push eax
mov ecx, ebp
call fcn.00450c50
mov cl, byte [esp + 0x13]
mov edi, dword [esp + 0x14]
mov byte [esp + 0x38], cl
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x40], esi
mov ebx, ecx
lea ecx, [esp + 0x3c]
push ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.00404fd0
test al, al
je 0x450a4f
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
xor esi, esi
mov byte [eax + ebx], 0
lea ecx, [esp + 0x38]
lea edi, [ebp + 0x10a8]
push ecx
mov ecx, edi
mov dword [esp + 0x494], 4
call fcn.00457e30
lea edx, [esp + 0x38]
mov ecx, edi
push edx
mov ebx, eax
call fcn.00457c40
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x20], edi
je 0x450a93
lea ecx, [esp + 0x20]
call fcn.00457ec0
cmp dword [esp + 0x20], ebx
jne 0x450a84
push ebx
lea eax, [esp + 0xb4]
push edi
push eax
lea ecx, [ebp + 0x10a8]
call fcn.004570a0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x490], 0xffffffff
cmp eax, esi
je 0x450ae4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x450adb
cmp al, 0xff
je 0x450adb
dec al
mov byte [ecx], al
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
jmp 0x450b40
push ecx
call fcn.00463c78
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
jmp 0x450b40
cmp eax, 4
jne 0x450b45
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
test eax, eax
jne 0x450b18
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x207], 1
jne 0x450b18
push eax
lea eax, [esp + 0x6c]
push eax
push 5
jmp 0x450b34
cmp eax, 1
jne 0x450b45
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x207]
test eax, eax
jne 0x450b45
lea eax, [esp + 0x68]
push 0
push eax
push 4
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00450c50
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add edx, 0x40c
mov eax, dword [ecx]
add ecx, 4
mov dword [edx - 0x205], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x10a4]
inc eax
mov dword [esp + 0x14], edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x45062b
mov al, byte [esp + 0x12]
pop ebx
test al, al
je 0x450bf1
mov ecx, dword [str.SOFTWAREBaosightlsagent_records]
push ecx
call fcn.00436bb0
add esp, 4
push 4
call fcn.00459ea0
mov ecx, eax
call fcn.0045a400
test eax, eax
jne 0x450be4
mov edx, dword [0x4fa478]
lea eax, [ebp + 0x55]
push edx
push 0x4e25f0
push 0xfff
push eax
call fcn.00466ca7
mov ecx, dword [0x4d2de4]
mov edx, dword [ebp]
add esp, 0x10
lea eax, [esp + 0x44]
push 0x52a
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x10]
mov eax, 0x10
jmp 0x450bf3
mov edx, dword [eax + 0x1058]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
mov ecx, dword [esp + 0x484]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x484
ret