Function at 0x5a9660
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb4]
cmp eax, dword [ecx + 8]
jbe 0x5a9a39
sub esp, 0x134
lea edi, [esp + 0xf4]
xor eax, eax
call fcn.00471ac6
lea ecx, [esp + 0xf4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x140]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x144]
mov dword [esp + 0xc], ebx
call fcn.005880d0
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5a99e7
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x124], ecx
lea edi, [esp + 0xcc]
xor eax, eax
call fcn.00471ac6
nop
lea ecx, [esp + 0xcc]
mov dword [esp], ecx
mov edx, dword [esp + 0x124]
mov dword [esp + 4], edx
call fcn.00589db0
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.00471ac6
mov ecx, dword [0x91ed88]
lea edx, [esp + 0xa4]
mov dword [esp], edx
lea edx, [esp + 0xcc]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00587b10
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x130], ecx
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00471ac6
mov ecx, dword [0x91ed8c]
nop
lea edx, [esp + 0x7c]
mov dword [esp], edx
lea ebx, [esp + 0xcc]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.005893c0
mov ecx, dword [0x91ed88]
lea edx, [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00587a60
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x12c], ecx
lea edi, [esp + 0x54]
xor eax, eax
call fcn.00471ac6
lea ecx, [esp + 0x54]
mov dword [esp], ecx
mov ecx, dword [esp + 0x130]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 8], ecx
call fcn.00588f00
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5a99a0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x128], ecx
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.00471ac6
mov ecx, dword [0x91353c]
lea edx, [esp + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x128]
mov dword [esp + 8], ecx
call fcn.00587b10
mov ecx, dword [esp + 0x140]
cmp ecx, 0x1f
jbe 0x5a9a2e
mov eax, dword [esp + 0x13c]
movzx eax, byte [eax + 0x1f]
shr al, 7
movzx eax, al
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x120], ecx
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [esp + 0x128]
mov ebp, dword [esi]
mov dword [esp + 0x28], ebp
mov edi, dword [esi + 4]
sar eax, 0x1f
nop
xor ecx, ecx
mov ebp, dword [esp + 0x20]
sub ecx, ebp
mov dword [esp + 0x1c], ecx
mov ebp, 0
sbb ebp, eax
mov dword [esp + 0x24], ebp
and edx, ecx
and ebx, ebp
mov eax, ecx
not ecx
xchg ebp, ebx
not ebx
xchg ebp, ebx
and edi, ebp
or ebx, edi
mov edi, ebp
mov ebp, dword [esp + 0x28]
and ebp, ecx
or edx, ebp
mov dword [esi], edx
mov dword [esi + 4], ebx
mov edx, dword [esp + 0x120]
mov ebx, dword [edx + 8]
and ebx, eax
mov ebp, dword [edx + 0xc]
mov eax, dword [esp + 0x24]
and ebp, eax
mov eax, dword [esi + 8]
and eax, ecx
or eax, ebx
mov ebx, dword [esi + 0xc]
mov dword [esi + 8], eax
and ebx, edi
or ebx, ebp
mov dword [esi + 0xc], ebx
mov eax, dword [edx + 0x10]
mov ebx, dword [esp + 0x1c]
and eax, ebx
mov ebp, dword [edx + 0x14]
mov ebx, dword [esp + 0x24]
and ebp, ebx
mov ebx, dword [esi + 0x10]
and ebx, ecx
or ebx, eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x10], ebx
and eax, edi
or eax, ebp
mov dword [esi + 0x14], eax
mov eax, dword [edx + 0x18]
mov ebx, dword [esp + 0x1c]
and eax, ebx
mov ebp, dword [edx + 0x1c]
mov ebx, dword [esp + 0x24]
and ebp, ebx
mov ebx, dword [esi + 0x18]
and ebx, ecx
or ebx, eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x18], ebx
and eax, edi
or eax, ebp
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x20]
mov ebx, dword [esp + 0x1c]
and ebx, eax
mov eax, dword [edx + 0x24]
mov edx, dword [esp + 0x24]
and edx, eax
mov eax, dword [esi + 0x20]
and ecx, eax
or ecx, ebx
mov eax, dword [esi + 0x24]
mov dword [esi + 0x20], ecx
and edi, eax
or edi, edx
mov dword [esi + 0x24], edi
mov edi, dword [esp + 0x138]
lea eax, [edi + 0x28]
lea ecx, [edi + 0x50]
mov dword [esp + 0x11c], ecx
lea edx, [edi + 0x78]
call fcn.00471f7c
mov edi, eax
mov esi, dword [esp + 0x124]
call fcn.00471f7c
mov esi, dword [0x913540]
mov edi, dword [esp + 0x11c]
call fcn.00471f7c
nop
mov dword [esp], edx
mov eax, dword [esp + 0x128]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 8], eax
call fcn.005893c0
mov eax, dword [esp + 0x138]
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
add esp, 0x134
ret
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x24
lea ecx, [0x72a031]
mov dword [eax], ecx
mov dword [esp + 0x148], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x150], eax
add esp, 0x134
ret
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x72cd68]
mov dword [eax], ecx
mov dword [esp + 0x148], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x150], eax
add esp, 0x134
ret
mov eax, 0x1f
call fcn.004718b0
nop
call fcn.00470430
jmp fcn.005a9660