Function at 0x104ebaf
Capabilities:
Log keystrokes via application hook

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x10e607c]
mov dword [ebp - 4], eax
mov eax, dword [0x10e5394]
mov dword [ebp - 0x258], eax
mov eax, dword [0x10e5398]
mov dword [ebp - 0x218], eax
mov eax, dword [0x10e5378]
mov dword [ebp - 0x240], eax
mov eax, dword [0x10e537c]
mov dword [ebp - 0x22c], eax
mov eax, dword [0x10e5380]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x224], eax
mov eax, dword [0x10e5388]
push esi
mov dword [ebp - 0x238], eax
xor eax, eax
cmp ebx, eax
push edi
mov edi, ecx
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x23c], eax
je 0x104f336
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]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x234], eax
je 0x104f06b
push ebx
call esi
lea eax, [eax + eax + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x214], eax
jne 0x104ec9a
push dword [ebp - 0x234]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x104f06b
push ebx
push dword [ebp - 0x234]
call dword [sym.imp.msvcrt.dll_wcscpy]
push dword [ebp - 0x238]
push dword [ebp - 0x234]
call dword [sym.imp.msvcrt.dll_wcstok]
and dword [ebp - 0x260], 0
and dword [ebp - 0x220], 0
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x25c], 1
je 0x104eda2
push 0x1009ed4
push ebx
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x104ed06
push 0x1009ecc
push ebx
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
jne 0x104eda2
lea eax, [ebp - 0x20c]
push 0x1009ebc
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x20c]
push 0x1009eb0
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
mov eax, dword [edi + 0x20]
xor ebx, ebx
add esp, 0x10
cmp eax, ebx
jne 0x104ed3a
xor eax, eax
jmp 0x104ed3d
mov eax, dword [eax + 0x20]
push 0x1009e84
push ebx
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.010d146d
mov dword [edi + 0xfc], eax
call sub.MFC42u.dll_AfxGetModuleState
mov esi, dword [eax + 8]
push ebx
push dword [edi + 0xfc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push esi
push 0x104e122
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [edi + 0x20]
push ebx
mov dword [edi + 0x100], eax
call sub.MFC42u.dll_CWnd::ShowWindow
push 2
mov dword [edi + 0x78], 7
mov dword [edi + 0xf8], 1
pop eax
jmp 0x104f33c
call fcn.0104d97b
test ebx, ebx
mov edi, eax
je 0x104ef5c
call fcn.01062344
test eax, eax
mov dword [ebp - 0x250], eax
je 0x104f03f
test edi, edi
mov edi, dword [sym.imp.msvcrt.dll__wcsnicmp]
je 0x104edf4
push dword [ebp - 0x218]
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x104ee59
push dword [ebp - 0x258]
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x104ee59
push ebx
call esi
push eax
push dword [ebp - 0x240]
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104ee59
push ebx
call esi
push eax
push dword [ebp - 0x224]
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104ee59
push ebx
call esi
push eax
push 0x1009e64
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104ee59
push ebx
call esi
push eax
push dword [ebp - 0x22c]
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104ee59
push 0x1009e50
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x104f03f
push dword [ebp - 0x218]
xor eax, eax
push ebx
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x104eea0
mov dword [ebp - 0x248], 1
push dword [ebp - 0x258]
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x104eebd
mov dword [ebp - 0x244], 1
push ebx
call esi
push eax
push dword [ebp - 0x22c]
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104eedb
mov dword [ebp - 0x24c], 1
push ebx
call esi
push eax
push dword [ebp - 0x224]
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104ef00
and word [0x10eae98], ax
mov dword [ebp - 0x230], 1
push ebx
call esi
push eax
push 0x1009e64
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104ef1d
mov dword [ebp - 0x230], 1
push ebx
call esi
push eax
push 0x1009e50
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104ef3a
mov dword [ebp - 0x240], 1
call fcn.01052ae7
push eax
call esi
test eax, eax
pop ecx
jbe 0x104ef5c
xor esi, esi
push esi
push esi
push esi
call fcn.01053123
push 8
push esi
call fcn.01053123
add esp, 0x14
mov esi, dword [sym.imp.msvcrt.dll__wcsicmp]
xor edi, edi
cmp dword [ebp - 0x25c], edi
je 0x104ef74
cmp dword [ebp - 0x220], edi
je 0x104ef8d
push dword [ebp - 0x238]
push edi
call dword [sym.imp.msvcrt.dll_wcstok]
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
je 0x104f211
cmp word [ebp - 0x210], di
mov dword [ebp - 0x25c], edi
jne 0x104f072
push dword [ebp - 0x230]
push dword [ebp - 0x238]
push ebx
push dword [ebp - 0x250]
call fcn.01063412
cmp dword [ebp - 0x220], edi
mov dword [ebp - 0x218], eax
je 0x104efcf
cmp eax, 0xfffffffe
je 0x104f072
xor edi, edi
inc edi
test ebx, ebx
mov dword [ebp - 0x23c], edi
je 0x104eff0
push 0x1009e48
push ebx
call esi
test eax, eax
pop ecx
pop ecx
jne 0x104eff0
mov dword [ebp - 0x228], edi
mov eax, dword [ebp - 0x218]
cmp eax, 0xc
je 0x104f005
cmp eax, 5
je 0x104f005
cmp eax, 6
jne 0x104f00b
mov dword [ebp - 0x228], edi
test ebx, ebx
je 0x104f02a
cmp eax, 0xffffffff
je 0x104f1ff
cmp dword [ebp - 0x220], 0
jne 0x104f02a
cmp eax, 0xfffffffd
jne 0x104f1ff
cmp eax, 0xfffffffa
jne 0x104ef62
and dword [ebp - 0x21c], 0
jmp 0x104f31e
mov esi, 0xe0e
push esi
xor edi, edi
call fcn.01084486
push edi
push edi
push edi
call fcn.01053123
push esi
push 1
push 1
push edi
call fcn.01053123
push edi
push 8
push edi
call fcn.01053123
add esp, 0x2c
xor eax, eax
jmp 0x104f33c
mov ax, word [ebx]
cmp ax, 0x22
je 0x104f14f
cmp word [ebp - 0x210], di
jne 0x104f182
cmp dword [ebp - 0x23c], edi
mov dword [ebp - 0x228], 1
jne 0x104f0bd
cmp word [ebx + 2], 0x3a
je 0x104ef62
cmp ax, 0x5c
je 0x104ef62
cmp ax, 0x40
je 0x104ef62
mov eax, dword [0x10e5390]
mov edi, dword [0x10e538c]
mov dword [ebp - 0x22c], eax
mov eax, dword [0x10e53d0]
push ebx
push edi
mov dword [ebp - 0x224], eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104f113
push ebx
push dword [ebp - 0x22c]
call esi
test eax, eax
pop ecx
pop ecx
je 0x104f113
push ebx
push dword [ebp - 0x224]
call esi
test eax, eax
pop ecx
pop ecx
je 0x104f113
push ebx
push 0x1009e30
call esi
test eax, eax
pop ecx
pop ecx
jne 0x104f205
push ebx
push edi
call esi
test eax, eax
pop ecx
pop ecx
je 0x104f13f
push ebx
push dword [ebp - 0x224]
call esi
test eax, eax
pop ecx
pop ecx
je 0x104f13f
push ebx
push dword [ebp - 0x22c]
call esi
test eax, eax
pop ecx
pop ecx
jne 0x104ef62
push dword [ebp - 0x238]
push 0
call dword [sym.imp.msvcrt.dll_wcstok]
jmp 0x104f1b5
cmp word [ebp - 0x210], di
jne 0x104f182
push 0x100210c
push dword [ebp - 0x214]
mov dword [ebp - 0x210], 1
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebx + 2]
push eax
jmp 0x104f18a
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 0x214]
mov ecx, dword [ebp - 0x254]
call fcn.0104d9d9
cmp word [ebp - 0x210], di
je 0x104f1bc
push 0x10055e8
push dword [ebp - 0x214]
call dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
pop ecx
jmp 0x104ef62
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x23c], edi
mov dword [ebp - 0x228], ecx
jne 0x104f1f5
mov eax, dword [ebp - 0x214]
cmp word [eax + 2], 0x3a
je 0x104ef62
mov ax, word [eax]
cmp ax, 0x5c
je 0x104ef62
cmp ax, 0x40
je 0x104ef62
mov dword [ebp - 0x21c], edi
mov eax, ecx
jmp 0x104f217
mov eax, edi
xor edi, edi
jmp 0x104f217
and dword [ebp - 0x21c], 0
xor eax, eax
inc eax
jmp 0x104f201
mov eax, dword [ebp - 0x260]
cmp dword [ebp - 0x218], 0xfffffffa
je 0x104f31e
cmp eax, edi
jne 0x104f27c
cmp dword [ebp - 0x228], edi
jne 0x104f31e
cmp dword [ebp - 0x220], edi
je 0x104f31e
cmp dword [ebp - 0x24c], edi
jne 0x104f31e
cmp dword [ebp - 0x230], edi
jne 0x104f31e
cmp dword [ebp - 0x240], edi
jne 0x104f31e
cmp dword [ebp - 0x244], edi
jne 0x104f31e
cmp dword [ebp - 0x248], edi
jne 0x104f31e
cmp dword [ebp - 0x23c], edi
je 0x104f2be
cmp ebx, edi
je 0x104f2be
push ebx
mov esi, 0xdc7
push esi
call fcn.0108c10c
mov edi, eax
xor eax, eax
push eax
push eax
push eax
call fcn.01053123
push ebx
push esi
push 1
push 1
xor esi, esi
push esi
call fcn.01053123
push esi
push 8
push esi
call fcn.01053123
add esp, 0x34
xor ebx, ebx
jmp 0x104f2ec
mov esi, 0xe28
push esi
call fcn.0108c10c
xor ebx, ebx
push ebx
push ebx
push ebx
mov edi, eax
call fcn.01053123
push esi
push 1
push 1
push ebx
call fcn.01053123
push ebx
push 8
push ebx
call fcn.01053123
add esp, 0x2c
cmp word [0x10eae98], bx
je 0x104f2ff
push edi
push 1
call fcn.01064d3f
jmp 0x104f310
push 1
push ebx
push 0x30
push ebx
push edi
push 0xfa6
call fcn.01056de7
push edi
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x234]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
push dword [ebp - 0x214]
call esi
pop ecx
pop ecx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01078836
leave
ret 4