Function at 0x4056a0
Capabilities:
Create process on windows
Create thread
Set global application hook
Terminate thread

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2ac
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov ebx, dword [esp + 0x2c0]
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 0x4525e0
mov dword [esp + 4], 0x67
mov dword [esp], ebx
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 0x452500
mov dword [esp + 4], 0x6b
mov dword [esp], ebx
call edi
sub esp, 0x10
mov dword [esp + 4], 0x4525e0
mov dword [esp], 0x452500
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x45b0d8], eax
sub esp, 8
test eax, eax
jne 0x405b90
mov eax, dword [0x45aea0]
xor ecx, ecx
movzx edx, word [eax + eax + 0x4525e0]
test dx, dx
jne 0x405759
jmp 0x40577b
cmp dx, 0x2d
je 0x40575f
add eax, 1
mov ecx, 1
movzx edx, word [eax + eax + 0x4525e0]
test dx, dx
je 0x405da8
mov esi, eax
cmp dx, 0x20
jne 0x405738
test cl, cl
je 0x405769
mov dword [0x45aea0], esi
cmp word [eax + eax + 0x4525e2], 0
lea edx, [eax + 1]
jne 0x405bc0
mov dword [esp], 0x27b0
call sub.msvcrt.dll_malloc
mov dword [0x452484], eax
mov dword [0x452480], eax
test eax, eax
je 0x405b30
mov dword [esp + 8], 0
mov dword [esp + 4], 0x27b0
mov dword [esp], 0x1413
call fcn.0042bd00
test eax, eax
jne 0x405b30
mov edx, dword [0x452484]
lea eax, [edx + 0xc50]
mov dword [0x452480], eax
mov eax, dword [0x4524d0]
test eax, eax
je 0x405db8
add edx, 0x66
neg eax
mov dword [esp + 0x30], 1
mov esi, dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 4
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x2bc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
mov dword [0x4524e8], eax
sub esp, 0x38
test eax, eax
je 0x405e50
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x401fe0
mov dword [esp], 5
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
sub esp, 0x10
mov dword [0x4524e4], eax
call fcn.0041a780
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xa0], 0x30
mov dword [esp + 0xa4], 3
mov dword [esp + 0xa8], 0x402ca0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 4], 0x65
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_LoadIconW]
sub esp, 8
mov dword [esp + 0xcc], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
sub esp, 8
lea esi, [esp + 0xa0]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 6
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0x452500
mov dword [esp], esi
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [0x4524e0], 1
sub esp, 4
call fcn.0040dad0
test eax, eax
jne 0x405b80
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4524cc], eax
sub esp, 0x10
test eax, eax
je 0x4059c6
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x42ba80
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
mov dword [esp], 0x4524c0
mov dword [0x4524c8], eax
call fcn.004029a0
mov eax, dword [0x45ae50]
test eax, eax
je 0x405bd0
mov eax, dword [0x4583e0]
test eax, eax
je 0x4059f8
cmp eax, 0xffff
jle 0x405be0
mov eax, dword [esp + 0x2cc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00405290
test eax, eax
je 0x405ed5
call fcn.0041b590
mov dword [esp], ebx
mov dword [esp + 4], 0x6b
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov ebp, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
sub esp, 8
mov ebx, eax
jmp 0x405a5f
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call ebp
sub esp, 0xc
test eax, eax
je 0x405e30
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call edi
sub esp, 0x10
test eax, eax
jne 0x405a40
mov eax, dword [0x4524e8]
test eax, eax
je 0x405a98
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
sub esp, 4
mov eax, dword [0x4524e4]
test eax, eax
je 0x405aad
mov dword [esp], eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
sub esp, 4
mov eax, dword [0x4524c8]
test eax, eax
je 0x405adb
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x4524c8]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [0x4524cc]
test eax, eax
je 0x405af0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [0x4524c0]
test eax, eax
je 0x405b16
mov dword [esp], eax
call dword [sym.imp.WINMM.DLL_waveOutReset]
mov eax, dword [0x4524c0]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINMM.DLL_waveOutClose]
sub esp, 4
mov eax, dword [esp + 0xa8]
add esp, 0x2ac
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [0x45b0dc]
mov dword [0x45ae44], 0x42f372
mov dword [0x45ae40], 0x42f372
mov dword [esp + 8], eax
mov eax, dword [0x45b0d4]
mov dword [0x45ae48], 0x10
mov dword [esp + 0x10], 0x45ae40
mov dword [esp + 0xc], 0x402210
mov dword [esp + 4], 0x89
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
sub esp, 0x14
add esp, 0x2ac
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 4], 3
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindowAsync]
mov eax, dword [0x45b0d8]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
sub esp, 4
jmp 0x405b80
mov dword [0x45aea0], edx
jmp 0x40577b
mov eax, dword [0x4583e0]
cmp eax, 0xffff
jg 0x405c30
test eax, eax
je 0x405c30
xor edx, edx
xor eax, eax
mov dword [eax + 0x45ae80], edx
add eax, 4
cmp eax, 0x18
jb 0x405be4
mov dword [esp + 8], 0x3db0
mov dword [esp + 4], 0
mov dword [esp], 0x4527c0
call sub.msvcrt.dll_memset
mov edx, 0x4587a0
mov ecx, 0x10e
xor eax, eax
mov dword [0x45ae4c], 0
mov edi, edx
rep stosd dword es:[edi], eax
jmp 0x4059f8
mov eax, dword [0x452484]
mov dword [esp], esi
mov dword [esp + 4], 0x200
lea edx, [eax + 0x26c]
mov dword [0x45ae40], 0x42f384
mov dword [esp + 0x10], edx
lea edx, [eax + 0x25a]
add eax, 0x7f8
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call fcn.0042d880
mov eax, dword [0x45b0dc]
mov dword [0x45ae44], esi
mov dword [esp + 0x10], 0x45ae40
mov edi, dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [esp + 8], eax
mov eax, dword [0x45b0d4]
mov dword [0x45ae48], 0x34
mov dword [esp + 0xc], 0x402210
mov dword [esp + 4], 0x89
mov dword [esp], eax
call edi
sub esp, 0x14
cmp eax, 6
je 0x405f95
xor eax, eax
lea edi, [esp + 0x60]
mov ecx, 0x10
mov dword [esp + 0x5c], 0x44
rep stosd dword es:[edi], eax
mov dword [esp], 0x4583ec
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 4
mov dword [esp + 4], 0x11
mov dword [esp], 0x457be0
call fcn.0040cc20
mov eax, dword [0x4524e8]
test eax, eax
je 0x405d07
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
sub esp, 4
mov eax, dword [0x4524e4]
test eax, eax
je 0x405d1c
mov dword [esp], eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
sub esp, 4
call fcn.00423c60
mov eax, dword [0x452484]
mov dword [esp + 4], 0x104
mov dword [esp], 0x45aec0
add eax, 0xd4
mov dword [esp + 8], eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
lea eax, [esp + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x45aec0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
jmp 0x405b80
mov dword [0x45aea0], eax
jmp 0x40577b
mov dword [esp], 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x58
mov dword [esp], eax
call ebp
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0x5a
mov dword [esp], esi
call ebp
lea ecx, [edi + eax]
mov eax, 0x2aaaaaab
sub esp, 8
imul ecx
sar ecx, 0x1f
mov dword [esp + 4], esi
mov dword [esp], 0
sar edx, 1
sub edx, ecx
lea eax, [edx + 0x18]
mov dword [0x4524d0], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [0x452484]
mov eax, dword [0x4524d0]
sub esp, 8
jmp 0x4057db
mov dword [esp], esi
call dword [sym.imp.USER32.dll_TranslateMessage]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.USER32.dll_DispatchMessageW]
sub esp, 4
jmp 0x405a5f
mov eax, dword [0x452484]
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 5
add eax, 0x78
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], eax
mov eax, dword [0x4524d0]
mov dword [esp + 0x24], 4
neg eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x2bc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
mov dword [0x4524e8], eax
sub esp, 0x38
jmp 0x40585f
mov dword [esp], 0x4583ec
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 4
mov dword [esp + 4], 0x11
mov dword [esp], 0x457be0
call fcn.0040cc20
mov eax, dword [0x4524e8]
test eax, eax
je 0x405f0e
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
sub esp, 4
mov eax, dword [0x4524e4]
test eax, eax
je 0x405f23
mov dword [esp], eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
sub esp, 4
mov eax, dword [0x4524c8]
test eax, eax
je 0x405f51
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x4524c8]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [0x4524cc]
test eax, eax
je 0x405f66
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [0x4524c0]
test eax, eax
je 0x405b80
mov dword [esp], eax
call dword [sym.imp.WINMM.DLL_waveOutReset]
mov eax, dword [0x4524c0]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.WINMM.DLL_waveOutClose]
sub esp, 4
jmp 0x405b80
mov eax, dword [0x452484]
mov dword [0x4583e0], 0x733e
mov dword [0x45ae40], 0x42f394
add eax, 0x284
mov dword [esp + 0x10], 0x45ae40
mov dword [0x45ae44], eax
mov eax, dword [0x45b0dc]
mov dword [0x45ae48], 0x40
mov dword [esp + 8], eax
mov eax, dword [0x45b0d4]
mov dword [esp + 0xc], 0x402210
mov dword [esp + 4], 0x89
mov dword [esp], eax
call edi
sub esp, 0x14
jmp 0x4059e4