Function at 0x104ca6a
Capabilities:
Log keystrokes via application hook

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x10de03c]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x474], ecx
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x45c], 1
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x464], edi
je 0x104d195
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
push ebx
call esi
lea eax, [eax + eax + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x468], eax
je 0x104cea3
push ebx
call esi
lea eax, [eax + eax + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x454], eax
jne 0x104cb05
push dword [ebp - 0x468]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x104cea3
push ebx
push dword [ebp - 0x468]
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push 0x20
pop ebx
push ebx
lea eax, [ebp - 0x244]
push eax
push 0x1770
call fcn.01067f86
push ebx
lea eax, [ebp - 0x144]
push eax
push 0x1771
call fcn.01067f86
push ebx
lea eax, [ebp - 0x84]
push eax
push 0x1772
call fcn.01067f86
push ebx
lea eax, [ebp - 0x44]
push eax
push 0x1774
call fcn.01067f86
push ebx
lea eax, [ebp - 0xc4]
push eax
push 0x17d5
call fcn.01067f86
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.msvcrt.dll_wcstok]
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
mov dword [ebp - 0x470], edi
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x488], 1
je 0x104cdaf
push 0x1009a88
push ebx
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x104cbc8
push 0x1009a80
push ebx
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
jne 0x104cc68
lea eax, [ebp - 0x44c]
push 0x1009a70
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x44c]
push 0x1009a64
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
mov esi, dword [ebp - 0x474]
mov eax, dword [esi + 0x20]
add esp, 0x10
cmp eax, edi
jne 0x104cc00
xor eax, eax
jmp 0x104cc03
mov eax, dword [eax + 0x20]
push 0x1009a38
push edi
lea ecx, [ebp - 0x44c]
push ecx
push eax
call fcn.010cb1e1
mov dword [esi + 0xfc], eax
call sub.MFC42u.DLL_AfxGetModuleState
mov ebx, dword [eax + 8]
push edi
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push ebx
push 0x104bfef
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [esi + 0x20]
push edi
mov dword [esi + 0x100], eax
call sub.MFC42u.DLL_CWnd::ShowWindow
push 2
mov dword [esi + 0x78], 7
mov dword [esi + 0xf8], 1
pop eax
jmp 0x104d19b
call fcn.0105f7d2
cmp eax, edi
mov dword [ebp - 0x480], eax
je 0x104ce79
push ebx
call esi
mov edi, dword [sym.imp.msvcrt.dll__wcsnicmp]
push eax
lea eax, [ebp - 0x244]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104ccec
push ebx
call esi
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104ccec
push ebx
call esi
push eax
push 0x1009a18
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104ccec
push ebx
call esi
push eax
lea eax, [ebp - 0x144]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104ccec
push ebx
call esi
push eax
lea eax, [ebp - 0xc4]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104ce77
xor eax, eax
push ebx
mov dword [ebp - 0x458], 1
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x484], eax
call esi
push eax
lea eax, [ebp - 0x144]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104cd29
mov dword [ebp - 0x47c], 1
push ebx
call esi
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104cd4f
and word [0x10e25d0], ax
mov dword [ebp - 0x46c], 1
push ebx
call esi
push eax
push 0x1009a18
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104cd6c
mov dword [ebp - 0x46c], 1
push ebx
call esi
push eax
lea eax, [ebp - 0xc4]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104cd8b
mov dword [ebp - 0x484], 1
call fcn.01050891
push eax
call esi
test eax, eax
pop ecx
jbe 0x104cdad
xor esi, esi
push esi
push esi
push esi
call fcn.01050ebf
push 8
push esi
call fcn.01050ebf
add esp, 0x14
xor edi, edi
mov esi, dword [sym.imp.msvcrt.dll__wcsicmp]
cmp dword [ebp - 0x488], edi
je 0x104cdc5
cmp dword [ebp - 0x458], edi
je 0x104cddc
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcstok]
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
je 0x104d07d
cmp word [ebp - 0x450], di
mov dword [ebp - 0x488], edi
jne 0x104ceaa
push dword [ebp - 0x46c]
lea eax, [ebp - 0x44]
push eax
push ebx
push dword [ebp - 0x480]
call fcn.010608d1
cmp dword [ebp - 0x458], edi
mov ecx, eax
mov dword [ebp - 0x478], ecx
je 0x104ce1e
cmp ecx, 0xfffffffe
je 0x104ceaa
xor eax, eax
inc eax
cmp ecx, 0x1783
mov dword [ebp - 0x464], eax
je 0x104ce3f
cmp ecx, 0x177c
je 0x104ce3f
cmp ecx, 0x177d
jne 0x104ce45
mov dword [ebp - 0x460], eax
cmp ebx, edi
je 0x104ce63
cmp ecx, 0xffffffff
je 0x104d114
cmp dword [ebp - 0x458], edi
jne 0x104ce63
cmp ecx, 0xfffffffd
jne 0x104d114
cmp ecx, 0xfffffffa
jne 0x104cdb5
mov dword [ebp - 0x45c], edi
jmp 0x104d17d
xor edi, edi
mov esi, 0xe0e
push esi
call fcn.010815f2
push edi
push edi
push edi
call fcn.01050ebf
push esi
push 1
push 1
push edi
call fcn.01050ebf
push edi
push 8
push edi
call fcn.01050ebf
add esp, 0x2c
xor eax, eax
jmp 0x104d19b
mov ax, word [ebx]
cmp ax, 0x22
je 0x104cfc6
cmp word [ebp - 0x450], di
jne 0x104cff9
cmp dword [ebp - 0x464], edi
mov dword [ebp - 0x460], 1
jne 0x104cef5
cmp word [ebx + 2], 0x3a
je 0x104cdb5
cmp ax, 0x5c
je 0x104cdb5
cmp ax, 0x40
je 0x104cdb5
push 0x40
lea eax, [ebp - 0x104]
push eax
push 0x1775
call fcn.01067f86
push 0x40
lea eax, [ebp - 0x1c4]
push eax
push 0x1776
call fcn.01067f86
push 0x40
lea eax, [ebp - 0x184]
push eax
push 0x1783
call fcn.01067f86
push 0x40
lea eax, [ebp - 0x204]
push eax
push 0xaf
call fcn.01067f86
lea eax, [ebp - 0x104]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104cf85
lea eax, [ebp - 0x1c4]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104cf85
lea eax, [ebp - 0x184]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104cf85
lea eax, [ebp - 0x204]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x104d06d
lea eax, [ebp - 0x104]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104cfb9
lea eax, [ebp - 0x184]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104cfb9
lea eax, [ebp - 0x1c4]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x104cdb5
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcstok]
jmp 0x104d02c
cmp word [ebp - 0x450], di
jne 0x104cff9
push 0x100205c
push dword [ebp - 0x454]
mov dword [ebp - 0x450], 1
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x450]
push eax
lea eax, [ebx + 2]
push eax
jmp 0x104d001
lea eax, [ebp - 0x450]
push eax
push ebx
push dword [ebp - 0x454]
mov ecx, dword [ebp - 0x474]
call fcn.0104b971
cmp word [ebp - 0x450], di
je 0x104d033
push 0x100549c
push dword [ebp - 0x454]
call dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
pop ecx
jmp 0x104cdb5
cmp dword [ebp - 0x464], edi
mov dword [ebp - 0x460], 1
jne 0x104d06d
mov eax, dword [ebp - 0x454]
cmp word [eax + 2], 0x3a
je 0x104cdb5
mov ax, word [eax]
cmp ax, 0x5c
je 0x104cdb5
cmp ax, 0x40
je 0x104cdb5
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x470], 1
cmp dword [ebp - 0x478], 0xfffffffa
je 0x104d17d
cmp dword [ebp - 0x470], edi
jne 0x104d0ce
cmp dword [ebp - 0x460], edi
jne 0x104d17d
cmp dword [ebp - 0x458], edi
je 0x104d17d
cmp dword [ebp - 0x47c], edi
jne 0x104d17d
cmp dword [ebp - 0x46c], edi
jne 0x104d17d
cmp dword [ebp - 0x484], edi
jne 0x104d17d
cmp dword [ebp - 0x464], edi
je 0x104d11f
cmp ebx, edi
je 0x104d11f
push ebx
mov esi, 0xdc7
push esi
call fcn.01088826
push edi
push edi
push edi
mov dword [ebp - 0x478], eax
call fcn.01050ebf
push ebx
push esi
push 1
push 1
push edi
call fcn.01050ebf
push edi
push 8
push edi
call fcn.01050ebf
mov ebx, dword [ebp - 0x478]
add esp, 0x34
jmp 0x104d14b
mov dword [ebp - 0x470], eax
jmp 0x104d07d
mov esi, 0xe28
push esi
call fcn.01088826
push edi
push edi
push edi
mov ebx, eax
call fcn.01050ebf
push esi
push 1
push 1
push edi
call fcn.01050ebf
push edi
push 8
push edi
call fcn.01050ebf
add esp, 0x2c
cmp word [0x10e25d0], di
je 0x104d15e
push ebx
push 1
call fcn.01062131
jmp 0x104d16f
push 1
push edi
push 0x30
push edi
push ebx
push 0xfa6
call fcn.01054b83
push ebx
mov dword [ebp - 0x45c], edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x468]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
push dword [ebp - 0x454]
call esi
pop ecx
pop ecx
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075aef
leave
ret 4