Function at 0x5f20e0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f2681
sub esp, 0x78
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.00471ac5
mov ecx, dword [esp + 0x44]
nop
mov byte [esp + 0x27], 0
test ecx, ecx
jne 0x5f2668
movzx eax, byte [esp + 0x40]
test al, al
je 0x5f215c
mov eax, dword [esp + 0x38]
inc eax
lea ecx, [esp + 0x2c]
cmp dword [ecx + 0x10], eax
jge 0x5f215c
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x72fbd1]
mov dword [eax], ecx
lea edx, [0x78aa3c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
jmp 0x5f21c7
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x34]
cmp eax, edx
jae 0x5f21a5
mov dword [esp + 0x28], ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
movzx ebp, byte [esp + 0x27]
xchg ebp, eax
mov byte [ebx + ecx], al
xchg ebp, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
lea ecx, [0x72fbd1]
lea edx, [0x78aa3c]
movzx eax, word [esp + 0x7e]
rol ax, 8
nop
mov word [esp + 0x25], ax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5f22e3
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x5f2650
mov eax, dword [esp + 0x38]
add eax, 2
cmp eax, 2
jge 0x5f222f
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x7256d4]
mov dword [eax], ecx
lea edx, [0x78aa3c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
lea ecx, [0x72fbd1]
movzx eax, byte [esp + 0x40]
test al, al
je 0x5f2279
mov eax, dword [esp + 0x38]
add eax, 2
lea ebx, [esp + 0x2c]
cmp dword [ebx + 0x10], eax
jge 0x5f2279
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x72fbd1]
mov dword [eax], ecx
lea edx, [0x78aa3c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
jmp 0x5f22e3
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + 2]
mov esi, dword [esp + 0x34]
cmp eax, ebp
jae 0x5f22ce
mov dword [esp + 0x28], ebx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [0x72fbd1]
lea edx, [0x78aa3c]
mov ebx, dword [esp + 0x28]
movzx edi, word [esp + 0x25]
mov word [esi + ebx], di
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], esi
movzx eax, word [esp + 0x80]
rol ax, 8
nop
mov word [esp + 0x23], ax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5f2402
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x5f2638
mov eax, dword [esp + 0x38]
add eax, 2
cmp eax, 2
jge 0x5f234e
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x7256d4]
mov dword [eax], ecx
lea edx, [0x78aa3c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
lea ecx, [0x72fbd1]
movzx eax, byte [esp + 0x40]
test al, al
je 0x5f2398
mov eax, dword [esp + 0x38]
add eax, 2
lea ebx, [esp + 0x2c]
cmp dword [ebx + 0x10], eax
jge 0x5f2398
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x72fbd1]
mov dword [eax], ecx
lea edx, [0x78aa3c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
jmp 0x5f2402
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + 2]
mov esi, dword [esp + 0x34]
cmp eax, ebp
jae 0x5f23ed
mov dword [esp + 0x28], ebx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [0x72fbd1]
lea edx, [0x78aa3c]
mov ebx, dword [esp + 0x28]
movzx edi, word [esp + 0x23]
mov word [esi + ebx], di
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], esi
nop
movzx eax, byte [esp + 0x7c]
mov byte [esp + 0x22], al
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5f250f
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x5f2620
mov eax, dword [esp + 0x38]
inc eax
test eax, eax
jg 0x5f2468
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x7256d4]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
lea ecx, [0x72fbd1]
lea edx, [0x78aa3c]
movzx eax, byte [esp + 0x40]
test al, al
je 0x5f24b0
mov eax, dword [esp + 0x38]
inc eax
lea ebx, [esp + 0x2c]
cmp dword [ebx + 0x10], eax
jge 0x5f24b0
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x72fbd1]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
jmp 0x5f250f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x34]
cmp eax, edx
jae 0x5f24f9
mov dword [esp + 0x28], ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
movzx ebp, byte [esp + 0x22]
xchg ebp, eax
mov byte [ebx + ecx], al
xchg ebp, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x74], 0
lea eax, [0x5f2850]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 2
mov byte [esp + 8], 0
lea eax, [esp + 0x68]
mov dword [esp + 0xc], eax
call fcn.005a6290
mov dword [esp + 0x64], 0
lea eax, [0x5f2690]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 2
mov byte [esp + 8], 0
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
call fcn.005a6290
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5f25cd
mov ecx, dword [esp + 0x30]
xor ebp, ebp
mov ebx, ecx
xor edx, edx
xor ecx, ecx
jmp 0x5f25f4
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
cmp eax, ecx
ja 0x5f261b
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
sub ecx, eax
add edx, ebx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ebx
add esp, 0x78
ret
call fcn.00471910
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a4f8]
mov dword [esp + 4], eax
call fcn.0046a9e0
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a4f8]
mov dword [esp + 4], eax
call fcn.0046a9e0
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a4f8]
mov dword [esp + 4], eax
call fcn.0046a9e0
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a4f8]
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.005f20e0