Function at 0x10482ff
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x480
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x7c], edi
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x68], 1
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x60], edi
je 0x104894f
push dword [ebp + 0x7c]
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
call esi
mov ebx, dword [sym.imp.msvcrt.dll_malloc]
lea eax, [eax + eax + 2]
push eax
call ebx
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
je 0x10486bd
push dword [ebp + 0x7c]
call esi
lea eax, [eax + eax + 2]
push eax
call ebx
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0x70], eax
jne 0x1048377
push dword [ebp + 0x58]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x10486bd
push dword [ebp + 0x7c]
push dword [ebp + 0x58]
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push 0x20
pop ebx
push ebx
lea eax, [ebp - 0x1c4]
push eax
push 0x1770
call fcn.01061a93
push ebx
lea eax, [ebp - 0x144]
push eax
push 0x1771
call fcn.01061a93
push ebx
lea eax, [ebp - 0x44]
push eax
push 0x1772
call fcn.01061a93
push ebx
lea eax, [ebp - 4]
push eax
push 0x1774
call fcn.01061a93
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x17d5
call fcn.01061a93
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x58]
call dword [sym.imp.msvcrt.dll_wcstok]
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x7c], edi
mov dword [ebp + 0x40], 1
je 0x10485ed
push 0x1009b08
push ebx
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x104842a
push 0x1009b00
push ebx
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
jne 0x10484c7
lea eax, [ebp - 0x40c]
push 0x1009af0
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x40c]
push 0x1009ae4
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
mov esi, dword [ebp + 0x50]
mov eax, dword [esi + 0x20]
add esp, 0x10
cmp eax, edi
jne 0x104845f
xor eax, eax
jmp 0x1048462
mov eax, dword [eax + 0x20]
push 0x1009ab8
push edi
lea ecx, [ebp - 0x40c]
push ecx
push eax
call fcn.010bba47
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 0x1047936
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 0x1048952
call fcn.01059c1a
cmp eax, edi
mov dword [ebp + 0x44], eax
je 0x1048693
push ebx
call esi
mov edi, dword [sym.imp.msvcrt.dll__wcsnicmp]
push eax
lea eax, [ebp - 0x1c4]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x1048545
push ebx
call esi
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x1048545
push ebx
call esi
push eax
push 0x1009a98
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x1048545
push ebx
call esi
push eax
lea eax, [ebp - 0x144]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x1048545
push ebx
call esi
push eax
lea eax, [ebp - 0x104]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x1048691
xor eax, eax
push ebx
mov dword [ebp + 0x7c], 1
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x48], eax
call esi
push eax
lea eax, [ebp - 0x144]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x1048573
mov dword [ebp + 0x4c], 1
push ebx
call esi
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x1048593
and word [0x10d358c], ax
mov dword [ebp + 0x54], 1
push ebx
call esi
push eax
push 0x1009a98
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x10485ad
mov dword [ebp + 0x54], 1
push ebx
call esi
push eax
lea eax, [ebp - 0x104]
push eax
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x10485c9
mov dword [ebp + 0x48], 1
call fcn.0104b905
push eax
call esi
test eax, eax
pop ecx
jbe 0x10485eb
xor esi, esi
push esi
push esi
push esi
call fcn.0104beb8
push 8
push esi
call fcn.0104beb8
add esp, 0x14
xor edi, edi
mov esi, dword [sym.imp.msvcrt.dll__wcsicmp]
cmp dword [ebp + 0x40], edi
je 0x10485fd
cmp dword [ebp + 0x7c], edi
je 0x1048614
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcstok]
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
je 0x1048864
cmp word [ebp + 0x6c], di
mov dword [ebp + 0x40], edi
jne 0x10486c4
push dword [ebp + 0x54]
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0x44]
call fcn.0105ab68
cmp dword [ebp + 0x7c], edi
mov ecx, eax
mov dword [ebp + 0x3c], ecx
je 0x1048644
cmp ecx, 0xfffffffe
je 0x10486c4
xor eax, eax
inc eax
cmp ecx, 0x1783
mov dword [ebp + 0x60], eax
je 0x1048662
cmp ecx, 0x177c
je 0x1048662
cmp ecx, 0x177d
jne 0x1048665
mov dword [ebp + 0x64], eax
cmp ebx, edi
je 0x1048680
cmp ecx, 0xffffffff
je 0x10488dd
cmp dword [ebp + 0x7c], edi
jne 0x1048680
cmp ecx, 0xfffffffd
jne 0x10488dd
cmp ecx, 0xfffffffa
jne 0x10485f3
mov dword [ebp + 0x68], edi
jmp 0x104893d
xor edi, edi
mov esi, 0xe0e
push esi
call fcn.01077db1
push edi
push edi
push edi
call fcn.0104beb8
push esi
push 1
push 1
push edi
call fcn.0104beb8
push edi
push 8
push edi
call fcn.0104beb8
add esp, 0x2c
xor eax, eax
jmp 0x1048952
mov ax, word [ebx]
cmp ax, 0x22
je 0x10487d7
cmp word [ebp + 0x6c], di
jne 0x10487fe
cmp dword [ebp + 0x60], edi
mov dword [ebp + 0x64], 1
jne 0x1048706
cmp word [ebx + 2], 0x3a
je 0x10485f3
cmp ax, 0x5c
je 0x10485f3
cmp ax, 0x40
je 0x10485f3
push 0x40
lea eax, [ebp - 0x184]
push eax
push 0x1775
call fcn.01061a93
push 0x40
lea eax, [ebp - 0xc4]
push eax
push 0x1776
call fcn.01061a93
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x1783
call fcn.01061a93
push 0x40
lea eax, [ebp - 0x204]
push eax
push 0xaf
call fcn.01061a93
lea eax, [ebp - 0x184]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1048796
lea eax, [ebp - 0xc4]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1048796
lea eax, [ebp - 0x84]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x1048796
lea eax, [ebp - 0x204]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x104885a
lea eax, [ebp - 0x184]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x10487ca
lea eax, [ebp - 0x84]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x10487ca
lea eax, [ebp - 0xc4]
push ebx
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x10485f3
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.msvcrt.dll_wcstok]
jmp 0x1048822
cmp word [ebp + 0x6c], di
jne 0x10487fe
push 0x10020dc
push dword [ebp + 0x70]
mov dword [ebp + 0x6c], 1
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebx + 2]
push eax
jmp 0x1048803
lea eax, [ebp + 0x6c]
push eax
push ebx
push dword [ebp + 0x70]
mov ecx, dword [ebp + 0x50]
call fcn.01047365
cmp word [ebp + 0x6c], di
je 0x1048829
push 0x100551c
push dword [ebp + 0x70]
call dword [sym.imp.msvcrt.dll_wcscat]
pop ecx
pop ecx
jmp 0x10485f3
cmp dword [ebp + 0x60], edi
mov dword [ebp + 0x64], 1
jne 0x104885a
mov eax, dword [ebp + 0x70]
cmp word [eax + 2], 0x3a
je 0x10485f3
mov ax, word [eax]
cmp ax, 0x5c
je 0x10485f3
cmp ax, 0x40
je 0x10485f3
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x5c], 1
cmp dword [ebp + 0x3c], 0xfffffffa
je 0x104893d
cmp dword [ebp + 0x5c], edi
jne 0x10488a0
cmp dword [ebp + 0x64], edi
jne 0x104893d
cmp dword [ebp + 0x7c], edi
je 0x104893d
cmp dword [ebp + 0x4c], edi
jne 0x104893d
cmp dword [ebp + 0x54], edi
jne 0x104893d
cmp dword [ebp + 0x48], edi
jne 0x104893d
cmp dword [ebp + 0x60], edi
je 0x10488e2
cmp ebx, edi
je 0x10488e2
push ebx
mov esi, 0xdc7
push esi
call fcn.0107e7cd
push edi
push edi
push edi
mov dword [ebp + 0x7c], eax
call fcn.0104beb8
push ebx
push esi
push 1
push 1
push edi
call fcn.0104beb8
push edi
push 8
push edi
call fcn.0104beb8
mov ebx, dword [ebp + 0x7c]
add esp, 0x34
jmp 0x104890e
mov dword [ebp + 0x5c], eax
jmp 0x1048864
mov esi, 0xe28
push esi
call fcn.0107e7cd
push edi
push edi
push edi
mov ebx, eax
call fcn.0104beb8
push esi
push 1
push 1
push edi
call fcn.0104beb8
push edi
push 8
push edi
call fcn.0104beb8
add esp, 0x2c
cmp word [0x10d358c], di
je 0x1048921
push ebx
push 1
call fcn.0105c2f4
jmp 0x1048932
push 1
push edi
push 0x30
push edi
push ebx
push 0xfa6
call fcn.0104f8aa
push ebx
mov dword [ebp + 0x68], edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp + 0x58]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
push dword [ebp + 0x70]
call esi
pop ecx
pop ecx
mov eax, dword [ebp + 0x68]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4