Function at 0x4012a2
Capabilities:
Log keystrokes
Move file
Rebuild import table
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x284
mov eax, dword [0x410040]
xor eax, esp
mov dword [esp + 0x280], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x74]
push edi
push eax
call fcn.00402451
mov dword [esp], str.PSText.dll
lea eax, [esp + 0x7c]
push 0x104
push eax
call fcn.0040293c
add esp, 0xc
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x401385
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetTicket
push eax
call edi
push str.GetLocid
push dword [esp + 0x10]
mov dword [esp + 0x20], eax
call edi
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], esi
je 0x401385
cmp eax, esi
je 0x401385
push 0xf
call fcn.00402a25
pop ecx
push 0xf
mov edi, eax
call fcn.00402a25
pop ecx
push 0xf
push edi
mov dword [esp + 0x14], eax
call dword [esp + 0x20]
push 0xf
push dword [esp + 0x18]
call dword [esp + 0x24]
push edi
call fcn.004028e7
add esp, 0x14
push dword [esp + 0xc]
mov dword [str.q7LXneU57], eax
call fcn.004028e7
pop ecx
push edi
mov dword [0x410f74], eax
call fcn.004029b0
pop ecx
push dword [esp + 0xc]
call fcn.004029b0
pop ecx
push 0x40dd50
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4013e5
push 0x104
lea eax, [esp + 0x184]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.004026ca
call fcn.00402504
call fcn.00402504
push 5
push esi
lea eax, [esp + 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00402852
mov esp, ebp
pop ebp
ret 0x10
push esi
mov dword [esp + 0x30], 0x30
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0x7f00
push esi
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x66
push ebx
mov dword [esp + 0x50], eax
call edi
push 0x66
push ebx
mov dword [esp + 0x4c], eax
call edi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], 0x40156c
mov dword [esp + 0x58], str.PSun
mov dword [esp + 0x54], esi
mov dword [esp + 0x34], 3
call dword [sym.imp.USER32.dll_RegisterClassExA]
push esi
push ebx
push esi
push esi
mov eax, 0x97
push eax
mov ecx, 0x1a4
push ecx
mov dword [esp + 0x40], eax
mov eax, 0x80000000
push eax
push eax
push 0xe0000
push str.Playsushi_Uninstaller
push dword [esp + 0x7c]
mov dword [esp + 0x48], esi
push esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
push 0xfffffffffffffff0
push ebx
mov dword [esp + 0x1c], ebx
call edi
push 0xffffffffffffffec
push ebx
mov dword [esp + 0x18], eax
call edi
push eax
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push 0x202
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push esi
push esi
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x3e8
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
call edi
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push esi
push esi
push esi
push 9
call ebx
push eax
push 9
call dword [sym.imp.USER32.dll_keybd_event]
push 0x3e8
call edi
push esi
push esi
push esi
push 9
call ebx
push eax
push 9
call dword [sym.imp.USER32.dll_keybd_event]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x401556
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x401556
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
push esi
lea eax, [esp + 0x68]
push eax
call edi
test eax, eax
jne 0x40152d
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]