Function at 0x442bcb
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x3f8]
sub esp, 0x478
mov eax, dword [0x4705d0]
xor eax, ebp
mov dword [ebp + 0x3f4], eax
mov eax, dword [ebp + 0x410]
push ebx
push esi
mov esi, dword [ebp + 0x400]
push edi
mov edi, dword [ebp + 0x408]
xor ebx, ebx
push 0x124
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x40], ebx
call fcn.004464f0
push 0x103
lea eax, [ebp + 0x2f1]
push ebx
push eax
mov byte [ebp + 0x2f0], bl
call fcn.004464f0
push 0x103
lea eax, [ebp + 0xe9]
push ebx
push eax
mov byte [ebp + 0xe8], bl
call fcn.004464f0
add esp, 0x24
mov dword [ebp - 0x6c], ebx
cmp esi, ebx
jne 0x442c72
cmp edi, ebx
jne 0x442caf
xor eax, eax
mov ecx, dword [ebp + 0x3f4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004464bf
add ebp, 0x3f8
leave
ret 0x18
cmp byte [esi], bl
je 0x442caf
push str.0123456789
push esi
call fcn.004481e0
pop ecx
pop ecx
push esi
mov dword [ebp - 0x54], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x54]
cmp ecx, eax
jb 0x442ca0
push esi
call fcn.0040109c
pop ecx
mov dword [ebp - 0x6c], eax
jmp 0x442caf
push 0xc
lea eax, [ebp + 0xe8]
push eax
push esi
call fcn.0040dac4
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x442cb8
mov dword [eax], ebx
mov dword [ebp - 0x48], ebx
cmp edi, ebx
je 0x442cca
cmp dword [ebp + 0x40c], 1
jl 0x442cca
mov byte [edi], bl
push ebx
call fcn.0043f04b
cmp eax, 2
je 0x442eeb
push ebx
call fcn.0043f04b
cmp eax, 5
je 0x442eeb
cmp dword [ebp + 0x414], 1
je 0x442eeb
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 2
lea eax, [ebp + 0x2f0]
push str.CreateToolhelp32Snapshot__lu__0_
push eax
call esi
add esp, 0xc
push ebx
push ebx
lea eax, [ebp + 0x2f0]
push eax
push 0x45c384
call fcn.004205d6
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x443127
push 0x128
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.004464f0
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
lea eax, [ebp + 0x2f0]
push str.Process32First__lu___lu_
push eax
mov dword [ebp - 0x40], 0x128
call esi
add esp, 0x1c
push ebx
push ebx
lea eax, [ebp + 0x2f0]
push eax
push 0x45c384
call fcn.004205d6
test eax, eax
je 0x442e60
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x64]
inc dword [ebp - 0x48]
cmp eax, ebx
je 0x442dc5
cmp byte [eax], bl
je 0x442dc5
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x442dab
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x442dc5
cmp dword [ebp - 0x38], eax
jne 0x442dc5
cmp dword [ebp + 0x404], 2
je 0x442e77
cmp dword [ebp + 0x404], 1
je 0x442ebd
cmp edi, ebx
je 0x442e29
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x54], eax
call edi
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x68]
add ecx, eax
mov eax, dword [ebp + 0x40c]
add eax, 0xfffffff8
cmp ecx, eax
jge 0x442e29
lea eax, [ebp - 0x1c]
push eax
push edi
call esi
push 0x45b88c
push edi
call esi
push dword [ebp - 0x38]
lea eax, [ebp + 0x2f0]
push 0x45aac0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp + 0x2f0]
push eax
push edi
call esi
push 0x45984c
push edi
call esi
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
lea eax, [ebp + 0x2f0]
push str.Process32Next__lu___lu_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
push ebx
lea eax, [ebp + 0x2f0]
push eax
push 0x45c384
call fcn.004205d6
test eax, eax
jne 0x442d7c
cmp dword [ebp - 0x44], ebx
je 0x443127
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x443127
call fcn.0043f33e
push dword [ebp - 0x38]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x442c56
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x442ea1
mov dword [ebp - 0x48], ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp - 0x44], ebx
je 0x443192
push dword [ebp - 0x44]
call esi
jmp 0x443192
mov esi, dword [ebp - 0x70]
cmp esi, ebx
je 0x442ee3
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x442ee3
push dword [ebp - 0x38]
call fcn.0044097a
mov dword [esi], eax
mov eax, dword [ebp - 0x38]
jmp 0x442c58
push 0x103
lea eax, [ebp + 0x1ed]
push ebx
push eax
mov dword [ebp - 0x4c], ebx
mov byte [ebp + 0x1ec], bl
call fcn.004464f0
add esp, 0xc
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x60], eax
cmp eax, ebx
je 0x442c56
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call esi
push str.EnumProcessModules
push dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
call esi
push str.GetModuleBaseNameA
push dword [ebp - 0x60]
mov dword [ebp - 0x74], eax
call esi
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x50], ebx
je 0x442c56
cmp dword [ebp - 0x74], ebx
je 0x442c56
cmp eax, ebx
je 0x442c56
mov dword [ebp - 0x58], 0x400
cmp dword [ebp - 0x4c], ebx
je 0x442f89
push dword [ebp - 0x4c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x58]
add eax, eax
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x4c], eax
cmp eax, ebx
je 0x442c56
lea ecx, [ebp - 0x5c]
push ecx
push dword [ebp - 0x58]
push eax
call dword [ebp - 0x50]
test eax, eax
je 0x442c56
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x58]
je 0x442f6b
shr dword [ebp - 0x5c], 2
mov dword [ebp - 0x44], ebx
cmp dword [ebp - 0x5c], ebx
jbe 0x44310d
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
lea eax, [eax + ecx*4]
mov byte [ebp + 0x1ec], bl
push dword [eax]
mov dword [ebp - 0x54], eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x50], eax
cmp eax, ebx
je 0x4430fe
lea ecx, [ebp - 0x58]
push ecx
push 4
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [ebp - 0x74]
test eax, eax
je 0x4430f5
push 0x103
lea eax, [ebp + 0x1ec]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x50]
call dword [ebp - 0x7c]
test eax, eax
jne 0x44303b
mov byte [ebp + 0x1ec], bl
jmp 0x4430f5
mov eax, dword [ebp - 0x64]
inc dword [ebp - 0x48]
cmp eax, ebx
je 0x443089
cmp byte [eax], bl
je 0x443089
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x44306f
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x443089
mov ecx, dword [ebp - 0x54]
cmp dword [ecx], eax
jne 0x443089
cmp dword [ebp + 0x404], 2
je 0x44313e
cmp dword [ebp + 0x404], 1
je 0x44319a
cmp edi, ebx
je 0x4430f5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
lea ecx, [ebp + 0x1ec]
push ecx
mov dword [ebp - 0x80], eax
call edi
mov ecx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x68]
add ecx, eax
mov eax, dword [ebp + 0x40c]
add eax, 0xfffffff8
cmp ecx, eax
jge 0x4430f5
lea eax, [ebp + 0x1ec]
push eax
push edi
call esi
push 0x45b88c
push edi
call esi
mov eax, dword [ebp - 0x54]
push dword [eax]
lea eax, [ebp + 0x2f0]
push 0x45aac0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp + 0x2f0]
push eax
push edi
call esi
push 0x45984c
push edi
call esi
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x5c]
jb 0x442fd6
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x4c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0x404]
sub eax, 3
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x48]
jmp 0x442c58
call fcn.0043f33e
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x4c]
push dword [edi + eax*4]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x443166
mov dword [ebp - 0x48], ebx
cmp esi, ebx
je 0x443171
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x48]
jmp 0x442c58
mov esi, dword [ebp - 0x70]
cmp esi, ebx
je 0x4431c9
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4431c9
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
push dword [ecx + eax*4]
call fcn.0044097a
mov dword [esi], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax + ecx*4]
jmp 0x442c58