Function at 0x4bf84f
Capabilities:
Reference sql statements

Disassembly:
push ebp
push ebx
push edi
mov edx, 0x11
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4bf857
push 0x6fb198
push 1
push 0
call fcn.004f09d9
push dword [esp + 0x54]
call fcn.004f561d
push dword [0x9abb94]
call fcn.004d2480
mov dword [esp], eax
mov dword [esp + 4], 0
push dword [0x9b3e20]
mov edx, str.SELECT__FROM_Circlog_WHERE__LLLINK
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9abb94]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, str._OR_LLQ
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [esp + 0x60]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, 0x6fe72e
push edx
call fcn.005597c0
lea eax, [esp + 0xc]
push eax
call fcn.00559740
mov edx, dword [esp + 8]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, str._ORDER_BY_LLDATE_DESC_LLTIME_DESC
push edx
call fcn.005597c0
lea eax, [esp + 0xc]
push eax
call fcn.00559740
push 1
push dword [esp + 0xc]
call fcn.004f685a
and eax, eax
je 0x4bfa7b
push 1
call fcn.004f4ac4
and eax, eax
je 0x4bfa71
push 1
call fcn.004ca5fe
mov ebx, dword [esp + 4]
inc ebx
mov dword [esp + 4], ebx
push dword [0x9adff0]
mov edx, 0x70445c
pop ecx
call fcn.0051f5d0
je 0x4bf998
mov dword [0x9ae528], 0
mov edx, 0x6fb198
lea ecx, [0x9aba7c]
call fcn.0051f008
mov edx, 0x6fb198
lea ecx, [0x9ac53c]
call fcn.0051f008
mov edx, dword [0x9adff0]
push dword [0x9b3e20]
push edx
call fcn.005597c0
mov edx, dword [0x9ac234]
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ae528]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, dword [0x9ac234]
push edx
call fcn.005597c0
mov edx, dword [0x9aba7c]
push edx
call fcn.005597c0
mov edx, dword [0x9ac234]
push edx
call fcn.005597c0
mov edx, dword [0x9ac53c]
push edx
call fcn.005597c0
mov edx, dword [0x9ac234]
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [0x9ad7dc]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, dword [0x9ac234]
push edx
call fcn.005597c0
mov edx, dword [0x9ae050]
push edx
call fcn.005597c0
mov edx, 0x6fdc02
push edx
call fcn.005597c0
mov edx, dword [0x9ac2b4]
push edx
call fcn.005597c0
mov ebx, dword [esp + 8]
mov ebp, dword [0x9aeef8]
shl ebx, 2
lea eax, [ebp + ebx]
push eax
call fcn.00559740
jmp 0x4bf936
push 1
call fcn.004be154
mov dword [esp + 0xc], 0
push 1
call fcn.004d3586
push 0xff
push 0xff
push 0xf0
call fcn.00547fab
mov dword [esp + 0x10], eax
push 1
push 0
push 0
push 0x230
push 0x2d0
mov eax, str.Previous_Borrowers
push eax
push 0xffffffff
call fcn.004fb9ac
mov dword [esp + 0x14], eax
push dword [esp + 0x14]
call fcn.00540e97
mov dword [esp + 0x18], eax
push dword [esp + 0x14]
call fcn.00540f14
mov dword [esp + 0x1c], eax
push dword [esp + 0x10]
push dword [esp + 0x18]
call fcn.004ea106
push 0x270f
push dword [esp + 0x18]
call fcn.004ece07
push 0x270f
push 0x270f
push dword [esp + 0x1c]
call fcn.005086d1
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 0xc
push 0x63
push 0
push 0
push 0
push 0x14
push 0x1f4
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [0x9acc5c]
push 0xffffffff
call fcn.004f7463
mov dword [esp + 0x28], eax
push dword [0x9adad8]
push dword [esp + 0x2c]
call fcn.00503408
push dword [esp + 0x10]
push dword [esp + 0x2c]
call fcn.004c7098
mov ebx, dword [esp + 0x24]
add ebx, 0x16
mov dword [esp + 0x24], ebx
push 0x63
push 0
push 0
push 0
push 0x14
push 0x96
push dword [esp + 0x3c]
push dword [esp + 0x3c]
mov eax, 0x6fb198
push eax
push 0xffffffff
call fcn.004f7463
mov dword [esp + 0x28], eax
push dword [0x9adad8]
push dword [esp + 0x2c]
call fcn.00503408
push dword [esp + 0x10]
push dword [esp + 0x2c]
call fcn.004c7098
mov ebx, dword [esp + 0x24]
add ebx, 0x19
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
add edi, edi
sub ebx, edi
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x1c]
add ebx, 0xffffff9c
mov dword [esp + 0x30], ebx
push 1
push dword [0x9ab7bc]
push dword [0x9acb10]
push 0x10000
push 0x37
mov eax, str.Action
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x44]
push dword [esp + 0x44]
push 0x26ac
call fcn.004e9be2
push 0x3c
mov eax, str.Number
push eax
push 1
push 0x26ac
call fcn.00519d27
push 0x104
mov eax, str.Borrower
push eax
push 2
push 0x26ac
call fcn.00519d27
push 0x3c
mov eax, str.Class
push eax
push 3
push 0x26ac
call fcn.00519d27
push 0x3c
mov eax, 0x721074
push eax
push 4
push 0x26ac
call fcn.00519d27
push 0xaa
mov eax, str.Date
push eax
push 5
push 0x26ac
call fcn.00519d27
mov ebx, dword [esp + 0x1c]
add ebx, 0xffffffe3
mov dword [esp + 0x24], ebx
push 0
push 0
push 0x17
push 0x4b
push dword [esp + 0x34]
push dword [esp + 0x34]
mov eax, str.Print
push eax
push 0x26ca
call fcn.004f57c7
push 0
push 0x26ca
push dword [esp + 0x1c]
call fcn.004e476f
mov ebx, dword [esp + 0x20]
add ebx, 0x51
mov dword [esp + 0x20], ebx
mov ebx, dword [esp]
cmp ebx, 1
jle 0x4bfe0e
push dword [0x9b3e20]
mov edx, str.All
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [esp + 0xc]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, str._copies
push edx
call fcn.005597c0
lea eax, [esp + 0x38]
push eax
call fcn.00559740
push 0
push 0
push 0x17
push 0x64
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x4c]
push 0x26cd
call fcn.004f57c7
push dword [0x9b3e20]
push dword [0x9b3e20]
mov edx, str.List
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [esp + 0x14]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, str._history_entries_for_all
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [esp + 0x10]
cdq
push edx
push eax
call fcn.005565d0
pop eax
mov edx, str._copies
push edx
call fcn.005597c0
add dword [0x9b3e20], 2
push 0x26cd
mov edx, dword [0x9a36fc]
add dword [esp + 4], edx
call fcn.00514599
pop dword [0x9b3e20]
mov dword [esp + 0x38], 1
jmp 0x4bfe18
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x38]
jl 0x4bfeb6
mov ebx, dword [esp + 0x38]
mov ebp, dword [0x9aeef8]
shl ebx, 2
mov edx, dword [ebp + ebx]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [0x9ad928]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
push dword [0x9ac234]
push 5
push dword [0x9ad928]
call fcn.00556db0
lea eax, [esp + 0x38]
push eax
call fcn.00559740
push dword [esp + 0x34]
call fcn.00556b90
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esp + 0x54]
jne 0x4bfeac
push 0
push 0xffffffff
push dword [0x9ad928]
push 0x26ac
call fcn.004f21c4
inc dword [esp + 0x38]
jno 0x4bfe18
push 0x26ac
call fcn.0051da17
mov dword [esp + 0x3c], eax
mov edx, str.1_entry
lea ecx, [esp + 0x34]
call fcn.0051f008
mov ebx, dword [esp + 0x3c]
cmp ebx, 1
je 0x4bff08
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [esp + 0x44]
cdq
push edx
push eax
call fcn.005565d0
mov edx, str._entries
push edx
call fcn.005597c0
lea eax, [esp + 0x38]
push eax
call fcn.00559740
push dword [esp + 0x34]
push 0x26c0
call fcn.004cf230
push 0
push 0
push 0
push dword [esp + 0x20]
call fcn.004f1be1
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x40]
cmp ebx, 0xffffffff
je 0x4bff49
mov ebx, dword [esp + 0x40]
cmp ebx, 0x270f
je 0x4bff49
jmp 0x4bff50
mov eax, 1
jmp 0x4bff52
xor eax, eax
and eax, eax
je 0x4bff5b
jmp 0x4c0046
mov ebx, dword [esp + 0x40]
cmp ebx, 0x26ca
jne 0x4bff88
fld qword [0x7451a4]
sub esp, 8
fstp qword [esp]
push dword [0x9acc5c]
push 0x26ac
call fcn.0050a263
jmp 0x4c0041
mov ebx, dword [esp + 0x40]
cmp ebx, 0x26cd
jne 0x4c0041
push 0x26ac
call fcn.00509fe3
mov dword [esp + 0x38], 1
jmp 0x4bffac
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x38]
jl 0x4bffe1
push 0
push 0xffffffff
mov ebx, dword [esp + 0x40]
mov ebp, dword [0x9aeef8]
shl ebx, 2
push dword [ebp + ebx]
push 0x26ac
call fcn.004f21c4
inc dword [esp + 0x38]
jno 0x4bffac
push 0x26ac
call fcn.0051da17
mov dword [esp + 0x3c], eax
mov edx, str.1_entry
lea ecx, [esp + 0x34]
call fcn.0051f008
mov ebx, dword [esp + 0x3c]
cmp ebx, 1
je 0x4c0033
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [esp + 0x44]
cdq
push edx
push eax
call fcn.005565d0
mov edx, str._entries
push edx
call fcn.005597c0
lea eax, [esp + 0x38]
push eax
call fcn.00559740
push dword [esp + 0x34]
push 0x26c0
call fcn.004cf230
jmp 0x4bff16
push 0
push 0
call fcn.004f1489
xor eax, eax
push dword [esp + 8]
call fcn.00559820
push dword [esp + 0x34]
call fcn.00559820
add esp, 0x44
pop edi
pop ebx
pop ebp
ret 4