Function at 0x1006ff40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x103a0310]
sub esp, 8
push ebx
push edi
cmp eax, 1
jne 0x1006ff76
mov eax, dword [0xe61e58]
cmp eax, 0x320
je 0x1006ff7a
cmp eax, 0x400
je 0x1006ff7a
cmp eax, 0x500
je 0x1006ff7a
mov ebx, 0x68
mov dword [ebp - 4], ebx
jmp 0x1006ff84
test eax, eax
jne 0x1006ff81
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x1006ff84
mov ebx, dword [ebp - 4]
push esi
lea esi, [ebx + 0x1e9]
mov dword [ebp - 8], esi
fild dword [ebp - 8]
sub esp, 8
mov eax, 0x7f
mov ecx, 0x103a0f48
fstp dword [ebp - 8]
fld dword [0x100d1f4c]
fstp dword [esp + 4]
fld dword [ebp - 8]
fstp dword [esp]
call fcn.1006fbd0
push 0x10
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
mov eax, dword [0x879340c]
je 0x10070041
cmp eax, esi
jle 0x1007003a
lea ecx, [ebx + 0x20e]
cmp eax, ecx
jge 0x1007003a
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x1007003a
cmp eax, 0x1d7
jge 0x1007003a
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x75
fld dword [ebp - 8]
mov ecx, 0x103a0f48
fstp dword [esp]
call fcn.1006fbd0
fild dword [ebp - 4]
push str.Status__C_
push 0x1a2
fadd qword [0x100d2ad8]
call fcn.100c10b0
push eax
call fcn.1006fe40
add esp, 0xc
jmp 0x100700c9
mov eax, 0x75
jmp 0x100700ac
cmp eax, esi
jle 0x100700a7
lea edx, [ebx + 0x20e]
cmp eax, edx
jge 0x100700a7
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x100700a7
cmp eax, 0x1d7
jge 0x100700a7
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x74
fld dword [ebp - 8]
mov ecx, 0x103a0f48
fstp dword [esp]
call fcn.1006fbd0
fild dword [ebp - 4]
push str.Status__C_
push 0x1a2
fadd qword [0x100d2ad8]
call fcn.100c10b0
push eax
call fcn.1006fe40
add esp, 0xc
jmp 0x100700c9
mov eax, 0x73
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov ecx, 0x103a0f48
fld dword [ebp - 8]
fstp dword [esp]
call fcn.1006fbd0
mov eax, dword [0x879340c]
mov edi, dword [sym.imp.USER32.dll_keybd_event]
cmp eax, esi
jle 0x10070142
lea ecx, [ebx + 0x20e]
cmp eax, ecx
jge 0x10070142
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x10070142
cmp eax, 0x1d7
jge 0x10070142
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x100
test dx, ax
je 0x10070142
push 0x10
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
push 0x10
mov eax, 0x861110
je 0x1007012d
call eax
mov edx, 0x85f9a0
jmp 0x10070134
call eax
mov edx, 0x85ec50
mov ecx, eax
call edx
push 0
push 2
push 0
push 1
call edi
push 0xd
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
lea esi, [ebx + 0x20f]
test al, al
mov eax, dword [0x879340c]
mov dword [ebp - 8], esi
je 0x100701cc
cmp eax, esi
jle 0x100701c5
lea ecx, [ebx + 0x234]
cmp eax, ecx
jge 0x100701c5
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x100701c5
cmp eax, 0x1d7
jge 0x100701c5
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x78
fild dword [ebp - 8]
mov ecx, 0x103a0f48
fstp dword [esp]
call fcn.1006fbd0
push str.Inventory__V_I_
push 0x1a2
push 0x20b
call fcn.1006fe40
add esp, 0xc
jmp 0x10070254
mov eax, 0x78
jmp 0x10070237
cmp eax, esi
jle 0x10070232
lea edx, [ebx + 0x234]
cmp eax, edx
jge 0x10070232
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x10070232
cmp eax, 0x1d7
jge 0x10070232
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x77
fild dword [ebp - 8]
mov ecx, 0x103a0f48
fstp dword [esp]
call fcn.1006fbd0
fild dword [ebp - 4]
push str.Inventory__V_I_
push 0x1a2
fadd qword [0x100d2ad0]
call fcn.100c10b0
push eax
call fcn.1006fe40
add esp, 0xc
jmp 0x10070254
mov eax, 0x76
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov ecx, 0x103a0f48
fild dword [ebp - 8]
fstp dword [esp]
call fcn.1006fbd0
mov eax, dword [0x879340c]
cmp eax, esi
jle 0x100702c7
lea ecx, [ebx + 0x234]
cmp eax, ecx
jge 0x100702c7
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x100702c7
cmp eax, 0x1d7
jge 0x100702c7
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x100
test dx, ax
je 0x100702c7
push 0xd
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
push 0xd
mov eax, 0x861110
je 0x100702b2
call eax
mov edx, 0x85f9a0
jmp 0x100702b9
call eax
mov edx, 0x85ec50
mov ecx, eax
call edx
push 0
push 2
push 0
push 1
call edi
push 1
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
lea esi, [ebx + 0x235]
test al, al
mov eax, dword [0x879340c]
mov dword [ebp - 8], esi
je 0x1007035b
cmp eax, esi
jle 0x10070354
lea ecx, [ebx + 0x25a]
cmp eax, ecx
jge 0x10070354
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x10070354
cmp eax, 0x1d7
jge 0x10070354
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x7b
fild dword [ebp - 8]
mov ecx, 0x103a0f48
fstp dword [esp]
call fcn.1006fbd0
fild dword [ebp - 4]
push str.Correios__F_
push 0x1a2
fadd qword [0x100d2ac8]
call fcn.100c10b0
push eax
call fcn.1006fe40
add esp, 0xc
jmp 0x100703e3
mov eax, 0x7b
jmp 0x100703c6
cmp eax, esi
jle 0x100703c1
lea edx, [ebx + 0x25a]
cmp eax, edx
jge 0x100703c1
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x100703c1
cmp eax, 0x1d7
jge 0x100703c1
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x7a
fild dword [ebp - 8]
mov ecx, 0x103a0f48
fstp dword [esp]
call fcn.1006fbd0
fild dword [ebp - 4]
push str.Correios__F_
push 0x1a2
fadd qword [0x100d2ac8]
call fcn.100c10b0
push eax
call fcn.1006fe40
add esp, 0xc
jmp 0x100703e3
mov eax, 0x79
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov ecx, 0x103a0f48
fild dword [ebp - 8]
fstp dword [esp]
call fcn.1006fbd0
mov eax, dword [0x879340c]
cmp eax, esi
jle 0x10070456
lea ecx, [ebx + 0x25a]
cmp eax, ecx
jge 0x10070456
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x10070456
cmp eax, 0x1d7
jge 0x10070456
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x100
test dx, ax
je 0x10070456
push 1
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
push 1
mov eax, 0x861110
je 0x10070441
call eax
mov edx, 0x85f9a0
jmp 0x10070448
call eax
mov edx, 0x85ec50
mov ecx, eax
call edx
push 0
push 2
push 0
push 1
call edi
push 0x22
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
lea esi, [ebx + 0x25b]
test al, al
mov eax, dword [0x879340c]
mov dword [ebp - 8], esi
je 0x100704ea
cmp eax, esi
jle 0x100704e3
lea ecx, [ebx + 0x280]
cmp eax, ecx
jge 0x100704e3
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x100704e3
cmp eax, 0x1d7
jge 0x100704e3
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x7e
fild dword [ebp - 8]
mov ecx, 0x103a0f48
fstp dword [esp]
call fcn.1006fbd0
fild dword [ebp - 4]
push str.Menu__U_
push 0x1a2
fadd qword [0x100d2ac0]
call fcn.100c10b0
push eax
call fcn.1006fe40
add esp, 0xc
jmp 0x10070572
mov eax, 0x7e
jmp 0x10070555
cmp eax, esi
jle 0x10070550
lea edx, [ebx + 0x280]
cmp eax, edx
jge 0x10070550
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x10070550
cmp eax, 0x1d7
jge 0x10070550
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov eax, 0x7d
fild dword [ebp - 8]
mov ecx, 0x103a0f48
fstp dword [esp]
call fcn.1006fbd0
fild dword [ebp - 4]
push str.Menu__U_
push 0x1a2
fadd qword [0x100d2ac0]
call fcn.100c10b0
push eax
call fcn.1006fe40
add esp, 0xc
jmp 0x10070572
mov eax, 0x7c
fld dword [0x100d1f4c]
sub esp, 8
fstp dword [esp + 4]
mov ecx, 0x103a0f48
fild dword [ebp - 8]
fstp dword [esp]
call fcn.1006fbd0
mov eax, dword [0x879340c]
cmp eax, esi
pop esi
jle 0x100705f8
add ebx, 0x280
cmp eax, ebx
jge 0x100705f8
mov eax, dword [0x8793410]
cmp eax, 0x1af
jle 0x100705f8
cmp eax, 0x1d7
jge 0x100705f8
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x100
test cx, ax
je 0x100705f8
push 0x22
mov edx, 0x861110
call edx
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
push 0x22
mov eax, 0x861110
je 0x100705e3
call eax
mov edx, 0x85f9a0
mov ecx, eax
call edx
push 0
push 2
push 0
push 1
call edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call eax
mov edx, 0x85ec50
mov ecx, eax
call edx
push 0
push 2
push 0
push 1
call edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret