Function at 0x47cbf9
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x6790c0]
xor eax, ebp
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0xb7c], 0
jge 0x47c66d
mov dword [ebp - 0x90], 0
jmp 0x47c691
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0xb7c]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0051f800
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47c6ac
mov dword [ebp - 0x94], 0
jmp 0x47c6c9
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422390
mov edx, dword [eax]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0xb7c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 9
jne 0x47c717
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x80
je 0x47c710
mov dword [ebp + 8], 0x26
jmp 0x47c717
mov dword [ebp + 8], 0x28
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
sub ecx, 0xd
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 0x1b
ja case.0x47c74f.1
mov edx, dword [ebp - 0x98]
movzx eax, byte [edx + 0x47cfd4]
jmp dword [eax*4 + 0x47cfb8]
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x18]
push ecx
push 0x67637c
call fcn.0043a330
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x47c7d9
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0xf4]
call edx
test eax, eax
jne 0x47c7a1
push 0
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0xd0]
call eax
test eax, eax
jne 0x47c7d9
push 0
push 0xe001
push 0x362
mov ecx, dword [ebp - 0x8c]
call fcn.00426940
mov ecx, eax
call fcn.004269c0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0x3ec]
call edx
jmp 0x47ce16
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0xd08], 0
je 0x47c81a
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00421b40
cmp dword [ebp - 0x14], eax
jne 0x47c81a
cmp dword [ebp + 8], 0x24
je 0x47c81a
mov eax, 1
jmp 0x47cfa6
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422170
test eax, eax
je 0x47c83b
jmp 0x47ce16
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x47c85c
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422270
cmp dword [ebp - 0x28], 0
jne 0x47c87f
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422250
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
jmp 0x47c888
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x10]
je 0x47c93f
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422270
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
push 0x48f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043a3a0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x24]
and ecx, 1
jne 0x47c8f7
mov ecx, dword [ebp - 0x2c]
call fcn.00420950
mov ecx, eax
call fcn.00603560
test eax, eax
jne 0x47c8f7
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x20], 0xfffffffe
je 0x47c8f7
jmp 0x47c93f
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x28], 0
jne 0x47c93a
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xd08], 0
je 0x47c91f
mov eax, 1
jmp 0x47cfa6
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422250
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
jmp 0x47c88f
cmp dword [ebp - 0x24], 0
je 0x47c966
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422390
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
jmp 0x47ce16
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xd08], 0
je 0x47c9a7
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422250
cmp dword [ebp - 0x14], eax
jne 0x47c9a7
cmp dword [ebp + 8], 0x23
je 0x47c9a7
mov eax, 1
jmp 0x47cfa6
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422170
test eax, eax
je 0x47c9c8
jmp 0x47ce16
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
je 0x47c9e9
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422330
cmp dword [ebp - 0x34], 0
jne 0x47ca1c
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00421b40
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.004474b0
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x47ca25
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x10]
je 0x47caec
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422330
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
push 0x4d2
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
mov eax, dword [ebp - 0x38]
push eax
call fcn.0043a3a0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x24]
and edx, 1
jne 0x47ca94
mov ecx, dword [ebp - 0x38]
call fcn.00420950
mov ecx, eax
call fcn.00603560
test eax, eax
jne 0x47ca94
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x20], 0xfffffffe
je 0x47ca94
jmp 0x47caec
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x34], 0
jne 0x47cae7
mov edx, dword [ebp - 0x8c]
cmp dword [edx + 0xd08], 0
je 0x47cabc
mov eax, 1
jmp 0x47cfa6
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00421b40
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.004474b0
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x47ca2c
cmp dword [ebp - 0x30], 0
je 0x47cb13
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422390
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 1
jmp 0x47ce16
mov edx, dword [ebp - 0x8c]
cmp dword [edx + 0xd08], 0
je 0x47cbf4
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0xd0c], 0
jle 0x47cbf4
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0xd10], 1
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0xb7c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0
jmp 0x47cb6f
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x40]
cmp eax, dword [edx + 0xd0c]
jge 0x47cba6
xor ecx, ecx
cmp dword [ebp + 8], 0x21
setne cl
lea ecx, [ecx + ecx + 0x26]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0x404]
call edx
jmp 0x47cb66
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0xd10], 0
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ecx + 0xb7c]
je 0x47cbea
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0xb7c]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0x260]
call edx
mov eax, 1
jmp 0x47cfa6
jmp 0x47ce16
call fcn.0040a010
test eax, eax
jne 0x47ce16
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
jne 0x47ce16
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e18d0
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x4c], 0
je 0x47cc3e
mov eax, dword [ebp + 8]
push eax
call fcn.004e1990
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x4c], 0
je 0x47cdbf
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xcac
call fcn.004e2830
test eax, eax
je 0x47cdbf
push 0x514
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
mov eax, dword [ebp - 0x44]
push eax
call fcn.0043a3a0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422250
mov dword [ebp - 0x58], eax
jmp 0x47cca8
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x58], 0
je 0x47cd0f
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00422270
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
xor edx, edx
cmp dword [ebp - 0x5c], 0
setne dl
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0
jne 0x47ccee
push 0x51d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
call fcn.00429610
test eax, eax
je 0x47ccee
int3
cmp dword [ebp - 0x60], 0
jne 0x47ccf9
call fcn.00403e50
xor ecx, ecx
jne 0x47ccc8
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x44]
jne 0x47cd0d
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
jmp 0x47cd0f
jmp 0x47cc9f
mov ecx, dword [ebp - 0x44]
push ecx
push 0x67637c
call fcn.0043a330
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x47cdbd
push 0
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 0xd0]
call edx
test eax, eax
je 0x47cd68
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x8c], 0
je 0x47cd66
push 0
push 0x24
push 0x100
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x8c]
call fcn.004269c0
jmp 0x47cdbd
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x24]
and eax, 0x40000
je 0x47cd90
mov ecx, dword [ebp - 0x44]
push ecx
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.0047a2e0
mov eax, 1
jmp 0x47cfa6
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x3ec]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47cdbd
mov eax, 1
jmp 0x47cfa6
jmp 0x47ce16
cmp dword [0x676850], 0
je 0x47ce16
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xcf0], 0
jne 0x47ce16
mov dword [ebp - 0x64], 0
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xd3c
call fcn.004b3b10
test eax, eax
je 0x47ce16
push 0
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x8c]
call fcn.0047a2e0
mov eax, 1
jmp 0x47cfa6
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x18]
je 0x47cfa3
push 0x554
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
mov eax, dword [ebp - 4]
push eax
call fcn.0043a3a0
cmp dword [ebp - 0x1c], 0
jl 0x47ce51
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.004474b0
cmp dword [ebp - 0x1c], eax
jl 0x47ce65
push 0x555
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
call fcn.00429610
test eax, eax
je 0x47ce65
int3
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x8c]
call fcn.00465760
cmp eax, dword [ebp - 4]
je 0x47ce8d
push 0x556
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
call fcn.00429610
test eax, eax
je 0x47ce8d
int3
cmp dword [ebp - 8], 0
je 0x47cebc
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xd10], 0
jne 0x47cebc
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x260]
call eax
call fcn.0040a010
test eax, eax
je 0x47ced4
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0xb80], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xb7c], ecx
lea ecx, [ebp - 0x88]
call fcn.006033a0
lea ecx, [ebp - 0x88]
call fcn.00603550
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00426e10
mov ecx, dword [ebp - 4]
call fcn.00420950
mov edx, dword [eax]
mov dword [ebp - 0x78], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x74], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x70], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x84]
jl 0x47cf37
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x7c]
jle 0x47cf39
jmp 0x47cf7d
cmp dword [ebp - 0x18], 0
je 0x47cf5c
push 1
mov ecx, dword [ebp - 0x18]
call fcn.00420950
mov ecx, eax
call fcn.00603550
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.004270d0
push 1
lea ecx, [ebp - 0x78]
call fcn.00603550
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.004270d0
mov ecx, dword [ebp - 0x8c]
call fcn.00426fa0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0xffffffff
je 0x47cfa3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x41c]
call eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x68]
xor ecx, ebp
call fcn.005d84a0
mov esp, ebp
pop ebp
ret 4