Function at 0x403fa0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559d4d
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5cb218]
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
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x270], edi
cmp edi, 0xffffffff
jne 0x403ff3
xor bl, bl
jmp 0x404242
push 0x124
lea eax, [ebp - 0x254]
mov dword [ebp - 0x258], 0x128
push 0
push eax
call fcn.00530240
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x404239
nop dword [eax]
mov edi, dword [ebp - 0x250]
mov dword [ebp - 0x26c], edi
test edi, edi
je 0x40421d
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40421d
push 0x105
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00530240
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x105
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea eax, [ebp - 0x118]
push 0x5c
push eax
call fcn.0053a286
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x130], 0
add esp, 8
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
lea edx, [ecx + 1]
mov byte [eax + 1], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4040c3
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00406ac0
cmp dword [ebp + 0x1c], 0x10
lea edx, [ebp + 8]
mov esi, dword [ebp - 0x11c]
lea eax, [ebp - 0x130]
cmovae edx, dword [ebp + 8]
cmp esi, 0x10
mov ebx, dword [ebp - 0x130]
mov ecx, dword [ebp + 0x18]
cmovae eax, ebx
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x260], edx
cmp ecx, eax
ja 0x4041ed
test ecx, ecx
je 0x40428d
mov edi, dword [ebp - 0x25c]
sub eax, ecx
movsx ecx, byte [edx]
inc eax
add eax, edi
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.00530cd0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4041ed
nop dword [eax + eax]
mov esi, dword [ebp + 0x18]
mov edx, edi
mov ecx, dword [ebp - 0x260]
sub esi, 4
jb 0x404181
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x404186
add edx, 4
add ecx, 4
sub esi, 4
jae 0x404170
cmp esi, 0xfffffffc
je 0x4041ba
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4041b3
cmp esi, 0xfffffffd
je 0x4041ba
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4041b3
cmp esi, 0xfffffffe
je 0x4041ba
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4041b3
cmp esi, 0xffffffff
je 0x4041ba
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4041ba
sbb eax, eax
or eax, 1
jmp 0x4041bc
xor eax, eax
test eax, eax
je 0x404272
mov eax, dword [ebp - 0x264]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x268]
push edi
call fcn.00530cd0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x404160
mov esi, dword [ebp - 0x11c]
cmp esi, 0x10
jb 0x40421d
lea ecx, [esi + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x404213
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4042f5
push ecx
push ebx
call fcn.0052e508
add esp, 8
mov edi, dword [ebp - 0x270]
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x404030
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4042d7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4042cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4042f5
jmp 0x4042cd
sub edi, dword [ebp - 0x25c]
cmp edi, 0xffffffff
je 0x4041e7
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x26c]
lea eax, [ebp - 0x234]
push str.Launch.exe
push eax
call fcn.00539eca
add esp, 8
test eax, eax
je 0x4041ed
push edi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4041ed
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4041ed
push edx
push ecx
call fcn.0052e508
add esp, 8
mov al, bl
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.0052e4fa
mov esp, ebp
pop ebp
ret
call fcn.0053380f
int3