Function at 0x4253e0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Empty the recycle bin
Get keyboard layout
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbe20
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4fd0b8]
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
mov edi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push 0
push 0
call edi
xor ecx, ecx
mov ebx, eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004795a7
add esp, 4
mov esi, eax
push esi
push ebx
call edi
test eax, eax
je 0x425462
xor ecx, ecx
test ebx, ebx
jle 0x425462
mov edx, 0x429
nop word [eax + eax]
movzx eax, word [esi + ecx*4]
cmp ax, dx
je 0x4254fc
inc ecx
cmp ecx, ebx
jl 0x425450
test esi, esi
je 0x425471
push 4
push esi
call fcn.0047917e
add esp, 8
call fcn.00447150
push 0x24
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push 0x4ed400
lea ecx, [ebp - 0x3c]
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00425770
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
setne bl
mov byte [ebp - 0x20], bl
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x42550e
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425504
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4256cd
jmp 0x425504
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push edx
push ecx
call fcn.0047917e
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
test bl, bl
jne 0x42552c
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
call fcn.00428ce0
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
lea ecx, [ebp - 0x1c]
call fcn.0043e500
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x425561
mov ecx, esi
call fcn.00446ef0
add esi, 0x18
cmp esi, edi
jne 0x425553
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00432fd0
call fcn.004474e0
call fcn.0044c440
call fcn.0044cc40
call fcn.0044db00
call fcn.00449610
lea ecx, [ebp - 0x1c]
call fcn.0043ee00
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x4255a6
mov ecx, esi
call fcn.00449a90
add esi, 0x18
cmp esi, edi
jne 0x425598
lea ecx, [ebp - 0x1c]
call fcn.00432fd0
call fcn.004321a0
mov esi, dword [0x508820]
test esi, esi
je 0x4255cf
mov ecx, esi
call fcn.00428720
push 0x7c
push esi
call fcn.0047917e
add esp, 8
mov esi, dword [0x508824]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x425675
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00427820
mov eax, dword [esi + 4]
test eax, eax
je 0x42565d
mov ecx, dword [esi + 8]
mov edx, eax
cmp eax, ecx
je 0x425611
nop
cmp dword [eax + 4], 0
jne 0x4256c8
add eax, 8
cmp eax, ecx
jne 0x425600
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 3
lea ecx, [eax*8]
cmp ecx, 0x1000
jb 0x42563e
mov ebx, dword [edx - 4]
add ecx, 0x23
sub edx, ebx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4256cd
mov edx, ebx
push ecx
push edx
call fcn.0047917e
mov dword [esi + 4], 0
add esp, 8
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi]
test eax, eax
je 0x425666
push eax
call edi
push 0x28
push esi
mov byte [ebp - 4], 0
call fcn.0047917e
add esp, 8
call fcn.00448260
call fcn.0044af00
call fcn.00449c50
call fcn.0044c7d0
call fcn.0044d2f0
call fcn.0044cb40
call fcn.00451b70
call fcn.0044d6a0
mov esi, dword [ebp - 0x24]
push esi
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push esi
call edi
xor eax, eax
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.0047913d
mov esp, ebp
pop ebp
ret
call fcn.0049cc59
call fcn.0049a999
int3