Function at 0x4106a9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4342f8]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0xc]
push ebx
mov ebx, ecx
cmp eax, 3
ja case.default.0x41062d
jmp dword [eax*4 + 0x410874]
mov edx, dword [ebp + 8]
mov eax, dword [0x434300]
lea ecx, [ebp - 4]
push ecx
push 0
push 0x410500
push edx
push eax
call sub.sqlite3.dll_sqlite3_exec
add esp, 0x14
test eax, eax
jne 0x410657
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
mov eax, dword [0x434300]
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push edx
push eax
call sub.sqlite3.dll_sqlite3_exec
add esp, 0x14
test eax, eax
je case.default.0x41062d
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
mov eax, dword [0x434300]
lea ecx, [ebp - 4]
push ecx
push 0
push 0x410360
push edx
push eax
call sub.sqlite3.dll_sqlite3_exec
add esp, 0x14
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push edi
push pe_nt_image_headers32
call fcn.00414f98
mov edx, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0
mov esi, eax
push 0x4105d0
mov dword [esi], 0
mov eax, dword [0x434300]
push edx
push eax
call sub.sqlite3.dll_sqlite3_exec
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4106ea
push str.sqlite3_exec_id_day
jmp 0x410855
mov eax, dword [0x4342f8]
cmp dword [eax], 0x428a60
je 0x41085b
mov ecx, dword [eax + 4]
push ecx
push str.select_count_day__sum_key_down_times__sum_mouse_down_times__sum_mouse_fix__from_tb_healthAide_where_day_s
push esi
call fcn.00414004
mov eax, dword [0x434300]
lea edx, [ebp - 4]
push edx
push 0
push 0x4103e0
push esi
push eax
call sub.sqlite3.dll_sqlite3_exec
mov edi, eax
add esp, 0x20
test edi, edi
je 0x410734
push str.sqlite3_exec_one
jmp 0x410855
mov ecx, dword [ebx + 8]
push ecx
call fcn.00414fb9
mov edx, dword [ebx]
push edx
mov dword [ebp + 8], eax
call fcn.00414fb9
add esp, 8
sub eax, dword [ebp + 8]
je 0x41085b
push eax
push str.select_id_day_from_tb_healthAide_where_id___d
push esi
call fcn.00414004
mov ecx, dword [0x434300]
lea eax, [ebp - 4]
push eax
push 0
push 0x4105d0
push esi
push ecx
call sub.sqlite3.dll_sqlite3_exec
mov edi, eax
add esp, 0x20
test edi, edi
je 0x41078b
push str.sqlite3_exec_one
jmp 0x410855
mov edx, dword [0x4342f8]
mov eax, dword [edx + 4]
push eax
push str.select_count_day__sum_key_down_times__sum_mouse_down_times__sum_mouse_fix__from_tb_healthAide_where_day_s
push esi
call fcn.00414004
mov edx, dword [0x434300]
lea ecx, [ebp - 4]
push ecx
push 0
push 0x410440
push esi
push edx
call sub.sqlite3.dll_sqlite3_exec
mov edi, eax
add esp, 0x20
test edi, edi
je 0x4107cb
push str.sqlite3_exec_two
jmp 0x410855
mov eax, dword [ebx + 8]
push eax
call fcn.00414fb9
mov ecx, dword [ebx]
push ecx
mov dword [ebp + 8], eax
call fcn.00414fb9
add esp, 8
sub eax, dword [ebp + 8]
je 0x41085b
push eax
push str.select_id_day_from_tb_healthAide_where_id___d
push esi
call fcn.00414004
mov eax, dword [0x434300]
lea edx, [ebp - 4]
push edx
push 0
push 0x4105d0
push esi
push eax
call sub.sqlite3.dll_sqlite3_exec
mov edi, eax
add esp, 0x20
test edi, edi
je 0x41081a
push str.sqlite3_exec_two
jmp 0x410855
mov ecx, dword [0x4342f8]
mov edx, dword [ecx + 4]
push edx
push str.select_count_day__sum_key_down_times__sum_mouse_down_times__sum_mouse_fix__from_tb_healthAide_where_day_s
push esi
call fcn.00414004
mov ecx, dword [0x434300]
lea eax, [ebp - 4]
push eax
push 0
push 0x4104a0
push esi
push ecx
call sub.sqlite3.dll_sqlite3_exec
mov edi, eax
add esp, 0x20
test edi, edi
je 0x41085b
push str.sqlite3_exec_three
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test esi, esi
je 0x410868
push esi
call fcn.00414f8d
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4