Function at 0x5e11d0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov eax, esp
sub eax, 0x137c
jb 0x5e192d
cmp eax, dword [ecx + 8]
jbe 0x5e192d
sub esp, 0x13fc
mov eax, dword [esp + 0x1400]
test eax, eax
jne 0x5e1214
lea eax, [0x6f6ca0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x13f8], eax
mov ecx, dword [esp + 0x1404]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.005dcd70
lea edi, [esp + 0x604]
lea esi, [esp + 0xc]
call fcn.00471f40
mov eax, dword [esp + 0x13f8]
test byte [eax], al
xor ecx, ecx
jmp 0x5e125a
inc ecx
cmp cl, 3
jae 0x5e126d
mov byte [esp + 0x602], cl
xor edx, edx
jmp 0x5e18aa
xor ecx, ecx
xor edx, edx
jmp 0x5e132c
mov dword [esp + 0x1258], ecx
mov byte [esp + 0x603], dl
lea eax, [esp + 0x624]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
mov byte [esp + 0xc], dl
call fcn.005e3150
mov eax, dword [esp + 0x1258]
shl eax, 9
mov edx, dword [esp + 0x13f8]
lea eax, [eax + edx + 0x2160]
mov dword [esp + 0x13f4], eax
lea edi, [esp + 0x1044]
lea esi, [esp + 0x10]
call fcn.00471ae0
lea edi, [esp]
lea esi, [esp + 0x1044]
call fcn.00471ae0
call fcn.005e34f0
lea edi, [esp + 0x1044]
lea esi, [esp + 0x200]
call fcn.00471ae0
mov edi, dword [esp + 0x13f4]
lea esi, [esp + 0x1044]
call fcn.00471ae0
mov eax, dword [esp + 0x1258]
lea ecx, [eax + 1]
movzx eax, byte [esp + 0x603]
lea edx, [eax + 1]
mov eax, dword [esp + 0x13f8]
cmp ecx, 3
jl 0x5e1276
lea edi, [esp + 0xa44]
mov ecx, 0x180
mov ebx, eax
xor eax, eax
rep stosd dword es:[edi], eax
xor ecx, ecx
jmp 0x5e13ff
mov dword [esp + 0x1254], ecx
mov byte [esp + 0x603], dl
lea eax, [esp + 0x624]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
mov byte [esp + 0xc], dl
call fcn.005e3150
mov eax, dword [esp + 0x1254]
shl eax, 9
lea eax, [esp + eax + 0xa44]
mov dword [esp + 0x13f4], eax
lea edi, [esp + 0x1044]
lea esi, [esp + 0x10]
call fcn.00471ae0
lea edi, [esp]
lea esi, [esp + 0x1044]
call fcn.00471ae0
call fcn.005e34f0
lea edi, [esp + 0x1044]
lea esi, [esp + 0x200]
call fcn.00471ae0
mov edi, dword [esp + 0x13f4]
lea esi, [esp + 0x1044]
call fcn.00471ae0
mov eax, dword [esp + 0x1254]
lea ecx, [eax + 1]
movzx eax, byte [esp + 0x603]
lea edx, [eax + 1]
xor eax, eax
mov ebx, dword [esp + 0x13f8]
cmp ecx, 3
jl 0x5e134e
xor ecx, ecx
jmp 0x5e140f
lea ecx, [edx + 1]
cmp ecx, 3
jge 0x5e1441
mov dword [esp + 0x1250], ecx
mov edx, ecx
shl ecx, 9
lea edi, [ecx + ebx + 0x960]
mov dword [esp + 0x13f4], edi
lea esi, [esp + ecx + 0xa44]
call fcn.00471ae0
xor ecx, ecx
jmp 0x5e176d
mov ecx, ebx
xor edx, edx
mov ebp, 0x960
xor esi, esi
jmp 0x5e14cd
mov dword [esp + 0x124c], edx
mov dword [esp + 0x125c], esi
shl edx, 9
lea edx, [edx + ecx + 0x2160]
lea edi, [esp + 0x1044]
mov esi, edx
call fcn.00471ae0
lea ecx, [0x789d98]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x125c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
lea edi, [esp + 0x10]
lea esi, [esp + 0x1044]
call fcn.00471ae0
call fcn.005e3b40
mov eax, dword [esp + 0x124c]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x210]
mov esi, dword [esp + 0x214]
mov ebp, dword [esp + 0x218]
xor eax, eax
mov ecx, dword [esp + 0x13f8]
cmp edx, 3
jl 0x5e144e
xor edx, edx
jmp 0x5e1552
mov dword [esp + 0x1248], edx
shl edx, 9
lea edx, [edx + ecx + 0x960]
lea edi, [esp + 0x1044]
mov esi, edx
call fcn.00471ae0
lea ecx, [0x789d98]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x125c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
lea edi, [esp + 0x10]
lea esi, [esp + 0x1044]
call fcn.00471ae0
call fcn.005e3b40
mov eax, dword [esp + 0x1248]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x210]
mov esi, dword [esp + 0x214]
mov ebp, dword [esp + 0x218]
xor eax, eax
mov ecx, dword [esp + 0x13f8]
mov dword [esp + 0x125c], esi
cmp edx, 3
jl 0x5e14da
lea edx, [esi + 0x20]
cmp ebp, edx
jae 0x5e159e
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0x20
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x125c]
mov dword [esp + 0x1260], ebp
mov dword [esp + 0x125c], edx
mov dword [esp + 0x13f0], ebx
lea eax, [ebx + esi]
mov dword [esp], eax
lea eax, [esp + 0x604]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
call fcn.004721c0
nop
nop
nop
lea edi, [esp + 0x1268]
xor eax, eax
call fcn.00471a6e
mov dword [esp + 0x1330], 0x88
mov dword [esp + 0x13e8], 0x20
mov byte [esp + 0x1334], 6
mov ecx, dword [esp + 0x125c]
cmp ecx, 0x480
jb 0x5e173a
lea eax, [esp + 0x1268]
mov dword [esp], eax
mov edx, dword [esp + 0x1260]
lea ebx, [edx - 0x480]
lea ebp, [ecx - 0x480]
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, 0x480
mov edi, dword [esp + 0x13f0]
add ebx, edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call fcn.005e0b50
lea eax, [esp + 0x1268]
mov dword [esp], eax
mov eax, dword [esp + 0x13f0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x125c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1260]
mov dword [esp + 0xc], eax
call fcn.005e0f00
mov eax, dword [esp + 0x1408]
test byte [eax], al
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ebx, [ecx + 0x20]
mov ebp, dword [esp + 0x10]
cmp edx, ebx
jae 0x5e16e2
mov dword [esp + 0x125c], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x20
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1408]
mov ecx, dword [esp + 0x125c]
mov dword [esp + 0x125c], ebx
add ecx, ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
call fcn.004721c0
mov eax, dword [esp + 0x125c]
cmp eax, 0x960
jne 0x5e1722
mov eax, dword [esp + 0x13f8]
mov dword [esp + 0x140c], eax
add esp, 0x13fc
ret
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a768]
mov dword [esp + 4], eax
call fcn.0046a9e0
mov eax, 0x480
call fcn.00471910
mov edi, dword [esp + 0x13f4]
lea esi, [esp + 0x1044]
call fcn.00471ae0
mov ecx, dword [esp + 0x1244]
inc ecx
mov edx, dword [esp + 0x1250]
mov ebx, dword [esp + 0x13f8]
cmp ecx, 3
jge 0x5e140c
lea ebp, [edx + edx*2]
add ebp, ecx
cmp ebp, 9
jae 0x5e1876
mov dword [esp + 0x1244], ecx
shl ebp, 9
lea esi, [ebp + ebx + 0xf60]
lea edi, [esp + 0x1044]
call fcn.00471ae0
mov eax, dword [esp + 0x1244]
shl eax, 9
lea esi, [eax + ebx + 0x2160]
lea edi, [esp + 0x844]
call fcn.00471ae0
lea edi, [esp]
lea esi, [esp + 0x1044]
call fcn.00471ae0
lea edi, [esp + 0x200]
lea esi, [esp + 0x844]
call fcn.00471ae0
call fcn.005e3360
lea edi, [esp + 0x1044]
lea esi, [esp + 0x400]
call fcn.00471ae0
lea edi, [esp + 0x844]
mov esi, dword [esp + 0x13f4]
call fcn.00471ae0
lea edi, [esp + 0x644]
lea esi, [esp + 0x1044]
call fcn.00471ae0
lea edi, [esp + 0x1044]
xor eax, eax
call fcn.00471a50
xor ecx, ecx
jmp 0x5e1869
movzx edx, word [esp + ecx*2 + 0x844]
movzx ebx, word [esp + ecx*2 + 0x644]
lea ebp, [edx + ebx]
lea edx, [ebx + edx - 0xd01]
shr dx, 0xf
imul edx, edx, 0xd01
lea edx, [edx + ebp - 0xd01]
lea ebx, [ecx + 1]
nop
mov word [esp + ecx*2 + 0x1044], dx
mov ecx, ebx
cmp ecx, 0x100
jl 0x5e1830
jmp 0x5e1744
mov eax, ebp
mov ecx, 9
call fcn.004718b0
shl ecx, 9
mov ebx, dword [esp + 0x13f8]
lea edi, [ecx + ebx + 0xf60]
lea esi, [esp + 0x1044]
call fcn.00471ae0
inc edx
mov eax, ebx
movzx ecx, byte [esp + 0x602]
cmp dl, 3
jae 0x5e1259
mov byte [esp + 0x601], dl
lea eax, [esp + 0x604]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x40
mov byte [esp + 0xc], dl
mov byte [esp + 0xd], cl
call fcn.005e3910
movzx eax, byte [esp + 0x602]
lea ecx, [eax + eax*2]
movzx edx, byte [esp + 0x601]
add ecx, edx
movzx ecx, cl
mov dword [esp + 0x1264], ecx
lea edi, [esp + 0x1044]
lea esi, [esp + 0x10]
call fcn.00471ae0
mov ecx, dword [esp + 0x1264]
cmp ecx, 9
jb 0x5e1882
mov eax, ecx
mov ecx, 9
call fcn.004718b0
nop
call fcn.00470430
jmp fcn.005e11d0