Function at 0x53ffb6
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov edx, 0xe
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x53ffbc
call fcn.005b13d0
push 0x34e
call fcn.0057fc17
push 0x34d
call fcn.0057fb82
mov dword [esp], eax
mov ebx, dword [esp]
cmp ebx, 0xffffffff
jne 0x53fff2
jmp 0x540362
push dword [esp]
push 0x34d
call fcn.0057fc68
mov dword [esp + 4], eax
mov dword [esp + 8], 0
push edx
call fcn.005b1230
pop edx
push eax
push edx
call fcn.005b1230
pop edx
push eax
mov edx, str.SELECT_MIN_time___MAX_time__FROM_event_WHERE_session_id_
push edx
call fcn.005b1270
push edx
call fcn.005b1230
pop edx
push eax
push edx
call fcn.005b1230
pop edx
push eax
mov eax, dword [esp + 0x14]
cdq
push edx
push eax
call fcn.005adc10
pop eax
call fcn.005b1360
push 1
call fcn.0054d542
add dword [esp + 4], edx
call fcn.0059de4c
call fcn.0054d560
and eax, eax
je 0x540118
push 1
call fcn.0059de5e
and eax, eax
je 0x54010e
push 0
push 1
call fcn.0059de86
mov dword [esp + 0xc], eax
push 1
push 1
call fcn.0059de86
mov dword [esp + 0x10], eax
push dword [esp + 0xc]
call fcn.0059d8f6
mov ebx, eax
push dword [esp + 0x10]
call fcn.0059d8f6
cmp ebx, eax
jne 0x5400d2
push dword [esp + 0xc]
call fcn.0059d8d4
mov ebx, eax
push dword [esp + 0x10]
call fcn.0059d8d4
cmp ebx, eax
jne 0x5400d2
jmp 0x5400d9
mov eax, 1
jmp 0x5400db
xor eax, eax
and eax, eax
jne 0x5400f9
push dword [esp + 0xc]
call fcn.0059d8ae
mov ebx, eax
push dword [esp + 0x10]
call fcn.0059d8ae
cmp ebx, eax
jne 0x5400f9
jmp 0x540100
mov eax, 1
jmp 0x540102
xor eax, eax
and eax, eax
je 0x54010e
mov dword [esp + 8], 1
push 1
call fcn.0059dedf
push edx
call fcn.005b1230
pop edx
push eax
push edx
call fcn.005b1230
pop edx
push eax
mov edx, str.SELECT_event_id__filename__time__event_FROM_event_WHERE_session_id_
push edx
call fcn.005b1270
push edx
call fcn.005b1230
pop edx
push eax
push edx
call fcn.005b1230
pop edx
push eax
mov eax, dword [esp + 0x14]
cdq
push edx
push eax
call fcn.005adc10
pop eax
mov edx, 0x72def4
push edx
call fcn.005b1270
call fcn.005b1360
push 1
call fcn.0054d542
add dword [esp + 4], edx
call fcn.0059de4c
call fcn.0054d560
and eax, eax
je 0x540360
mov edx, 0x72b0ec
lea ecx, [esp + 0x14]
call fcn.0054d008
mov dword [esp], 0
push 1
call fcn.0059de5e
and eax, eax
je 0x540310
push 0
push 1
call fcn.0059de86
mov dword [esp + 0x18], eax
push edx
call fcn.005b1230
pop edx
push eax
push edx
call fcn.005b1230
pop edx
push eax
push 1
push 1
call fcn.0059deb2
lea eax, [esp + 0x20]
push eax
call fcn.005b12d0
push 2
push 1
call fcn.0059de86
mov dword [esp + 0x20], eax
push 3
push 1
call fcn.0059de86
mov dword [esp + 0x24], eax
push dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
pop ecx
call fcn.0054d570
jne 0x540288
push edx
call fcn.005b1230
pop edx
push eax
push dword [esp + 0x20]
call fcn.004faeea
lea eax, [esp + 0x2c]
push eax
call fcn.005b12d0
push 0
push 0xd1
call fcn.00423717
push eax
push dword [esp + 0x30]
push dword [esp + 0xc]
push 0x34e
call fcn.00589665
push 0xffffffff
push dword [esp + 4]
push 0x34e
call fcn.0057fc3a
inc dword [esp]
mov edx, dword [esp + 0x1c]
push edx
call fcn.005b1230
pop edx
push eax
push edx
call fcn.005b1270
lea eax, [esp + 0x18]
push eax
call fcn.005b12d0
mov ebx, dword [esp + 0x24]
add ebx, 0xd2
push ebx
call fcn.00423717
mov dword [esp + 0x2c], eax
cmp dword [esp + 8], 0
je 0x5402c0
push edx
call fcn.005b1230
pop edx
push eax
push dword [esp + 0x24]
call fcn.004a72b2
lea eax, [esp + 0x34]
push eax
call fcn.005b12d0
jmp 0x5402db
push edx
call fcn.005b1230
pop edx
push eax
push dword [esp + 0x24]
call fcn.00423f65
lea eax, [esp + 0x34]
push eax
call fcn.005b12d0
push 1
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0xc]
push 0x34e
call fcn.00589665
push dword [esp + 0x18]
push dword [esp + 4]
push 0x34e
call fcn.0057fc3a
inc dword [esp]
jmp 0x540195
push 1
call fcn.0059dedf
mov dword [esp + 0x34], 0
jmp 0x540324
mov ebx, dword [esp]
dec ebx
cmp ebx, dword [esp + 0x34]
jl 0x540360
push 1
push dword [esp + 0x38]
push 0x34e
call fcn.00584994
mov ebx, eax
and ebx, ebx
jne 0x54035a
push 2
push dword [esp + 0x38]
push 0x34e
call fcn.005868ea
inc dword [esp + 0x34]
jno 0x540324
xor eax, eax
push dword [esp + 0x1c]
call fcn.005b1460
push dword [esp + 0x30]
call fcn.005b1460
push dword [esp + 0x28]
call fcn.005b1460
push dword [esp + 0x14]
call fcn.005b1460
add esp, 0x38
pop ebx
ret