Function at 0x664400
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x66484d
sub esp, 0x8c
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 2
call fcn.0061ccf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp dword [0x91400c], eax
jne 0x66448b
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 8]
mov edx, dword [0x914008]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00402d90
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6646df
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
cmp eax, 2
jl 0x6646be
test ecx, ecx
jne 0x6646a9
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00664330
movzx eax, byte [esp + 4]
test al, al
je 0x66466d
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 0x10]
lea edi, [esp + 0x48]
xor eax, eax
call fcn.00471acb
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0x7fffffff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 0x7fffffff
call fcn.0061fa80
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x6645fc
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 8]
test edx, edx
je 0x664716
mov ebx, dword [edx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x44], ecx
mov ebp, dword [esp + 0x14]
cmp ebx, 0xa28aa5f0
jne 0x664592
lea ebx, [0x714c00]
cmp edx, ebx
jne 0x664716
mov edx, dword [ecx + 0x58]
test edx, edx
je 0x664573
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00471ac4
lea ecx, [0x70dbe0]
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea edx, [esp + 0x5c]
mov dword [esp + 8], edx
call fcn.00467970
jmp 0x6647cc
mov eax, dword [0x93f150]
test eax, eax
je 0x66458a
call fcn.00471840
mov dword [edi], ebp
mov eax, dword [ecx + 0x58]
mov dword [edi + 4], eax
mov dword [ecx + 0x58], ebp
jmp 0x664716
cmp ebx, 0xebf45122
jne 0x664716
lea ebx, [0x705de0]
cmp edx, ebx
jne 0x664716
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x6645dd
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00471ac4
lea ecx, [0x70dbe0]
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea edx, [esp + 0x5c]
mov dword [esp + 8], edx
call fcn.00467970
jmp 0x664741
mov eax, dword [0x93f150]
test eax, eax
je 0x6645f4
call fcn.00471840
mov dword [edi], ebp
mov eax, dword [ecx + 0x40]
mov dword [edi + 4], eax
mov dword [ecx + 0x40], ebp
jmp 0x664716
mov eax, dword [esp + 0x1c]
cmp dword [0x913598], ecx
jne 0x664637
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], eax
mov edx, dword [0x91359c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
jne 0x66464c
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x8c
ret
mov eax, dword [0x9136e8]
mov ecx, dword [0x9136ec]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x8c
ret
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x72ec39]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x8c
ret
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
add esp, 0x8c
ret
mov eax, dword [0x9136e8]
mov ecx, dword [0x9136ec]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x8c
ret
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0061ce70
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x8c
ret
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x8c
ret
mov dword [eax], ecx
lea eax, [esp + 0x5c]
mov dword [esp], eax
call fcn.00467b60
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x664716
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 4]
mov dword [esp + 0x20], ebx
mov ebp, dword [edx + 8]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x44]
mov edi, dword [esi + 0x40]
mov edx, dword [edx]
mov dword [esp + 0x38], edx
lea esi, [0x70dbe0]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00469050
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x6647a9
mov ecx, dword [esp + 0x38]
jmp 0x664733
call fcn.00471840
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
jmp 0x664733
mov dword [eax], ecx
lea eax, [esp + 0x5c]
mov dword [esp], eax
call fcn.00467b60
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x664716
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 4]
mov dword [esp + 0x24], ebx
mov ebp, dword [edx + 8]
mov dword [esp + 0x2c], ebp
mov esi, dword [esp + 0x44]
mov edi, dword [esi + 0x58]
mov edx, dword [edx]
mov dword [esp + 0x3c], edx
lea esi, [0x70dbe0]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00469050
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x664838
mov ecx, dword [esp + 0x3c]
jmp 0x6647be
call fcn.00471840
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
jmp 0x6647be
call fcn.00470430
jmp fcn.00664400