Function at 0x41e060
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x485696
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
mov eax, dword [0x4ba8fc]
mov dword [esp + 0x248], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
sub eax, 0x10
push edi
push eax
call fcn.004057f0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x264], esi
call fcn.0040b010
mov ecx, eax
call fcn.0040abc0
lea ecx, [esp + 0x10]
call fcn.0040ab60
xor eax, eax
mov dword [esp + 0x18], esi
mov ecx, 0x4b
lea edi, [esp + 0x1c]
push str.kernel32.dll
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.CreateToolhelp32Snapshot
push esi
call edi
push str.Process32First
push esi
mov ebx, eax
call edi
push str.Process32Next
push esi
mov dword [esp + 0x14], eax
call edi
push 0
push 2
mov dword [esp + 0x1c], eax
call ebx
lea ecx, [esp + 0x18]
mov ebx, eax
push ecx
push ebx
mov dword [esp + 0x20], 0x130
call dword [esp + 0x14]
test eax, eax
je 0x41e254
mov edx, dword [esp + 0x20]
mov byte [esp + 0x148], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x149]
rep stosd dword es:[edi], eax
push edx
stosw word es:[edi], ax
push 0
push 0x1f0fff
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0x104
lea eax, [esp + 0x14c]
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExA
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x10]
call fcn.004073b0
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 4]
mov esi, dword [edx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
sub eax, esi
or eax, ecx
mov byte [esp + 0x264], 1
jge 0x41e1b4
push esi
lea ecx, [esp + 0x10]
call fcn.00404140
mov edx, dword [esp + 0xc]
push edx
call fcn.0043e422
add esp, 4
test esi, esi
jl 0x41e29e
mov eax, dword [esp + 0xc]
cmp esi, dword [eax - 8]
jg 0x41e29e
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
mov byte [esi + edx], 0
call fcn.0040b010
mov ecx, eax
call fcn.0040abc0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call fcn.0043d96e
add esp, 8
test eax, eax
jne 0x41e212
push eax
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x18]
push edx
push ebx
call dword [esp + 0x1c]
push 1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x264], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e24c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
jne 0x41e132
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x264], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e27d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x254]
call fcn.0043d1f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004013c0
int3