Function at 0x652900
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x653154
sub esp, 0xbc
mov eax, dword [esp + 0xc0]
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe4], 0
mov byte [eax + 0xe8], 0
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx + 8]
test edx, edx
je 0x6529b8
mov ebx, dword [ecx + 0x48]
mov ebp, dword [ecx + 0x44]
test ebx, ebx
jne 0x65295e
mov ebp, dword [edx + 0x14]
mov ebx, dword [edx + 0x18]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00633b70
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x65297e
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
xor edx, edx
jmp 0x6529fb
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xbc
ret
mov eax, dword [0x9136b0]
mov ecx, dword [0x9136b4]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xbc
ret
inc edx
cmp edx, ecx
jge 0x652a6f
movzx ebx, byte [eax + edx]
lea ebp, [0x8ef380]
movzx ebx, byte [ebp + ebx]
test bl, bl
jne 0x6529fa
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x72473e]
mov dword [eax], ecx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
add esp, 0xbc
ret
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0xc4]
cmp dword [edx + 4], 7
jne 0x652aa0
mov ebx, dword [edx]
cmp dword [ebx], 0x4e4e4f43
jne 0x652aa0
cmp word [ebx + 4], 0x4345
jne 0x652aa0
cmp byte [ebx + 6], 0x54
je 0x652d58
mov eax, dword [edx + 8]
mov dword [esp], eax
call fcn.005bd630
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x58], ecx
test eax, eax
je 0x652ad6
cmp byte [ecx], 0x2f
je 0x652b97
cmp eax, 1
jne 0x652ad6
cmp byte [ecx], 0x2a
je 0x652b97
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
lea ebx, [esp + 0x24]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea ecx, [0x71b2b1]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
call fcn.00450710
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jle 0x652b2b
xor edx, edx
jmp 0x652b56
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402d90
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov edx, eax
mov eax, dword [esp + 0x44]
test dl, dl
je 0x652b78
cmp eax, ecx
ja 0x65314e
mov edx, ecx
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ebp, dword [esp + 0x58]
lea ecx, [eax + ebp]
jmp 0x652b82
mov edx, ecx
mov ebp, dword [esp + 0x58]
mov ebx, edx
mov ecx, ebp
test ebx, ebx
je 0x652ba7
cmp byte [ecx], 0x2f
je 0x652b95
cmp ebx, 1
jne 0x652ba7
cmp byte [ecx], 0x2a
jne 0x652ba7
mov eax, ebx
mov edx, dword [esp + 0xc4]
mov ebx, eax
mov ebp, ecx
jmp 0x652d5c
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x652caf
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00465f00
mov eax, dword [esp + 8]
lea ecx, [0x6db180]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00465f00
mov eax, dword [esp + 8]
lea ecx, [0x6db180]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
lea eax, [0x72d36c]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c2050
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xbc
ret
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00465f00
mov eax, dword [esp + 8]
lea ecx, [0x6db180]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
lea eax, [0x72345a]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c2050
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xbc
ret
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x48], ebx
mov eax, dword [edx + 0x1c]
mov dword [esp], eax
call fcn.00652700
mov eax, dword [esp + 8]
test eax, eax
jne 0x65309a
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x58]
mov dword [esp], ecx
call fcn.00652700
mov eax, dword [esp + 8]
test eax, eax
jne 0x652fed
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00471ac5
lea ecx, [0x6532c0]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x84], ecx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x9c], ebx
movzx ebx, byte [esp + 0xc8]
mov byte [esp + 0xa0], bl
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ebx, [0x653280]
mov dword [esp + 0x70], ebx
lea ebx, [esp + 0x50]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x78]
lea ebp, [esp + 0x70]
mov dword [esp], ebp
lea edx, [esp + 0x78]
call ebx
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0xc0]
mov ebp, dword [ebx + 0xac]
mov esi, dword [ebx + 0xb0]
cmp dword [esp + 0x50], ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp esi, ecx
setb cl
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebp
or ecx, esi
test cl, cl
jne 0x652fab
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x652eb2
mov eax, dword [eax + 0x84]
jmp 0x652ebe
lea ecx, [0x78bc44]
lea eax, [0x93ed20]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
lea eax, [0x6e0640]
mov dword [esp + 4], eax
lea eax, [0x93ed20]
mov dword [esp + 8], eax
call ecx
lea eax, [0x6eb580]
cmp dword [esp + 0xc], eax
jne 0x652eec
mov eax, dword [esp + 0x10]
jmp 0x652eee
xor eax, eax
nop
test eax, eax
je 0x652efd
mov ecx, dword [eax + 0x30]
test ecx, ecx
setne cl
jmp 0x652eff
xor ecx, ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov byte [esp + 0x68], 0
lea ebx, [0x653160]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x64], ebx
mov byte [esp + 0x68], cl
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x60]
mov dword [esp], ecx
lea edx, [esp + 0x78]
call eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0xdc]
mov ebx, dword [eax + 0xe4]
cmp ebx, ecx
ja 0x653147
mov edx, dword [eax + 0xd8]
mov eax, dword [eax + 0xe0]
sub eax, ebx
sub ecx, ebx
mov ebp, eax
neg eax
sar eax, 0x1f
and ebx, eax
lea eax, [edx + ebx]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
add esp, 0xbc
ret
mov eax, dword [0x9136c8]
mov ecx, dword [0x9136cc]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xbc
ret
mov ecx, dword [esp + 4]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00465f00
mov eax, dword [esp + 8]
lea ecx, [0x6db180]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
lea eax, [0x722948]
mov dword [esp], eax
mov dword [esp + 4], 0x17
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c2050
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xbc
ret
mov ecx, dword [esp + 4]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00465f00
mov eax, dword [esp + 8]
lea ecx, [0x6db180]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
lea eax, [0x721ff9]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c2050
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xbc
ret
mov eax, ebx
call fcn.00471910
call fcn.00471910
nop
call fcn.00470430
jmp fcn.00652900