Function at 0x5f9700
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x5f99c6
sub esp, 0xac
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov dword [esp], ecx
mov byte [esp + 4], 1
call fcn.005e9e30
mov eax, dword [esp + 8]
test eax, eax
jne 0x5f98a2
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005ede60
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f9889
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x6eada0]
cmp eax, edx
jne 0x5f9782
mov ebx, ecx
jmp 0x5f9789
mov ebx, ecx
mov ecx, 0
mov dword [esp + 0x58], ecx
jne 0x5f97f4
mov eax, dword [esp + 0xb0]
lea esi, [eax + 0x18]
mov dword [esp + 0x64], esi
lea edi, [esp + 0x68]
call fcn.00471f5e
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
lea edi, [esp]
lea esi, [esp + 0x68]
call fcn.00471f5e
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.0061a630
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
cmp dword [ecx + 4], eax
jne 0x5f98bb
mov edx, dword [esp + 0x40]
mov ebx, dword [ecx]
xor ebp, ebp
xor esi, esi
jmp 0x5f9919
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005eccf0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xa0], eax
lea eax, [0x6eada0]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa8], eax
lea eax, [0x731fb4]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x9c]
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 + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xac
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xac
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xac
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.005eccf0
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x72d0d6]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
add esp, 0xac
ret
movzx edi, byte [edx + ebp]
movzx ecx, byte [ebx + ebp]
xor edi, ecx
inc ebp
or esi, edi
mov ecx, dword [esp + 0x58]
cmp ebp, eax
jl 0x5f9908
xchg esi, eax
movzx ebx, al
xchg esi, eax
dec ebx
shr ebx, 0x1f
nop
cmp ebx, 1
jne 0x5f98bb
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], eax
lea eax, [0x78b624]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x78aef0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
call fcn.00615de0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5f99ad
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jg 0x5f9971
mov ecx, eax
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x54]
cmp eax, edx
je 0x5f9990
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004721c0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0xac
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xac
ret
call fcn.00470430
jmp fcn.005f9700