Function at 0x405d80
Capabilities:
Extract resource via kernel32 functions
Get common file path
Log keystrokes via application hook
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54591e
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5a5ff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 8
push eax
mov dword [ebp - 0x224], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.00413d71
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 8
push 0x13b
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x405ed5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebx
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x405ec7
push str.WINGDNG3.TTF
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0052f5d1
add esp, 0xc
lea ecx, [ebp - 0x23c]
call fcn.0041528f
push 0
push 0x1001
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x23c]
call fcn.0041581b
test eax, eax
je 0x405eb5
push dword [ebp - 0x220]
lea ecx, [ebp - 0x23c]
push dword [ebp - 0x21c]
call fcn.00415b88
lea ecx, [ebp - 0x23c]
call fcn.004155d5
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceExW]
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041530f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x1e0
call fcn.00407b0b
mov esi, eax
add esp, 4
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x405f1e
mov ecx, esi
call fcn.00416e73
push ecx
mov byte [ebp - 4], 2
lea ecx, [esi + 0x120]
mov dword [esi], vtable.CMainFrame.0
call fcn.00406f90
mov dword [esi + 0x1d8], 0
jmp 0x405f20
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x405f32
xor eax, eax
jmp 0x40602b
push 0
push 0
mov dword [edi + 0x20], esi
mov ecx, esi
mov eax, dword [esi]
push 0xcf0000
push 0x80
call dword [eax + 0x168]
push 0
mov ecx, esi
call fcn.004064f0
push 5
mov ecx, esi
call fcn.0040ba69
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push ebx
push 0x4060d0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x5bb8a8], eax
test eax, eax
jne 0x405fac
push 0xffffffffffffffff
push 0x10
push 0x81
call fcn.0040a032
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 0x26c]
call fcn.004133a3
mov dword [ebp - method.CCommandLineInfo.virtual_0], 0x585c20
mov dword [ebp - 0x240], 0
lea eax, [ebp - 0x26c]
mov dword [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00413f6f
mov edi, dword [ebp - 0x240]
cmp edi, 2
ja 0x40601b
push 0x3f5
lea ecx, [esi + 0x120]
call fcn.0040b713
test eax, eax
je 0x40601b
push 0
push edi
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0x120]
call fcn.00407680
lea ecx, [ebp - 0x26c]
call fcn.0041356d
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527f88
mov esp, ebp
pop ebp
ret