Function at 0x4f4050
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x7364f8]
test eax, eax
jne 0x4f407a
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x7364f8], eax
push str.TaskDialogIndirect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4f4156
push 0x60
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.006a1300
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x14]
and cl, 1
sub cl, 1
add esp, 0xc
neg cl
mov dword [esp + 0x18], 0x60
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 8
or ecx, 0x1000
cmp byte [esi], 0
mov dword [esp + 0x24], ecx
je 0x4f40d6
or dword [esp + 0x24], 0x100
mov eax, dword [0x734df4]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x10]
push str.Rr2a
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], 0xfffd
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], ecx
call fcn.004bf140
test al, al
je 0x4f4124
mov dword [esp + 0x6c], 0x4f35d0
lea edx, [esp + 0x14]
push edx
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x20], 0
call ebx
cmp dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
sete dl
mov byte [esi], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [0x7364e0], 0
je 0x4f416a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call esi
mov ebx, dword [sym.imp.USER32.dll_SetWindowsHookExW]
push eax
push 0
push 0x4f3e30
push 4
call ebx
push 0x11
mov dword [esp + 0x14], eax
call fcn.0069e704
add esp, 4
test eax, eax
jne 0x4f4260
call fcn.004b05b0
mov dword [0x7364e0], 0
call esi
push eax
push 0
push 0x4f4000
push 5
call ebx
mov edx, dword [0x7364e0]
mov dword [edx + 0xd], eax
mov eax, edi
mov ebx, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4f41c7
sub eax, edx
sar eax, 1
cmp eax, 0x70
jae 0x4f4201
push 0x20
mov ecx, 0x70
sub ecx, eax
push ecx
push edi
lea ebx, [esp + 0x84]
push str._s_c
mov esi, 0x104
mov edi, ebx
call fcn.004af0d0
add esp, 0x10
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f4225
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x7364e0]
mov dl, byte [eax + 8]
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [eax + 4]
test eax, eax
mov byte [ecx], dl
je 0x4f4242
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push esi
call fcn.0069d0cc
add esp, 4
mov eax, edi
pop edi
pop esi
mov dword [0x7364e0], 0
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [eax], ecx
mov cl, byte [edx]
mov edx, dword [ebp + 0x18]
mov byte [eax + 8], cl
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], 0
mov dword [eax + 9], edx
mov dword [eax + 0xd], ecx
mov dword [0x7364e0], eax
jmp 0x4f41a9