Function at 0x493fd0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5207b9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x7c6ee4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call dword [0x5307bc]
mov edi, dword [0x5307b8]
mov ecx, eax
call edi
push str.get_report
mov ecx, eax
mov dword [ebp - 4], 0
call dword [0x530704]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call dword [0x530710]
push ecx
lea eax, [esi + 0xc]
mov ecx, esp
push eax
call dword [0x530a10]
lea ecx, [ebp - 0x10]
call dword [0x5309bc]
push 0x33
push str.select_count___from_report_where_report.submit__0
mov dword [ebp - 4], 1
call dword [0x53076c]
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call dword [0x5309c8]
test al, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
sete bl
call dword [0x5307a0]
lea ecx, [ebp - 0x10]
test bl, bl
je 0x4940fa
lea eax, [ebp - 0x28]
push eax
call dword [0x5309c4]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call dword [0x530a1c]
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call dword [0x5307bc]
mov ecx, eax
call edi
push esi
mov ecx, eax
mov byte [ebp - 4], 5
call dword [0x530700]
mov eax, dword [0x530710]
lea ecx, [ebp + 8]
call eax
lea ecx, [ebp + 0xc]
call dword [0x5307a0]
lea ecx, [ebp - 0x28]
call dword [0x5309b4]
jmp 0x494565
mov esi, dword [0x5309d4]
call esi
test al, al
je 0x494565
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call dword [0x5309cc]
push 0
mov ecx, eax
mov byte [ebp - 4], 6
call dword [0x530734]
test eax, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
setne bl
call dword [0x530740]
test bl, bl
je 0x494565
lea ecx, [ebp - 0x10]
call dword [0x5309dc]
mov ebx, dword [0x53076c]
push 0xda
push str.SELECT_nMIN_report.id__as_id___nreport.sn___nreport.version___nreport.automatic___nreport.operate___nreport.result___nreport.func___nreport.chip___nreport.car___nreport.time___nreport.log_text__nFROM_nreport_nWHERE_nreport.submit__0
call ebx
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x10]
call dword [0x5309c8]
lea ecx, [ebp - 0x10]
test al, al
jne 0x4941ea
lea eax, [ebp - 0x28]
push eax
call dword [0x5309c4]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call dword [0x530a1c]
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 9
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
call dword [0x5307bc]
mov ecx, eax
call edi
push esi
mov ecx, eax
mov byte [ebp - 4], 0xa
call dword [0x530700]
mov eax, dword [0x530710]
lea ecx, [ebp + 8]
call eax
lea ecx, [ebp + 0xc]
call dword [0x5307a0]
lea ecx, [ebp - 0x28]
call dword [0x5309b4]
lea ecx, [ebp - 0x14]
xor bl, bl
call dword [0x5307a0]
jmp 0x494567
call esi
test al, al
je 0x49455c
push 2
push 0x546b34
call ebx
add esp, 8
mov dword [ebp - 0x18], eax
mov edi, dword [0x530a14]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x10]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0xc
call dword [0x530734]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call dword [0x5307a0]
push 2
push 0x546b38
call ebx
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call edi
mov esi, dword [0x53072c]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call esi
mov ecx, dword [ebp + 0xc]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x18]
call dword [0x5307a0]
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call dword [0x5307a0]
push 7
push 0x531fe8
call ebx
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x10
push ecx
mov ecx, eax
call esi
mov ecx, dword [ebp + 0x10]
push eax
call dword [0x53063c]
lea ecx, [ebp + 0xc]
call dword [0x5307a0]
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call dword [0x5307a0]
push 9
push 0x546b3c
call ebx
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x12
call dword [0x530734]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call dword [0x5307a0]
push 7
push 0x546b48
call ebx
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x14
call dword [0x530734]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call dword [0x5307a0]
push 6
push 0x546b50
call ebx
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x16
call dword [0x530734]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call dword [0x5307a0]
push 4
push str.func
call ebx
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x18
call dword [0x530734]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call dword [0x5307a0]
push 4
push 0x546b60
call ebx
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x1a
call dword [0x530734]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call dword [0x5307a0]
push 3
push 0x546b68
call ebx
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x1c
call dword [0x530734]
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call dword [0x5307a0]
push 4
push 0x546b6c
call ebx
add esp, 8
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x1d
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1e
push ecx
mov ecx, eax
call esi
mov ecx, dword [ebp + 0x2c]
push eax
call dword [0x53063c]
lea ecx, [ebp + 0xc]
call dword [0x5307a0]
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call dword [0x5307a0]
push 8
push str.log_text
call ebx
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x20
push ecx
mov ecx, eax
call esi
mov ecx, dword [ebp + 0x30]
push eax
call dword [0x53063c]
lea ecx, [ebp + 0xc]
call dword [0x5307a0]
lea ecx, [ebp - 0x28]
call dword [0x530740]
lea ecx, [ebp + 8]
call dword [0x5307a0]
lea ecx, [ebp - 0x14]
mov bl, 1
call dword [0x5307a0]
jmp 0x494567
lea ecx, [ebp - 0x14]
call dword [0x5307a0]
xor bl, bl
lea ecx, [ebp - 0x10]
call dword [0x5309c0]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c