Function at 0x47b149
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x679230]
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 0x47abbd
mov dword [ebp - 0x90], 0
jmp 0x47abe1
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0xb7c]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0051e180
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47abfc
mov dword [ebp - 0x94], 0
jmp 0x47ac19
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0041b770
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 0x47ac67
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x80
je 0x47ac60
mov dword [ebp + 8], 0x26
jmp 0x47ac67
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.0x47ac9f.1
mov edx, dword [ebp - 0x98]
movzx eax, byte [edx + 0x47b524]
jmp dword [eax*4 + 0x47b508]
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x18]
push ecx
push 0x67635c
call fcn.004369c0
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x47ad29
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 0x47acf1
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 0x47ad29
push 0
push 0xe001
push 0x362
mov ecx, dword [ebp - 0x8c]
call fcn.0041fde0
mov ecx, eax
call fcn.0041fe60
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 0x47b366
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0xd08], 0
je 0x47ad6a
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00445b00
cmp dword [ebp - 0x14], eax
jne 0x47ad6a
cmp dword [ebp + 8], 0x24
je 0x47ad6a
mov eax, 1
jmp 0x47b4f6
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00594250
test eax, eax
je 0x47ad8b
jmp 0x47b366
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x47adac
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0041b650
cmp dword [ebp - 0x28], 0
jne 0x47adcf
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00412550
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
jmp 0x47add8
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 0x47ae8f
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.0041b650
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.00436a30
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x24]
and ecx, 1
jne 0x47ae47
mov ecx, dword [ebp - 0x2c]
call fcn.00419d90
mov ecx, eax
call fcn.006033c0
test eax, eax
jne 0x47ae47
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x20], 0xfffffffe
je 0x47ae47
jmp 0x47ae8f
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x28], 0
jne 0x47ae8a
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xd08], 0
je 0x47ae6f
mov eax, 1
jmp 0x47b4f6
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00412550
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
jmp 0x47addf
cmp dword [ebp - 0x24], 0
je 0x47aeb6
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0041b770
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
jmp 0x47b366
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xd08], 0
je 0x47aef7
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00412550
cmp dword [ebp - 0x14], eax
jne 0x47aef7
cmp dword [ebp + 8], 0x23
je 0x47aef7
mov eax, 1
jmp 0x47b4f6
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00594250
test eax, eax
je 0x47af18
jmp 0x47b366
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
je 0x47af39
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0041b710
cmp dword [ebp - 0x34], 0
jne 0x47af6c
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00445b00
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00492ea0
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x47af75
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 0x47b03c
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.0041b710
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.00436a30
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x24]
and edx, 1
jne 0x47afe4
mov ecx, dword [ebp - 0x38]
call fcn.00419d90
mov ecx, eax
call fcn.006033c0
test eax, eax
jne 0x47afe4
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x20], 0xfffffffe
je 0x47afe4
jmp 0x47b03c
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x34], 0
jne 0x47b037
mov edx, dword [ebp - 0x8c]
cmp dword [edx + 0xd08], 0
je 0x47b00c
mov eax, 1
jmp 0x47b4f6
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00445b00
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00492ea0
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x47af7c
cmp dword [ebp - 0x30], 0
je 0x47b063
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0041b770
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 1
jmp 0x47b366
mov edx, dword [ebp - 0x8c]
cmp dword [edx + 0xd08], 0
je 0x47b144
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0xd0c], 0
jle 0x47b144
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 0x47b0bf
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 0x47b0f6
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 0x47b0b6
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 0x47b13a
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 0x47b4f6
jmp 0x47b366
call fcn.00406b20
test eax, eax
jne 0x47b366
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
jne 0x47b366
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050ec60
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x4c], 0
je 0x47b18e
mov eax, dword [ebp + 8]
push eax
call fcn.0050ed20
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x4c], 0
je 0x47b30f
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xcac
call fcn.0050fc20
test eax, eax
je 0x47b30f
push 0x514
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
mov eax, dword [ebp - 0x44]
push eax
call fcn.00436a30
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.00412550
mov dword [ebp - 0x58], eax
jmp 0x47b1f8
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x58], 0
je 0x47b25f
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0041b650
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 0x47b23e
push 0x51d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
call fcn.00425be0
test eax, eax
je 0x47b23e
int3
cmp dword [ebp - 0x60], 0
jne 0x47b249
call fcn.004259c0
xor ecx, ecx
jne 0x47b218
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x44]
jne 0x47b25d
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
jmp 0x47b25f
jmp 0x47b1ef
mov ecx, dword [ebp - 0x44]
push ecx
push 0x67635c
call fcn.004369c0
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x47b30d
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 0x47b2b8
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x8c], 0
je 0x47b2b6
push 0
push 0x24
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x8c]
call fcn.0041fe60
jmp 0x47b30d
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x24]
and eax, 0x40000
je 0x47b2e0
mov ecx, dword [ebp - 0x44]
push ecx
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.00478830
mov eax, 1
jmp 0x47b4f6
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 0x47b30d
mov eax, 1
jmp 0x47b4f6
jmp 0x47b366
cmp dword [0x676830], 0
je 0x47b366
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xcf0], 0
jne 0x47b366
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.0056d940
test eax, eax
je 0x47b366
push 0
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x8c]
call fcn.00478830
mov eax, 1
jmp 0x47b4f6
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x18]
je 0x47b4f3
push 0x554
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
mov eax, dword [ebp - 4]
push eax
call fcn.00436a30
cmp dword [ebp - 0x1c], 0
jl 0x47b3a1
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00492ea0
cmp dword [ebp - 0x1c], eax
jl 0x47b3b5
push 0x555
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
call fcn.00425be0
test eax, eax
je 0x47b3b5
int3
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x8c]
call fcn.00463c60
cmp eax, dword [ebp - 4]
je 0x47b3dd
push 0x556
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
call fcn.00425be0
test eax, eax
je 0x47b3dd
int3
cmp dword [ebp - 8], 0
je 0x47b40c
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xd10], 0
jne 0x47b40c
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.00406b20
test eax, eax
je 0x47b424
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.006031f0
lea ecx, [ebp - 0x88]
call fcn.0050bf80
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.004202c0
mov ecx, dword [ebp - 4]
call fcn.00419d90
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 0x47b487
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x7c]
jle 0x47b489
jmp 0x47b4cd
cmp dword [ebp - 0x18], 0
je 0x47b4ac
push 1
mov ecx, dword [ebp - 0x18]
call fcn.00419d90
mov ecx, eax
call fcn.0050bf80
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00420580
push 1
lea ecx, [ebp - 0x78]
call fcn.0050bf80
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00420580
mov ecx, dword [ebp - 0x8c]
call fcn.00420450
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0xffffffff
je 0x47b4f3
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.005d8cf0
mov esp, ebp
pop ebp
ret 4