Function at 0x407fa0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x14dc
call fcn.00412260
push ebx
push esi
mov eax, dword [ecx]
push edi
push ebp
mov ebx, ecx
mov ecx, dword [eax + 0xd8]
push 0
mov dword [esp + 0x2c], ecx
push 0
push 0x147
mov ecx, ebx
push 0x3fd
call dword [esp + 0x38]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x415468]
sub eax, 3
push 0x424
mov ecx, ebx
cmp eax, 1
sbb ebp, ebp
mov eax, dword [ebx]
neg ebp
mov edi, dword [eax + 0xb0]
call edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14f0]
and eax, 2
push 0x3f4
mov ecx, ebx
mov dword [esp + 0x40], eax
cmp eax, 1
sbb esi, esi
call edi
inc esi
mov dword [ebx + 0x4f8], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x415468]
mov dword [ebx + 0x4fc], ecx
mov edx, dword [eax + 0x41546c]
mov dword [ebx + 0x500], edx
cmp dword [0x41666c], 1
sbb eax, eax
inc eax
cmp dword [ebx + 0x570], 0
mov dword [ebx + 0x504], eax
jle 0x40807c
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 4
jb 0x40807c
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x40807c
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov dword [ebx + 0x528], eax
jmp 0x408086
mov dword [ebx + 0x528], 0
test ebp, ebp
jne 0x4080a0
push 0x421
mov ecx, ebx
call edi
test eax, eax
je 0x4080a0
mov edx, 8
test esi, esi
je 0x4080a2
xor edx, edx
cmp dword [ebx + 0x818], 0
je 0x4080b7
cmp dword [esp + 0x14], 0
mov ecx, 0x20
jne 0x4080b9
xor ecx, ecx
mov eax, dword [ebx + 0x800]
test eax, eax
jne 0x4080c7
xor eax, eax
jmp 0x4080d5
dec eax
cmp eax, 1
sbb eax, eax
and eax, 0xffffffc0
add eax, 0x80
cmp dword [ebx + 0x57c], 1
mov edi, 0
adc edi, 0xffffffff
and edi, 0x10
cmp esi, 1
mov esi, 0
adc esi, 0xffffffff
and esi, 0x10000000
push 1
or edi, esi
xor esi, esi
or edi, dword [ebx + 0x558]
push esi
or edi, edx
push 0x3f1
or edi, ecx
mov ecx, ebx
or edi, eax
mov dword [ebx + 0x508], edi
mov eax, dword [ebx]
call dword [eax + 0xa0]
shl eax, 0x14
mov ecx, dword [ebx + 0x540]
mov dword [ebx + 0x50c], eax
mov dword [ebx + 0x510], ecx
mov eax, dword [ebx + 0x53c]
shl eax, 0x14
mov dword [ebx + 0x514], eax
mov eax, dword [ebx + 0x544]
shl eax, 0xa
mov dword [ebx + 0x520], ebx
mov dword [ebx + 0x518], eax
mov dword [ebx + 0x824], esi
mov eax, dword [ebx + 0x548]
lea edi, [ebx + 0x838]
shl eax, 0xa
mov ecx, 0x436
mov dword [ebx + 0x51c], eax
mov dword [ebx + 0x820], esi
xor eax, eax
push 0x3ee
mov dword [ebx + 0x524], 0x464
rep stosd dword es:[edi], eax
mov ecx, dword [ebx]
mov edi, dword [ecx + 0xa8]
mov ecx, ebx
call edi
push eax
call dword [0x41663c]
inc eax
push 0x3ef
mov ecx, ebx
mov dword [esp + 0x1c], eax
call edi
push eax
call dword [0x41663c]
inc eax
cmp dword [esp + 0x18], 1
jle 0x4088e9
test ebp, ebp
jne 0x4081d3
cmp eax, 1
jle 0x4088e9
mov eax, dword [esp + 0x18]
add eax, eax
push eax
call sub.MSVCRT40.dll_void____cdecl_operator_new_unsigned_int_
mov cx, word [0x4151b4]
lea edi, [esp + 0x4b2]
mov word [esp + 0x4b0], cx
mov dword [esp + 0x20], eax
add esp, 4
xor eax, eax
mov ecx, 0x40f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x10], 1
cmp dword [ebx + 0x590], eax
jne 0x408229
push 0x11
mov esi, 0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x40822e
mov esi, 1
test esi, esi
jne 0x40827a
cmp dword [ebx + 0x808], 0
je 0x408263
test byte [esp + 0x14f0], 4
je 0x408263
test ebp, ebp
je 0x408256
cmp dword [ebx + 0x58c], 1
sbb esi, esi
neg esi
jmp 0x40827a
cmp dword [ebx + 0x588], 1
sbb esi, esi
neg esi
jmp 0x40827a
test ebp, ebp
je 0x408274
cmp dword [ebx + 0x7e0], 1
sbb esi, esi
neg esi
jmp 0x40827a
mov esi, dword [ebx + 0x590]
mov eax, dword [ebx]
mov edx, dword [esp + 0x18]
push edx
mov ecx, dword [eax + 0x94]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
push eax
mov ecx, ebx
push 0x3ee
call dword [esp + 0x2c]
test eax, eax
je 0x4082bf
test ebp, ebp
jne 0x4082f0
lea eax, [esp + 0x4ac]
push 0x820
push eax
mov ecx, ebx
push 0x3ef
call dword [esp + 0x2c]
test eax, eax
jne 0x4082f0
lea ecx, [esp + 0x50]
push ebx
call fcn.004046a0
mov ecx, eax
push 0
mov eax, dword [ecx]
push str.Error
push str.Cant_get_src_or_dst_field
call dword [eax + 0x144]
lea ecx, [esp + 0x50]
call fcn.004046f0
mov dword [esp + 0x10], 0
mov edi, 0x4155d0
mov ecx, ebx
push edi
push 0
push 0xc
push 0x3fc
call dword [esp + 0x38]
push edi
mov ecx, ebx
push 0
push 0xc
push 0x3f7
call dword [esp + 0x38]
lea ecx, [esp + 0x2c]
call fcn.00404e60
lea ecx, [esp + 0x34]
call fcn.00404e60
lea ecx, [esp + 0x48]
call fcn.00404e60
lea ecx, [esp + 0x40]
call fcn.00404e60
mov eax, dword [0x4165fc]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00404ee0
test ebp, ebp
jne 0x408362
lea eax, [esp + 0x4ac]
lea ecx, [esp + 0x34]
push eax
call fcn.004050b0
mov ax, word [0x4151b4]
lea edi, [esp + 0x9e]
mov word [esp + 0x9c], ax
mov ecx, 0x81
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x4151b4]
lea edi, [esp + 0x2a6]
mov word [esp + 0x2a4], ax
mov ecx, 0x81
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esp + 0x14], eax
je 0x408407
lea eax, [esp + 0x9c]
push 0x104
push eax
mov ecx, ebx
push 0x422
call dword [esp + 0x2c]
lea eax, [esp + 0x2a4]
push 0x104
push eax
mov ecx, ebx
push 0x423
call dword [esp + 0x2c]
mov eax, dword [0x4165fc]
lea ecx, [esp + 0x9c]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.00404ee0
mov ecx, dword [0x4165fc]
lea edx, [esp + 0x2a4]
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.00404ee0
cmp dword [esp + 0x10], 0
je 0x40849e
lea eax, [esp + 0x40]
lea ecx, [esp + 0x48]
push eax
lea edx, [ebx + 0x4f8]
lea eax, [esp + 0x38]
push ecx
lea ecx, [esp + 0x34]
push edx
push eax
push ecx
lea ecx, [ebx + 0x38]
call fcn.0040df50
mov dword [esp + 0x10], eax
test eax, eax
je 0x40849e
test ebp, ebp
jne 0x408464
lea eax, [esp + 0x4ac]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [ebx + 0x530]
call fcn.0040be80
test eax, eax
je 0x408464
mov ecx, ebx
call fcn.00406920
cmp dword [esp + 0x14], 0
je 0x408491
lea eax, [esp + 0x2a4]
lea ecx, [esp + 0x9c]
push eax
push ecx
lea ecx, [ebx + 0x530]
call fcn.0040bec0
test eax, eax
je 0x408491
mov ecx, ebx
call fcn.00406970
lea ecx, [ebx + 0x530]
call fcn.0040bb20
jmp 0x4084b2
push str.Error
mov ecx, ebx
push 0x3f7
mov eax, dword [ebx]
call dword [eax + 0x98]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
lea edi, [ecx + eax*4]
lea eax, [edi*2]
push eax
call sub.MSVCRT40.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esp + 0x18], eax
add esp, 4
cmp dword [esp + 0x10], 0
je 0x4085c3
test esi, esi
je 0x4085c3
cmp dword [esp + 0x3c], 0
jne 0x4085c3
mov eax, dword [0x416624]
mov ecx, dword [0x416588]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edi
lea ecx, [esp + 0x38]
push edx
call fcn.00404f50
cmp dword [ebx + 0x4fc], 2
jne 0x40851a
push 0
push 0x2b
jmp 0x40852c
cmp dword [ebx + 0x52c], 0
mov esi, 0
je 0x408536
push 0
push 0x41
call fcn.00411b10
add esp, 8
mov esi, eax
mov eax, dword [ebx + 0x4fc]
push ebx
mov dword [esp + 0x9c], eax
sub eax, 3
lea ecx, [esp + 0x54]
cmp eax, 1
sbb eax, eax
and eax, 0xc
add eax, 0xa1
push eax
call fcn.0040c6a0
lea ecx, [ebx + 0x530]
lea edx, [esp + 0x4ac]
mov dword [esp + 0x90], esi
cmp ebp, 1
sbb eax, eax
mov dword [esp + 0x94], ecx
and eax, edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], 0x413dc8
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.00402c80
dec eax
lea ecx, [esp + 0x50]
cmp eax, 1
sbb esi, esi
call fcn.0040c6f0
inc esi
xor eax, eax
test esi, esi
je 0x4085c3
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x808], eax
je 0x4085c3
test ebp, ebp
jne 0x4085c3
mov dword [ebx + 0x5c8], eax
mov eax, dword [esp + 0x18]
imul eax, dword [0x4165b4]
add eax, 0x1040
cmp dword [esp + 0x10], 0
je 0x408777
push eax
call sub.MSVCRT40.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebx + 0x82c], eax
test eax, eax
je 0x408777
cmp dword [0x41666c], 0
je 0x408672
mov eax, dword [0x4165fc]
mov ecx, dword [0x416610]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edi
lea ecx, [esp + 0x38]
push edx
call fcn.00404f50
mov eax, dword [esp + 0x18]
push 0
mov ecx, dword [esp + 0x20]
push 0
imul eax, dword [0x4165b4]
mov edx, dword [esp + 0x1c]
push eax
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xffffffffffffffff
push edx
push 0
push 0
call esi
test ebp, ebp
jne 0x408672
cmp dword [esp + 0x34], 0
mov eax, 0
jle 0x408658
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
lea ecx, [esp + 0x4ac]
push 0
push 0
push 0x1040
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x82c]
push eax
mov esi, dword [sym.imp.MSVCRT40.dll_sprintf]
push str._Source____s
push ecx
call esi
add esp, 0xc
mov edi, eax
test ebp, ebp
jne 0x4086b1
lea eax, [esp + 0x4ac]
push eax
push str._r_n_DestDir___s
mov eax, dword [ebx + 0x82c]
add eax, edi
push eax
call esi
add esp, 0xc
add edi, eax
cmp dword [0x41666c], 0
jne 0x4086c6
cmp byte [esp + 0x9c], 0
je 0x408705
jmp 0x4086d1
cmp word [esp + 0x9c], 0
je 0x408705
push str._r_n_Include_
mov eax, dword [ebx + 0x82c]
add eax, edi
push eax
call esi
add esp, 8
add edi, eax
mov eax, dword [ebx + 0x82c]
mov ecx, ebx
push 0x104
add eax, edi
push eax
push 0x422
mov eax, dword [ebx]
call dword [eax + 0x90]
add edi, eax
cmp dword [0x41666c], 0
jne 0x40871a
cmp byte [esp + 0x2a4], 0
je 0x408759
jmp 0x408725
cmp word [esp + 0x2a4], 0
je 0x408759
push str._r_n_Exclude_
mov eax, dword [ebx + 0x82c]
add eax, edi
push eax
call esi
add esp, 8
add edi, eax
mov eax, dword [ebx + 0x82c]
mov ecx, ebx
push 0x104
add eax, edi
push eax
push 0x423
mov eax, dword [ebx]
call dword [eax + 0x90]
add edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x41545c]
mov eax, dword [ebx + 0x82c]
push ecx
add eax, edi
push str._r_n_Command___s_r_n_r_n
push eax
call esi
add esp, 0xc
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCRT40.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call sub.MSVCRT40.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x10], 0
je 0x4088a2
mov eax, dword [ebx + 0x508]
and eax, 0x10000000
shr eax, 0x1c
cmp eax, 1
mov ecx, ebx
sbb eax, eax
inc eax
push eax
push 0
push 0x448
push 0x3fc
call dword [esp + 0x38]
mov ecx, ebx
call fcn.00406a90
mov ecx, dword [ebx]
push 0x4155d0
push 0x3fe
mov esi, dword [ecx + 0x98]
mov ecx, ebx
call esi
mov eax, dword [ebx + 0x81c]
cmp eax, 1
je 0x40883e
test eax, eax
jne 0x4087f3
test ebp, ebp
jne 0x40883e
lea ecx, [ebx + 0x38]
call fcn.0040e220
test eax, eax
jne 0x40883e
push 0
mov eax, dword [ebx + 0x2c]
push 0x12c
mov ebp, dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x814], 1
push 0x64
push eax
call ebp
cmp dword [ebx + 0x5cc], 0
je 0x40885e
push 0x415554
mov eax, dword [ebx + 0x5c4]
push eax
mov ecx, ebx
push 1
call fcn.00409f00
jmp 0x40885e
cmp dword [ebx + 0x81c], 1
jne 0x408853
test ebp, ebp
jne 0x408853
lea ecx, [ebx + 0x38]
call fcn.0040e220
mov ecx, ebx
call fcn.00408920
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x4088a2
push 0
push 0x1d
call fcn.0040ae90
add esp, 8
push eax
mov eax, dword [ebx + 0x508]
and eax, 0x10000000
mov ecx, ebx
shr eax, 0x1c
cmp eax, 1
sbb eax, eax
and eax, 0xfffffbd8
add eax, 0x429
push eax
call esi
mov ecx, ebx
call fcn.00407580
cmp dword [esp + 0x10], 0
jne 0x4088bf
mov eax, dword [ebx + 0x82c]
test eax, eax
je 0x4088bf
push eax
call sub.MSVCRT40.dll_void___cdecl_operator_delete_void__
mov dword [ebx + 0x82c], 0
add esp, 4
lea ecx, [esp + 0x40]
call fcn.00404e90
lea ecx, [esp + 0x48]
call fcn.00404e90
lea ecx, [esp + 0x34]
call fcn.00404e90
lea ecx, [esp + 0x2c]
call fcn.00404e90
mov eax, dword [esp + 0x10]
jmp 0x4088eb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14dc
ret 4