Function at 0x5dba60
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5dbfa7
sub esp, 0x58
lea eax, [0x71baee]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.004bd9e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x5dba99
mov ecx, ebx
test ecx, ecx
je 0x5dbcc4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], eax
nop
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x2c
call fcn.00402e00
mov ecx, dword [esp + 0xc]
test ecx, ecx
jge 0x5dbad2
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
xor eax, eax
jmp 0x5dbafb
mov edx, dword [esp + 0x18]
cmp edx, ecx
jb 0x5dbfa1
lea eax, [ecx + 1]
cmp edx, eax
jb 0x5dbf9a
sub edx, ecx
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x4c]
add eax, edx
cmp ecx, 4
jl 0x5dba97
cmp dword [edx], 0x2e757063
jne 0x5dba97
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], eax
nop
nop
mov dword [esp], edx
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x3d
call fcn.00402e00
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x5dbc6d
mov edx, dword [esp + 0x14]
cmp edx, ecx
jb 0x5dbf95
cmp ecx, 4
jb 0x5dbf8b
lea ebx, [ecx - 4]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 4
lea eax, [ecx + 1]
mov esi, ebp
mov ebp, dword [esp + 0x4c]
lea edi, [ebp + ebx]
cmp edx, eax
jb 0x5dbf84
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], edi
sub edx, ecx
lea esi, [edx - 1]
mov dword [esp + 0x10], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and eax, esi
lea esi, [ebp + eax]
mov dword [esp + 0x34], esi
cmp edx, 3
jne 0x5dbb9c
cmp word [esi], 0x6e6f
je 0x5dbbb1
jmp 0x5dbbec
cmp edx, 4
jne 0x5dbbec
cmp word [esi], 0x666f
jne 0x5dbbec
lea eax, [ebp + eax + 2]
cmp byte [eax], 0x66
jne 0x5dbbec
cmp ecx, 7
jne 0x5dbbd3
cmp word [edi], 0x6c61
jne 0x5dbbd3
lea ebx, [ebp + ebx + 2]
cmp byte [ebx], 0x6c
jne 0x5dbbd3
mov ebx, dword [0x91f0f4]
xor eax, eax
jmp 0x5dbf1b
mov dword [esp + 0x28], edx
mov ebx, dword [0x91f0f4]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x2c]
xor eax, eax
jmp 0x5dbdff
call fcn.00437f30
lea eax, [0x723b7a]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00438790
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x728159]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00438790
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x71b275]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438790
call fcn.00437f90
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
jmp 0x5dba97
call fcn.00437f30
lea eax, [0x72c374]
mov dword [esp], eax
mov dword [esp + 4], 0x29
call fcn.00438790
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x71b275]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438790
call fcn.00437f90
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
jmp 0x5dba97
mov eax, dword [0x91f0f0]
mov ecx, dword [0x91f0f4]
jmp 0x5dbcdc
add eax, 0x10
mov edx, dword [esp + 0x30]
lea ecx, [edx - 1]
test ecx, ecx
jle 0x5dbdf4
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x38]
mov esi, eax
call fcn.00471fb8
movzx ecx, byte [esp + 0x44]
test cl, cl
je 0x5dbcd2
mov dword [esp + 0x50], eax
movzx ecx, byte [esp + 0x45]
test cl, cl
je 0x5dbd7d
mov edx, dword [esp + 0x40]
movzx edx, byte [edx]
test dl, dl
je 0x5dbd1a
test cl, cl
jne 0x5dbd86
jmp 0x5dbd7d
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
call fcn.00437f30
lea eax, [0x728c3f]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00438790
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x723216]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00438790
call fcn.00437f90
mov eax, dword [esp + 0x50]
jmp 0x5dbcd2
movzx edx, byte [esp + 0x46]
test dl, dl
jne 0x5dbd91
mov edx, dword [esp + 0x40]
mov byte [edx], cl
jmp 0x5dbcd2
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
call fcn.00437f30
lea eax, [0x72929e]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.00438790
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x723b92]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00438790
call fcn.00437f90
mov eax, dword [esp + 0x50]
jmp 0x5dbcd2
add esp, 0x58
ret
lea eax, [esi + 1]
mov edx, dword [esp + 0x28]
cmp eax, ebx
jge 0x5dbeaa
mov ecx, dword [0x91f0f4]
cmp eax, ecx
jae 0x5dbf0b
mov esi, eax
shl eax, 4
mov ecx, dword [0x91f0f0]
mov edx, dword [ecx + eax + 4]
mov ecx, dword [ecx + eax]
cmp edx, ebp
jne 0x5dbdf8
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.00402d90
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5dbe5e
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x48]
jmp 0x5dbdf8
mov ecx, dword [0x91f0f4]
mov eax, dword [esp + 0x20]
cmp eax, ecx
jae 0x5dbf06
mov edx, dword [0x91f0f0]
mov ebx, dword [esp + 0x1c]
mov byte [edx + ebx + 0xc], 1
mov ecx, dword [0x91f0f4]
cmp eax, ecx
jae 0x5dbf01
mov ecx, dword [esp + 0x28]
cmp ecx, 3
sete cl
mov edx, dword [0x91f0f0]
mov byte [edx + ebx + 0xd], cl
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
jmp 0x5dba97
call fcn.00437f30
lea eax, [0x72b131]
mov dword [esp], eax
mov dword [esp + 4], 0x26
call fcn.00438790
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00438790
lea eax, [0x71b275]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00438790
call fcn.00437f90
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
jmp 0x5dba97
call fcn.004718b0
call fcn.004718b0
call fcn.004718b0
mov esi, dword [0x91f0f0]
mov byte [esi + ebp + 0xd], cl
inc eax
cmp eax, ebx
jge 0x5dbf66
mov ecx, dword [0x91f0f4]
cmp eax, ecx
jae 0x5dbf7f
mov ebp, eax
shl ebp, 4
mov ecx, dword [0x91f0f0]
mov byte [ecx + ebp + 0xc], 1
cmp edx, 3
jne 0x5dbf45
mov ecx, 1
jmp 0x5dbf5a
mov ecx, dword [0x91f0f4]
cmp eax, ecx
jae 0x5dbf7a
mov ecx, dword [0x91f0f0]
movzx ecx, byte [ecx + ebp + 0xe]
mov esi, dword [0x91f0f4]
cmp eax, esi
jb 0x5dbf10
jmp 0x5dbf73
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
jmp 0x5dba97
mov ecx, esi
call fcn.004718b0
call fcn.004718b0
call fcn.004718b0
mov ecx, edx
call fcn.00471910
mov eax, 4
call fcn.00471910
call fcn.004718d0
mov ecx, edx
call fcn.00471910
call fcn.004718d0
nop
call fcn.00470430
jmp fcn.005dba60