Function at 0x4f1720
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb0]
cmp eax, dword [ecx + 8]
jbe 0x4f1aee
sub esp, 0x130
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00471a8f
mov ecx, dword [esp + 0x134]
movzx edx, byte [ecx + 0x18]
cmp dl, 2
jae 0x4f176d
mov edx, dword [0x913de0]
mov ebx, dword [0x913de4]
jmp 0x4f17ad
jbe 0x4f177d
mov edx, dword [0x913de8]
mov ebx, dword [0x913dec]
jmp 0x4f17ad
mov byte [ecx + 0x24], 0
movzx edx, word [ecx + 0x10]
cmp dword [ecx + 0x20], edx
jne 0x4f17a9
mov dword [ecx + 0x20], 0
movzx ebp, byte [ecx + 0x18]
inc ebp
xchg ebp, eax
mov byte [ecx + 0x18], al
xchg ebp, eax
mov edx, dword [0x913de8]
mov ebx, dword [0x913dec]
jmp 0x4f17ad
xor edx, edx
xor ebx, ebx
test edx, edx
jne 0x4f1ab2
lea edi, [esp + 0x22]
call fcn.00471a90
mov ecx, dword [esp + 0x134]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov esi, dword [ecx + 0x1c]
lea ecx, [esp + 0x22]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.004f3ae0
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4f1a1a
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x134]
mov ecx, dword [edx + 4]
lea ebx, [eax + 2]
mov ebp, dword [edx]
cmp ecx, ebx
jge 0x4f1825
mov ebx, dword [0x913df0]
mov esi, dword [0x913df4]
mov edi, esi
mov esi, ebx
mov ebx, eax
xor eax, eax
jmp 0x4f1844
cmp ecx, eax
jbe 0x4f1ae8
lea esi, [eax + 1]
cmp ecx, esi
jbe 0x4f1ae1
movzx eax, word [eax + ebp]
rol ax, 8
xor esi, esi
xor edi, edi
test esi, esi
jne 0x4f1986
lea esi, [ebx + 2]
nop
cmp ecx, esi
jge 0x4f1868
mov ecx, dword [0x913df0]
mov ebp, dword [0x913df4]
mov esi, ebx
mov ebx, ecx
xor ecx, ecx
jmp 0x4f1887
cmp ebx, ecx
jae 0x4f1ada
lea edi, [ebx + 1]
cmp ecx, edi
jbe 0x4f1ad3
movzx ecx, word [ebx + ebp]
rol cx, 8
xor ebx, ebx
xor ebp, ebp
test ebx, ebx
je 0x4f1923
mov dword [esp + 0x128], ebp
mov dword [esp + 0x124], ebx
lea eax, [0x6ef880]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x18
lea ecx, [0x723b02]
mov dword [eax], ecx
mov ecx, dword [esp + 0x124]
mov dword [eax + 8], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x4f18db
mov ecx, dword [esp + 0x128]
jmp 0x4f18e9
call fcn.00471830
mov ecx, dword [esp + 0x128]
mov dword [edi], ecx
mov dword [esp + 0x12c], eax
mov dword [eax + 0xc], ecx
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00471a8f
lea ecx, [0x78b250]
mov dword [esp + 0x23c], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x240], ecx
add esp, 0x130
ret
mov word [esp + 0x122], cx
mov dword [edx + 0x1c], esi
inc dword [edx + 0x20]
lea edi, [esp + 0x138]
mov edx, eax
xor eax, eax
call fcn.00471a8f
lea edi, [esp + 0x138]
lea esi, [esp + 0x22]
call fcn.00471d60
mov word [esp + 0x238], dx
movzx ecx, word [esp + 0x122]
mov word [esp + 0x23a], cx
mov dword [esp + 0x23c], 0
mov dword [esp + 0x240], 0
add esp, 0x130
ret
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], esi
lea eax, [0x6ef880]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x7232e5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x124]
mov dword [eax + 8], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x4f19d2
mov ecx, dword [esp + 0x128]
jmp 0x4f19e0
call fcn.00471830
mov ecx, dword [esp + 0x128]
mov dword [edi], ecx
mov dword [esp + 0x12c], eax
mov dword [eax + 0xc], ecx
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00471a8f
lea ecx, [0x78b250]
mov dword [esp + 0x23c], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x240], ecx
add esp, 0x130
ret
mov dword [esp + 0x124], ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x128], eax
lea ecx, [0x6ef880]
mov dword [esp], ecx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x7232ce]
mov dword [eax], ecx
mov ecx, dword [esp + 0x124]
mov dword [eax + 8], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x4f1a6a
mov ecx, dword [esp + 0x128]
jmp 0x4f1a78
call fcn.00471830
mov ecx, dword [esp + 0x128]
mov dword [edi], ecx
mov dword [esp + 0x12c], eax
mov dword [eax + 0xc], ecx
lea edi, [esp + 0x138]
xor eax, eax
call fcn.00471a8f
lea ecx, [0x78b250]
mov dword [esp + 0x23c], ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x240], ecx
add esp, 0x130
ret
lea edi, [esp + 0x138]
call fcn.00471a8f
mov dword [esp + 0x23c], edx
mov dword [esp + 0x240], ebx
add esp, 0x130
ret
mov eax, edi
call fcn.004718b0
mov eax, ebx
call fcn.004718b0
mov eax, esi
call fcn.004718b0
call fcn.004718b0
nop
call fcn.00470430
jmp fcn.004f1720