Function at 0x1005bde
Capabilities:
Get common file path
Log keystrokes via polling
Persist via winlogon helper dll registry key
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x92c
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x74]
push edi
push 2
mov dword [0x1015774], eax
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push 0x10
lea eax, [ebp + 0x14]
push eax
push 2
push dword [0x1015774]
call ebx
push edi
lea eax, [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, edi
je 0x1005c88
push esi
mov dword [0x1014a7c], 1
call fcn.01005bab
test eax, eax
je 0x1005c88
lea eax, [ebp - 0x50]
push eax
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x74], edi
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [ebp - 0x4c], edi
je fcn.01005c65
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
push dword [ebp - 0x4c]
jmp loc.0103e6d2
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 6
call esi
push 7
push dword [0x1015774]
mov dword [0x10164e8], eax
call dword [sym.imp.USER32.dll_LoadIconW]
cmp eax, edi
mov dword [0x10149f4], eax
je 0x10060d7
push 0x3ec
push dword [0x1015774]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
cmp eax, edi
mov dword [0x10159e4], eax
je 0x10060d7
push 0xb
call esi
push 0xc
mov dword [0x1015760], eax
call esi
push 5
mov dword [0x10159e8], eax
call esi
shl eax, 1
push 6
mov dword [0x1016934], eax
call esi
mov ecx, dword [0x1016934]
mov edx, dword [0x1015760]
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push edi
lea ecx, [edx + ecx*2]
shl eax, 1
push 0x10162c8
mov dword [0x101692c], ecx
mov ecx, dword [0x10159e8]
mov dword [0x1015778], eax
push edi
lea eax, [ecx + eax*2]
push 0xd
mov dword [0x1015770], eax
call esi
push edi
push 0x1016938
push edi
push 0x18
call esi
push edi
push 0x101400c
push edi
push 0x19
call esi
push edi
lea eax, [ebp - 0xac]
push eax
push 0x5c
push 0x1f
call esi
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
cmp eax, edi
mov dword [0x1014a08], eax
je 0x10060d7
push 3
push dword [0x1015774]
call dword [sym.imp.USER32.dll_LoadIconW]
cmp eax, edi
mov dword [0x1014a04], eax
je 0x10060d7
push 0x1016040
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
mov esi, 0x10162e0
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 1
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov esi, dword [ebp + 0x78]
cmp esi, edi
mov dword [0x101574c], edi
je 0x1005de6
cmp word [esi], di
je 0x1005de6
push 0x100192c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1005de6
mov dword [0x1014988], edi
mov dword [0x101574c], 1
mov word [esi], di
jmp 0x1005eb1
lea eax, [ebp + 0x68]
push eax
push 0x20019
push edi
push 0x1001618
push 0x80000002
jmp loc.0103e38b
cmp esi, edi
je 0x1005ec1
cmp word [esi], di
je 0x1005ec1
mov dword [ebp + 0x7c], 7
push 0x20
push 0x10159a0
push 0x6e
push dword [0x1015774]
call ebx
push 0x40
push 0x1016940
push 0x6f
push dword [0x1015774]
call ebx
push 0x10
lea eax, [ebp + 0x14]
push eax
push 2
push dword [0x1015774]
call ebx
push 0x10162e0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x100190c
mov dword [0x10149b0], edi
call esi
push 0x10018f0
mov dword [0x1016928], eax
call esi
push 0x10018c8
mov dword [0x1015764], eax
call esi
push 0x100189c
mov dword [0x1014a28], eax
call esi
push 0x1001880
mov dword [0x1014a2c], eax
call esi
push 0x10024fd
push 0xffffffffffffffff
mov dword [0x1014a30], eax
call dword [sym.imp.USER32.dll_SetWindowsHookW]
cmp eax, edi
mov dword [0x1014a70], eax
jne 0x1005f6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp + 0x14]
mov dword [ebp + 0x5c], eax
mov eax, dword [0x1015774]
push 1
push eax
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x3c], 0x1002ea6
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x44], 4
mov dword [ebp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push edi
mov dword [0x1014a00], eax
mov dword [ebp + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.USER32.dll_RegisterClassW]
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x38]
push eax
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x58], 0x3ed
call esi
test ax, ax
je 0x10060d7
push 0x10
lea eax, [ebp + 0x14]
push eax
push 3
push dword [0x1015774]
call ebx
lea eax, [ebp + 0x14]
mov dword [ebp + 0x5c], eax
lea eax, [ebp + 0x38]
push eax
mov dword [ebp + 0x38], 8
mov dword [ebp + 0x3c], 0x1007dc0
mov dword [ebp + 0x44], 4
mov dword [ebp + 0x4c], edi
mov dword [ebp + 0x54], 6
mov dword [ebp + 0x58], edi
call esi
test ax, ax
je 0x10060d7
push edi
push 0x20
lea eax, [ebp - 0xc]
push eax
push 1
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jl 0x1006048
push 0x20
lea eax, [ebp - 0xc]
push eax
push 1
push 0xffffffffffffffff
mov dword [ebp - 4], 0x64000
mov dword [ebp], 0x7f000
call dword [sym.imp.ntdll.dll_NtSetInformationProcess]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 8
push dword [0x1015774]
call esi
push 9
jmp loc.0103f19c
xor eax, eax
jmp 0x100620c
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc