Function at 0x401e88
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 [0x41b424]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [esp + 0x10], esi
call fcn.00401be9
test al, al
jne 0x401ef4
push 0x418c50
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x401ef4
push 0x30
push str.PlaySushi
push str.You_do_not_have_sufficient_privileges_to_run_this_software._Log_on_as_administrator_or_use__Run_As__menu_option_to_run_this_software_as_administrator.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040588a
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x78]
push eax
call fcn.004035f5
mov dword [esp], 0x418094
mov esi, 0x104
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.00405995
add esp, 0xc
push str.PSText.dll
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.00405995
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 0x401fc4
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 0x401fc4
cmp eax, esi
je 0x401fc4
push 0x19
call fcn.00405a14
pop ecx
push 0x19
mov edi, eax
call fcn.00405a14
pop ecx
push 0x19
push edi
mov dword [esp + 0x14], eax
call dword [esp + 0x20]
push 0x19
push dword [esp + 0x18]
call dword [esp + 0x24]
push edi
call fcn.00405940
add esp, 0x14
push dword [esp + 0xc]
mov dword [str.I3AAt497516ByLXGN8q4], eax
call fcn.00405940
pop ecx
push edi
mov dword [0x41c2a4], eax
call fcn.00405a1f
pop ecx
push dword [esp + 0xc]
call fcn.00405a1f
pop ecx
push 0x418c50
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x402009
push 0x104
lea eax, [esp + 0x184]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 1
call fcn.00403d65
pop ecx
push 5
push esi
lea eax, [esp + 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x401edb
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], 0x402466
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 0x4182d0
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 0x40217a
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x40217a
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 0x402151
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]