Function at 0x41e250
Capabilities:
Check os version
Terminate process

Disassembly:
mov eax, 0x2200
call fcn.0045d560
mov eax, dword [0x4a3f4c]
xor eax, esp
mov dword [esp + 0x21fc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x220c]
push esi
xor esi, esi
mov eax, ebp
mov dword [esp + 0x18], esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e280
sub eax, edx
mov ebx, eax
lea eax, [ebx - 1]
cmp eax, 0x103
ja 0x41e55a
cmp ebx, esi
push edi
jle 0x41e2cb
lea ecx, [esp + 0x2004]
sub ebp, ecx
jmp 0x41e2b0
lea edi, [esp + esi + 0x2004]
movsx edx, byte [edi + ebp]
push edx
call fcn.0045d998
inc esi
add esp, 4
cmp esi, ebx
mov byte [edi], al
jl 0x41e2b0
lea eax, [esp + 0x1f70]
push eax
mov byte [esp + ebx + 0x2008], 0
mov dword [esp + 0x1f74], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x41e2fa
mov eax, 0x25e
jmp 0x41e52c
cmp dword [esp + 0x1f80], 2
je 0x41e30e
mov eax, 0x25f
jmp 0x41e52c
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x41e32d
mov eax, 0x25d
jmp 0x41e52c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push ebx
call esi
push str.EnumProcessModules
push ebx
mov edi, eax
call esi
push str.GetModuleBaseNameA
mov ebp, eax
push ebx
mov dword [esp + 0x34], ebp
call esi
mov dword [esp + 0x24], eax
test edi, edi
je 0x41e54c
test ebp, ebp
je 0x41e54c
test eax, eax
je 0x41e54c
lea ecx, [esp + 0x18]
push ecx
push 0x1f40
lea edx, [esp + 0x38]
push edx
call edi
test eax, eax
jne 0x41e395
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x2bd
jmp 0x41e52c
mov eax, dword [esp + 0x18]
shr eax, 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
test eax, eax
jbe 0x41e504
mov ebx, dword [esp + 0x221c]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x30]
push ecx
xor edi, edi
push edi
push 0x410
call ebp
mov esi, eax
test esi, esi
je 0x41e407
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x28]
push eax
push esi
call dword [esp + 0x3c]
test eax, eax
je 0x41e407
mov edx, dword [esp + 0x20]
push 0x104
lea ecx, [esp + 0x210c]
push ecx
push edx
push esi
call dword [esp + 0x34]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x41e4ed
lea eax, [esp + 0x2108]
push eax
lea esi, [esp + 0x2008]
call fcn.0045e6fb
add esp, 4
lea ecx, [ecx]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x41e450
test cl, cl
je 0x41e44c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x41e450
add eax, 2
add esi, 2
test cl, cl
jne 0x41e430
xor eax, eax
jmp 0x41e455
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e4ed
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x2218], eax
je 0x41e51f
cmp dword [esp + 0x1f74], 5
jne 0x41e4d8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + ecx*4 + 0x30]
push edx
push eax
push 1
call ebp
mov esi, eax
test esi, esi
je 0x41e4c2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
test eax, eax
je 0x41e4a6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41e4e9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x41e4ed
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x25a
jmp 0x41e52c
test ebx, ebx
jne 0x41e4ed
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x25c
jmp 0x41e52c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x30]
push ecx
call fcn.0041e810
add esp, 4
test ebx, ebx
je 0x41e545
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jb 0x41e3c0
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
and eax, 0xfffffda5
add eax, 0x25b
jmp 0x41e52c
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21fc]
xor ecx, esp
call fcn.0045a1dd
add esp, 0x2200
ret
mov eax, dword [esp + 0x10]
push eax
jmp 0x41e524
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x2bc
jmp 0x41e52c
mov ecx, dword [esp + 0x2208]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x278
call fcn.0045a1dd
add esp, 0x2200
ret