Function at 0x104ca69
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]
mov dword [ebp - 4], eax
xor eax, eax
cmp ebx, eax
push esi
push edi
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x460], 1
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x474], eax
je 0x104d1b0
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
push ebx
call esi
mov edi, dword [sym.imp.msvcrt.dll_malloc]
lea eax, [eax + eax + 2]
push eax
call edi
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x468], eax
je 0x104ceb9
push ebx
call esi
lea eax, [eax + eax + 2]
push eax
call edi
xor edi, edi
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x454], eax
jne 0x104cb04
push dword [ebp - 0x468]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x104ceb9
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.01068091
push ebx
lea eax, [ebp - 0x144]
push eax
push 0x1771
call fcn.01068091
push ebx
lea eax, [ebp - 0x84]
push eax
push 0x1772
call fcn.01068091
push ebx
lea eax, [ebp - 0x44]
push eax
push 0x1774
call fcn.01068091
push ebx
lea eax, [ebp - 0xc4]
push eax
push 0x17d5
call fcn.01068091
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 - 0x464], edi
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x488], 1
je 0x104cdae
push 0x1009a90
push ebx
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x104cbc7
push 0x1009a88
push ebx
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
jne 0x104cc67
lea eax, [ebp - 0x44c]
push 0x1009a78
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x44c]
push 0x1009a6c
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
mov esi, dword [ebp - 0x478]
mov eax, dword [esi + 0x20]
add esp, 0x10
cmp eax, edi
jne 0x104cbff
xor eax, eax
jmp 0x104cc02
mov eax, dword [eax + 0x20]
push 0x1009a40
push edi
lea ecx, [ebp - 0x44c]
push ecx
push eax
call fcn.010cb36f
mov dword [esi + 0xfc], eax
call fcn.01075fa4
mov ebx, dword [eax + 8]
push edi
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push ebx
push 0x104bfee
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [esi + 0x20]
push edi
mov dword [esi + 0x100], eax
call fcn.01076358
push 2
mov dword [esi + 0x78], 7
mov dword [esi + 0xf8], 1
pop eax
jmp 0x104d1b6
call fcn.0105f850
cmp eax, edi
mov dword [ebp - 0x480], eax
je 0x104ce8f
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 0x104cceb
push ebx
call esi
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104cceb
push ebx
call esi
push eax
push 0x1009a20
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104cceb
push ebx
call esi
push eax
lea eax, [ebp - 0x144]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x104cceb
push ebx
call esi
push eax
lea eax, [ebp - 0xc4]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104ce8d
xor eax, eax
push ebx
mov dword [ebp - 0x45c], 1
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x470], eax
call esi
push eax
lea eax, [ebp - 0x144]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104cd28
mov dword [ebp - 0x484], 1
push ebx
call esi
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104cd4e
and word [reloc.ADVAPI32.dll_RegDeleteValueW], ax
mov dword [ebp - 0x46c], 1
push ebx
call esi
push eax
push 0x1009a20
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x104cd6b
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 0x104cd8a
mov dword [ebp - 0x470], 1
call fcn.010508a4
push eax
call esi
test eax, eax
pop ecx
jbe 0x104cdac
xor esi, esi
push esi
push esi
push esi
call fcn.01050ed2
push 8
push esi
call fcn.01050ed2
add esp, 0x14
xor edi, edi
cmp dword [ebp - 0x488], edi
je 0x104cdbe
cmp dword [ebp - 0x45c], edi
je 0x104cdd5
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 0x104d098
cmp word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW], di
mov dword [ebp - 0x488], edi
jne 0x104cec0
push dword [ebp - 0x46c]
lea eax, [ebp - 0x44]
push eax
push ebx
push dword [ebp - 0x480]
call fcn.010609dc
cmp dword [ebp - 0x45c], edi
mov dword [ebp - 0x47c], eax
je 0x104ce15
cmp eax, 0xfffffffe
je 0x104cec0
xor esi, esi
inc esi
cmp ebx, edi
mov dword [ebp - 0x474], esi
je 0x104ce3a
push 0x1009a18
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x104ce3a
mov dword [ebp - 0x458], esi
mov eax, dword [ebp - 0x47c]
cmp eax, 0x1783
je 0x104ce55
cmp eax, 0x177c
je 0x104ce55
cmp eax, 0x177d
jne 0x104ce5b
mov dword [ebp - 0x458], esi
cmp ebx, edi
je 0x104ce79
cmp eax, 0xffffffff
je 0x104d12f
cmp dword [ebp - 0x45c], edi
jne 0x104ce79
cmp eax, 0xfffffffd
jne 0x104d12f
cmp eax, 0xfffffffa
jne 0x104cdae
mov dword [ebp - 0x460], edi
jmp 0x104d198
xor edi, edi
mov esi, 0xe0e
push esi
call fcn.010816e4
push edi
push edi
push edi
call fcn.01050ed2
push esi
push 1
push 1
push edi
call fcn.01050ed2
push edi
push 8
push edi
call fcn.01050ed2
add esp, 0x2c
xor eax, eax
jmp 0x104d1b6
mov ax, word [ebx]
cmp ax, 0x22
je 0x104cfe1
cmp word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW], di
jne 0x104d014
cmp dword [ebp - 0x474], edi
mov dword [ebp - 0x458], 1
jne 0x104cf0b
cmp word [ebx + 2], 0x3a
je 0x104cdae
cmp ax, 0x5c
je 0x104cdae
cmp ax, 0x40
je 0x104cdae
push reloc.ADVAPI32.dll_ReadEncryptedFileRaw
pop esi
push esi
lea eax, [ebp - 0x104]
push eax
push 0x1775
call fcn.01068091
push esi
lea eax, [ebp - 0x1c4]
push eax
push 0x1776
call fcn.01068091
push esi
lea eax, [ebp - 0x184]
push eax
push 0x1783
call fcn.01068091
push esi
lea eax, [ebp - 0x204]
push eax
push 0xaf
call fcn.01068091
mov esi, dword [sym.imp.msvcrt.dll__wcsicmp]
lea eax, [ebp - 0x104]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104cfa0
lea eax, [ebp - 0x1c4]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104cfa0
lea eax, [ebp - 0x184]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104cfa0
lea eax, [ebp - 0x204]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x104d088
lea eax, [ebp - 0x104]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104cfd4
lea eax, [ebp - 0x184]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x104cfd4
lea eax, [ebp - 0x1c4]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x104cdae
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcstok]
jmp 0x104d047
cmp word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW], di
jne 0x104d014
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 0x104d01c
lea eax, [ebp - 0x450]
push eax
push ebx
push dword [ebp - 0x454]
mov ecx, dword [ebp - 0x478]
call fcn.0104b970
cmp word [ebp - reloc.ADVAPI32.dll_RegDeleteValueW], di
je 0x104d04e
push 0x100549c
push dword [ebp - 0x454]
call dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
pop ecx
jmp 0x104cdae
cmp dword [ebp - 0x474], edi
mov dword [ebp - 0x458], 1
jne 0x104d088
mov eax, dword [ebp - 0x454]
cmp word [eax + 2], 0x3a
je 0x104cdae
mov ax, word [eax]
cmp ax, 0x5c
je 0x104cdae
cmp ax, 0x40
je 0x104cdae
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x464], 1
cmp dword [ebp - 0x47c], 0xfffffffa
je 0x104d198
cmp dword [ebp - 0x464], edi
jne 0x104d0e9
cmp dword [ebp - 0x458], edi
jne 0x104d198
cmp dword [ebp - 0x45c], edi
je 0x104d198
cmp dword [ebp - 0x484], edi
jne 0x104d198
cmp dword [ebp - 0x46c], edi
jne 0x104d198
cmp dword [ebp - 0x470], edi
jne 0x104d198
cmp dword [ebp - 0x474], edi
je 0x104d13a
cmp ebx, edi
je 0x104d13a
push ebx
mov esi, 0xdc7
push esi
call fcn.010889b4
push edi
push edi
push edi
mov dword [ebp - 0x470], eax
call fcn.01050ed2
push ebx
push esi
push 1
push 1
push edi
call fcn.01050ed2
push edi
push 8
push edi
call fcn.01050ed2
mov esi, dword [ebp - 0x470]
add esp, 0x34
jmp 0x104d166
mov dword [ebp - 0x464], esi
jmp 0x104d098
mov ebx, 0xe28
push ebx
call fcn.010889b4
push edi
push edi
push edi
mov esi, eax
call fcn.01050ed2
push ebx
push 1
push 1
push edi
call fcn.01050ed2
push edi
push 8
push edi
call fcn.01050ed2
add esp, 0x2c
cmp word [reloc.ADVAPI32.dll_RegDeleteValueW], di
je 0x104d179
push esi
push 1
call fcn.0106223c
jmp 0x104d18a
push 1
push edi
push 0x30
push edi
push esi
push 0xfa6
call fcn.01054b96
push esi
mov dword [ebp - 0x460], 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 - 0x460]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075bbb
leave
ret 4