Function at 0x483570
Capabilities:
Check for foreground window switch
Check mutex on windows
Create directory
Create process on windows
Encode data using xor
Find taskbar
Log keystrokes
Read file via mapping
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0xf8
mov ecx, 0x57b758
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4835a7
test dx, dx
je 0x4835a3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4835a7
add eax, 4
add ecx, 4
test dx, dx
jne 0x483581
xor eax, eax
jmp 0x4835ac
sbb eax, eax
or eax, 1
push ebx
push esi
test eax, eax
je 0x4836f0
xor eax, eax
mov dword [ebp - 0xc], 0
push eax
push 0x104
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.00402d00
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp - 8], 8
lea eax, [ebp + 8]
lea esi, [ebp - 0x1c]
mov dword [ebp + 0x10], 1
cmovae esi, dword [ebp - 0x1c]
xor ebx, ebx
push eax
push 8
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x483651
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_open_process_token._Error_code:
push 0x5b9338
call fcn.0047dba0
add esp, 8
mov ecx, eax
call fcn.0047ea70
push eax
call fcn.0047dfb0
add esp, 4
xor bl, bl
jmp 0x4836bc
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push 4
lea eax, [ebp + 0x10]
push eax
push 0x12
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4836a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_get_token_information._Error_code:
push 0x5b9338
call fcn.0047dba0
add esp, 8
mov ecx, eax
call fcn.0047ea70
push eax
call fcn.0047dfb0
add esp, 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x4836bc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x10], 2
mov eax, 1
cmove ebx, eax
push 1
push 0
push 0x57b758
mov ecx, str.open
test bl, bl
push esi
mov eax, str.runas
cmove eax, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.00403070
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
push edi
push 0
mov dword [0x5b85fc], eax
call dword [sym.imp.ole32.dll_OleInitialize]
lea eax, [ebp - 0x54]
push eax
call fcn.00450ba0
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x54]
add esp, 4
mov esi, 1
cmp dword [ebp - 0x40], 8
cmovae edx, dword [ebp - 0x54]
lea edi, [eax + eax]
lea ebx, [esi + 3]
test edi, edi
je 0x483751
nop word [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
mov ecx, esi
and ecx, 0x3f
add ecx, ebx
add ebx, 3
imul ecx, eax
mov eax, esi
shl eax, 8
add ecx, eax
xor esi, ecx
sub edi, 1
jne 0x483730
push esi
lea eax, [ebp - 0xd0]
push str.LucyMutex__08X
push eax
call fcn.004014d0
push esi
lea eax, [ebp - 0x84]
push str.LucyShareMemory__08X
push eax
call fcn.004014d0
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x483817
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
je 0x483810
push 0
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x483809
push 0
push 0
push 0x465
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x483f12
push str.IsWow64Process
push str.kernel32
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x483848
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp + 0x10], 0
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
je 0x483867
push 0x40030
push 0x57d3ec
push 0x57d3f4
push 0
call edi
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x57d418
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040bd70
add esp, 0xc
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
cmovae eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4838b8
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push 0
cmovae eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.00481830
mov ecx, eax
call fcn.0047f770
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call fcn.00481830
push 0
push 0x57b610
push 0
mov dword [eax + 8], esi
call fcn.00481830
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
mov eax, dword [eax + 8]
push eax
call ebx
mov esi, eax
call fcn.00481830
push 0
push str.Shell_TrayWnd
push 0
mov dword [eax + 0xc], esi
call fcn.00481830
mov eax, dword [eax + 8]
push eax
call ebx
mov esi, eax
call fcn.00481830
mov dword [eax + 0x10], esi
call fcn.00481830
cmp dword [eax + 0x10], 0
je 0x48393f
push 0
push str.TrayNotifyWnd
push 0
call fcn.00481830
mov eax, dword [eax + 0x10]
push eax
call ebx
mov esi, eax
call fcn.00481830
mov dword [eax + 0x14], esi
push 0x10
push str.R7_qsSb_YB_y3T
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.004027c0
lea eax, [ebp - 0x1c]
push eax
push 0x578f88
push 0xc9
call fcn.00409960
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00402770
push 0xa
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.langzh_CN
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00402e60
push 4
xor eax, eax
mov dword [ebp - 0xa8], 0
push str.gray
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.00402e60
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0x57d514
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0x1c]
push 5
xor eax, eax
mov dword [ebp - 0xf4], 0x480a40
push str.skin_
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.00402e60
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xb8]
push eax
push 0
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00407c40
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.00403070
mov ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x483a63
mov edx, dword [ecx]
lea eax, [ebp - 0xf8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0xd4], 0
lea ecx, [ebp - 0xb8]
call fcn.00403070
lea ecx, [ebp - 0x3c]
call fcn.00403070
call fcn.00481830
cmp dword [eax + 0x9c], 0
je 0x483ae1
call fcn.00481830
add eax, 0x8c
push eax
call fcn.0047fe10
add esp, 4
test al, al
jne 0x483ae1
call fcn.00481830
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x483aad
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x3c]
push 0x57d458
push eax
call fcn.004014d0
add esp, 0xc
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
cmovae eax, dword [ebp - 0x3c]
push 0x40030
push 0x57d3ec
push eax
push 0
call edi
lea ecx, [ebp - 0x3c]
call fcn.00403070
push 0x264
call fcn.005313dc
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x483b42
mov dword [ebx + 8], 0x57d20c
mov ecx, ebx
mov dword [ebx + method.nbase::SupportWeakCallback.virtual_0], vtable.nbase::SupportWeakCallback.0
push 0
mov dword [ebx + 0x25c], 0
mov dword [ebx + 0x260], 0
call fcn.004389a0
mov eax, dword [ebx + 8]
mov dword [ebx], vtable.CHideWnd.0
mov dword [ebx + method.CHideWnd.virtual_60], vtable.CHideWnd.1.0
mov eax, dword [eax + 4]
mov dword [eax + ebx + 8], vtable.CHideWnd.2.0
jmp 0x483b44
xor ebx, ebx
cmp dword [0x5b2818], 8
lea edx, [ebp - 0x14]
mov eax, dword [ebx]
mov ecx, 0x5b2804
cmovae ecx, dword [0x5b2804]
xorps xmm0, xmm0
push edx
push 1
push 0
push 0x80880000
push ecx
push 0
mov ecx, ebx
movups xmmword [ebp - 0x14], xmm0
call dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
push 1
push 0
call dword [eax + 0x14]
push 0x156c
call fcn.005313dc
add esp, 4
test eax, eax
je 0x483ba4
push 1
push dword [ebp + 8]
mov ecx, eax
call fcn.00486fe0
mov edi, eax
mov dword [ebp - 0x20], eax
jmp 0x483ba9
xor edi, edi
mov dword [ebp - 0x20], edi
cmp dword [0x5b2818], 8
lea ecx, [ebp - 0x14]
mov esi, dword [edi]
mov eax, 0x5b2804
cmovae eax, dword [0x5b2804]
xorps xmm0, xmm0
push ecx
push 1
push 0
push 0xce0000
push eax
mov ecx, ebx
movups xmmword [ebp - 0x14], xmm0
call fcn.004237c0
push eax
mov ecx, edi
call dword [esi + 0xc]
mov ecx, edi
call fcn.004237c0
mov esi, eax
call fcn.00481830
mov dword [eax + 4], esi
call fcn.00481830
mov dword [eax], 0
call fcn.00481830
cmp byte [eax + 0x2b], 0
jne 0x483c28
call fcn.00481830
cmp byte [eax + 0x2c], 0
jne 0x483c28
call fcn.00481830
cmp byte [eax + 0x2a], 0
jne 0x483c28
call fcn.00481830
cmp byte [eax + 0x29], 0
je 0x483c43
call fcn.00481830
push 0
push dword [ebp + 8]
mov esi, eax
push 0x480760
push 0xe
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
push 0x58c094
push 1
push 0
push 0x58c064
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x483c84
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp + 8]
mov ecx, edi
mov esi, dword [eax]
call fcn.004237c0
push eax
push dword [ebp + 8]
call dword [esi + 0x14]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call fcn.00481830
mov ecx, edi
cmp byte [eax + 0x1f], 0
je 0x483c9b
call fcn.0048ca40
jmp 0x483da4
mov eax, dword [edi]
push 1
push 1
call dword [eax + 0x14]
mov ecx, edi
call fcn.004237c0
mov esi, eax
push esi
mov dword [ebp + 0x10], esi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
setne byte [ebp + 0xb]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x483cea
push 0
push 0xf120
push 0x112
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebp + 0xb], 0
jne 0x483dbe
mov dword [ebp + 8], 0
nop dword [eax + eax]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp esi, eax
je 0x483d7d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
mov esi, eax
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 3
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
inc edi
mov dword [ebp + 8], edi
cmp edi, 0xa
jl 0x483d00
mov edi, dword [ebp - 0x20]
push dword [edi + 0x10]
call sub.IMM32.dll_ImmGetContext
push 0
push eax
mov dword [edi + 0x1558], eax
call sub.IMM32.dll_ImmSetOpenStatus
push dword [edi + 0x1558]
push dword [edi + 0x10]
call sub.IMM32.dll_ImmAssociateContext
call fcn.00481830
cmp byte [eax + 0x1e], 0
je 0x483dce
push 1
mov ecx, ebx
call fcn.0043a960
mov byte [ebp + 8], 1
jmp 0x483dd2
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x483d80
mov byte [ebp + 8], 0
push dword [ebp + 8]
mov ecx, edi
call fcn.0043a960
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp + 8], eax
test eax, eax
je 0x483e29
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x483e29
mov ecx, edi
call fcn.004237c0
mov dword [esi], eax
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0xa0]
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
push 0
push eax
movups xmmword [ebp - 0xa0], xmm0
movq qword [ebp - 0x90], xmm0
call esi
test eax, eax
je 0x483e8d
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xa0]
push eax
call edi
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0xa0]
push eax
call esi
test eax, eax
jne 0x483e64
call fcn.00481830
cmp dword [eax], 0
je 0x483ea4
call fcn.00481830
push dword [eax]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call fcn.00481830
mov ecx, ebx
mov dword [eax], 0
call fcn.00426fd0
push eax
mov ecx, ebx
call fcn.00424690
mov eax, dword [ebx + 8]
push 1
mov ecx, dword [eax + 4]
add ecx, 8
add ecx, ebx
mov eax, dword [ecx]
call dword [eax]
call fcn.00408290
mov eax, dword [ebp - 4]
test eax, eax
je 0x483ee2
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp + 8]
test eax, eax
je 0x483ef0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x483efe
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov esi, dword [ebp - 0x98]
lea ecx, [ebp - 0x6c]
call fcn.00403070
lea ecx, [ebp - 0x84]
call fcn.00403070
lea ecx, [ebp - 0xd0]
call fcn.00403070
lea ecx, [ebp - 0x54]
call fcn.00403070
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10